I'm trying to put music in my game and I know some audio tracks are louder than others. I need to set a default volume. I looked at the documentation and it says this.
renpy.music.set_volume(volume, delay=0, channel=u'music')
Sets the volume of this channel, as a fraction of the volume of the mixer controlling the channel.
volume This is a number between 0.0 and 1.0, and is interpreted as a fraction of the mixer volume for the channel
so I used this:
renpy.music.set_volume
Then I tried putting my volume setting after it which in this case was 0.6
I tried using 0.6, =0.6, ="0.6" and (0.6)
all of which returned an error with a red arrow pointing either left or right.
If someone has experience with this please advise.
Thanks in advance.
renpy.music.set_volume(volume, delay=0, channel=u'music')
Sets the volume of this channel, as a fraction of the volume of the mixer controlling the channel.
volume This is a number between 0.0 and 1.0, and is interpreted as a fraction of the mixer volume for the channel
so I used this:
renpy.music.set_volume
Then I tried putting my volume setting after it which in this case was 0.6
I tried using 0.6, =0.6, ="0.6" and (0.6)
all of which returned an error with a red arrow pointing either left or right.
If someone has experience with this please advise.
Thanks in advance.