I'm having a problem using PyAudio on my Raspberry Pi.
All the samples seem to behave the same way and I've pinpointed the problem to this smallest snippet:
Code: Select all
import pyaudio
p = pyaudio.PyAudio()
Do you know what might be causing this?
Is there any way to get more information on why the segmentation fault is occurring?
I've tested recording and playing sound from the sound card with:
Code: Select all
arecord -D plughw:0,0 -f cd test.wav
aplay test.wav
Thank you.