Real time DFT plot in your terminal
This program shows in your terminal a real time DFT plot of your microphone, using a sampling frequency of 8000 Hz and 1024 samples per record. To run this program you need arecord installed, but it can be easily modified to run an arbitrary recording program.