I tried playing a .wav file using pyaudio. It works great on windows, but doesn\'t work in Ubuntu when another device is using sound.
The error is \"I
I'm not absolutely sure if that fulfills your requirements, but I immediately thought PyGame
http://www.pygame.org/docs/ref/mixer.html#pygame.mixer.Sound
from pygame import mixer mixer.init() s = mixer.Sound('sound.wav') s.play()