- sa.py
- Spectrum analyzer program for the microphone
- Digitizes, filters, and computes FFT of signals from a microphone
- Uses pyqtgraph instead of matplotlib, much faster, better interactoin with OS
- Works on osx, windows, linux
- Uses pyaudio callbacks to process signals as they are recorded by the microphone
- Must set the audio device index in the code for your machine
- chirp_pg.py
- Does above
- Plays chirps for the first 10 seconds, 1 per second
- computes correlation with initial chirp, plots in 3rd graph
- python3
- pyqtgraph
- pyaudio
- pyqt (not sure this will be included automatically by pyqtgraph)
- On mac, the soundcard may get hung... This commands resets it
sudo killall coreaudiod