documentation index ◦ reference manual ◦ function index
Function: | renpy.music.stop | (channel="music", fadeout=None): |
This stops the music that is currently playing on the named 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.
$ renpy.music.stop(channel="sound")