I've spent countless hours trying to figure this out, with no luck. I've searched the web as well and can't find an answer. I am currently working with my new RPi2, though I was also getting the same result on my RPi.
I downloaded PyAudio, but when I try to run the tests/examples, the audio is choppy, and ultimately stops playing anything, though it acts like it's still outputing sound. Playing the file via aplay or mpg123 works flawlessly, but I need to play it in Python and do some analysis on it.
Please help?!