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
You can use wxPython
sound = wx.Sound('sound.wav') sound.Play(wx.SOUND_SYNC)
or
sound.Play(wx.SOUND_ASYNC)
Here is an example from the wxPython demo.