Audio - gsalaman/pi_notes GitHub Wiki
To install:
sudo apt-get install python-pyaudio
There may be a conflict between the matrix and the straight audio jack...I'm using a USB dongle to mitigate.
To test:
lsusb
This will list all USB devices the Pi sees...and you should see that USB dongle. To see if the record/play functionality is working, you can:
arecord -l
arecord -D plight:1,0 -d 3 test.wav
aplay test.wav