Reference Manual: (offline | online) Quickstart: (offline | online)

# renpy.music.set_volume

Function: renpy.music.set_volume( | volume, channel=7)

This sets the volume of the given channel. The volume is a number between 0 and 1.0, and is interpreted as a fraction of the mixer volume for the channel.

This value takes effect immediately, and is persistent through rollback, menu transitions, and game saves / loads.

## Example

    TODO

Reference Manual: (offline | online) Quickstart: (offline | online)