renpy.sound.set mixer - Ren'Py

documentation index ◦ reference manual ◦ function index

# renpy.sound.set_mixer

Function: | renpy.sound.set_mixer | (channel, mixer):

This sets the name of the mixer associated with a given channel. By default, there are two mixers, 'sfx' and 'music'. 'sfx' is on channels 0 to 2, and 'music' on 3 to 7. The voice module calls this function to set channel 2 to voice. You can create your own mixer, but will need to add a preference if you wish to allow the user to set it.

This function should only be called in an init block.

## Example

    TODO

documentation index ◦ reference manual ◦ function index