A command-line tool for generating .wav files of variable frequency, sample rate, wave function, and more.
> make
> ./sound --help
usage: ./sound [-f|--file <file=stdout>]
[-a|--append <file>]
[-d|--duration <duration=1000>]
[-v|--volume <volume=33.333333>]
[-s|--sample-rate <sample-rate=44100]
[-w|--wave-function <wave=sine>]
[-o|--overtones <overtones=0>]
frequency [frequency ...]
- Install Sox
- Run:
./playsound -d 2000 -w triangle -o 2 -v 20 440 550 660