renpy.music.stop - Ren'Py

documentation index ◦ reference manual ◦ function index

# renpy.music.stop

Function: | renpy.music.stop | (channel=7, fadeout=None):

This stops the music that is currently playing on the given (or default) channel, dequeues all queued music, and sets the last queued file to None.

fadeout - If None, the music is faded out for the time given in config.fade_music, otherwise it is faded for the given number of seconds.

## Example

    TODO

documentation index ◦ reference manual ◦ function index