Hi,
Is there a way to control the volume of different speakers using pygame (or a python package that can be used together with pygame)?
3D placement would be great but just to be able to set different volume for two speakers would be sufficient.
http://www.pygame.org/docs/ref/mixer.html#Channel.play http://www.pygame.org/docs/ref/mixer.html#Channel.set_volume
import pygame pygame.mixer.init(44100) sound = pygame.mixer.Sound(/snds/mysnd.wav) # load it c = pygame.mixer.find_channel() # get a free channel c.set_volume(0.5, 0.5) # left and right chanel vol c.play(sound)
enrike