On Mon, 25 Dec 2017, davidson wrote:
On Thu, 21 Dec 2017, Martin McCormick wrote:
I am not new to sox but I am asking to see if I have missed
something because a sox script I am using is mostly working but not
quite.
[...]
#! /bin/sh
sox -t .wav input.wav -t .wav output.wav silence -l 1 0 '-39d' -1 0.5 '-45d'
The field containing 0.5 which is the second-to-the-last field is
the only thing that does not work. The script records while there
is sound but the 0.5 seconds of blank recording after the sound
doesn't happen.
[...]
Instead, you ought to replace "0.5" with something like "0.5t" or
"0:00.5".
Disclaimer: I don't use sox, and have not tested the above advice. I
only read the manual.