Converts a wav file to a sequence of beep PC-speaker calls through frequency analysis using the fft transform.
- Install python, scipy and the beep packages.
- Download the script.
- Check the PC-speaker module is loaded1:
~$ modprobe pcspkr
- Run!
~$ python wavtobeep.py [-h] [-w TIME] [--verbose] [--silent] wav_file
~$ python wavtobeep.py monkey-island-sample.wav
[1] In case you don't have a PC Speaker (too bad!), you can hear the result of the automatic conversion here https://clyp.it/wsslu5xs