SoX
Revision as of 18:41, 22 April 2009 by Michael Murtaugh (talk | contribs)
sox (Sound Exchange) is a handy command line tool for generating, manipulating, and applying simple filters to audio.
Synthesis
sox -c1 -r8000 -n -t wav - synth 0.25 sine 220 vol 0.7 > beep.wav sox -c1 -r8000 -n -t wav - synth 0.25 sine 220-440 vol 0.7 > sweep_up.wav sox -c1 -r8000 -n -t wav - synth 0.25 sine 440-220 vol 0.7 > sweep_down.wav sox -c1 -r8000 -n -t wav - synth 0.25 noise vol 0.7 > ch.wav sox -c1 -r8000 -n -t wav - synth 2.0 sine 220-1000 vol 0.7 > sweep_up_long.wav sox -c1 -r8000 -n -t wav - synth 2.0 sine 1000-220 vol 0.7 > sweep_down_long.wav sox -c1 -r8000 -n -t wav - synth 0.5 square 330 vol 0.7 > bleep.wav
Resources
sox on sourceforge http://sox.sourceforge.net/
CLI Magic: Transform your audio files with SoX http://www.linux.com/article.pl?sid=06/10/18/1435254