On 2017-10-24 18:41, David P wrote:
I would like to generate files of silence of specific durations, all at
16+kHz, 16bit wide, and single channel. After reading http://sox.
sourceforge.net/sox.html I believe the following command should do
that,
but instead it produces a tone:
sox --null --rate 16k --bits 16 --channels 1
"C:/Users/me/Desktop/silent19secs.wav"
synth trim 0.0 19.907625
Please tell me how to adjust this command.
The whole purpose of the 'synth' effect is to generate tones. Although
you didn't specify any parameters for that effect, it has defaults, so
will have done something.
I don't know why you put 'synth' there. The --null (sort of dummy
input file) is described as infinite silence, so I would have thought
that
sox --null --rate 16k --bits 16 --channels 1
"C:/Users/me/Desktop/silent19secs.wav" trim 0 19
might work.
--
Jeremy Nicoll - my opinions are my own
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users