|
From: Ulrich K. <ul...@ch...> - 2013-01-13 14:18:08
|
Rainer M. Engel <en...@en...>: > I read about channels and rate (-c 2 -r 48000) but I do not know how to > create a wav file of a given length with empty channels. There is a special file "-n" that contains infinite silence on read (anything written to it will be discarded). You can use the "trim" effect to only get part of this infinity. Thus, sox -c 2 -r 48000 -n silence.wav trim 0 5:00 will give you five minutes of silence, in stereo. Ulrich |