renpy/doc/reference/functions/renpy.music.set music - Ren'Py

documentation index ◦ reference manual ◦ function index

# renpy.music.set_music

Function: | renpy.music.set_music | (channel, flag):

This should be called to indicate if the given channel should be treated as a music channel. If the flag is True, the channel will be treated as a music channel, if False, the channel will be treated as a sound effects channel. Please note that this will not change the mixer controlling the channel. Use renpy.sound.set_mixer to do that.

By default, channels 3-7 are considered music channels.

## Example

    TODO

documentation index ◦ reference manual ◦ function index