Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pygame.set_volume(2.0) max volume

very_quiet = 0.2
normal = 1
very_loud = 10

my_sound_channel.set_volume(very_quiet)
my_sound_channel.set_volume(normal)
my_sound_channel.set_volume(very_loud)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #max #volume
ADD COMMENT
Topic
Name
8+1 =