Tuesday, July 07, 2009

sox




To use sox to generate a .wav file with a series of tones of frequency 300, 400, 500 Hz each with a duration of 0.1 seconds:


sox -n out300.wav synth 0.1 sine 300
sox -n out400.wav synth 0.1 sine 400
sox -n out500.wav synth 0.1 sine 500
sox out300.wav out400.wav out500.wav out.wav