Page 1 of 1

Playing audio with PyAudio -- choppy

Posted: Thu Jun 11, 2015 11:17 pm
by smrtsmrf
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?!

Re: Playing audio with PyAudio -- choppy

Posted: Tue Jun 23, 2015 8:35 pm
by zgt
I am getting the same problem and I really need to use pyaudio :/
I'm using RPi_b+, python 2.7.3 and I already tried to use pyaudio 0.2.4 instead of 0.2.8 since a guy posted on this discussion (viewtopic.php?f=32&t=103190&p=715696&hi ... f8#p715696) that he uses that version and works fine... but I'm still having the same choppy audio...

Did you find how to fix it?