/wavtobeep

Converts a wav file to a secuence of *beep* PC-speaker calls

Primary LanguagePythonMIT LicenseMIT

wavtobeep

Converts a wav file to a sequence of beep PC-speaker calls through frequency analysis using the fft transform.

Getting started

  1. Install python, scipy and the beep packages.
  2. Download the script.
  3. Check the PC-speaker module is loaded1: ~$ modprobe pcspkr
  4. Run! ~$ python wavtobeep.py [-h] [-w TIME] [--verbose] [--silent] wav_file

Lovely example included!

~$ python wavtobeep.py monkey-island-sample.wav

*Stan is happy with the PC Speaker version of his favourite song!*

[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