Ubuntu 14.04: portaudio19
$ sudo apt-get install portaudio19-dev
$ sudo pip install .
$ ./doppler-gestures.py <tone> <window>
tone is in Hz window is in Hz
Working example:
$ export PYTHONPATH=.
$ ./doppler-gestures.py --tone 20000 --window 500 --channels 2
Your speakers should be on rather high (no headphones) and your input/mic should also be on and at a high input gain.