Silence with lead-in time kept?

Doug Lee <[email protected]> Tue, 29 Apr 2025 11:31:45 -0400
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
I keep forgetting to suggest this, and I know the silence effect has been discussed already a time or two, but...

I've often wanted silence to allow for a certain amount of sound prior to the end of a silence period to be
kept. silence -l handles the opposite, keeping sound after silence begins; so maybe -L?

silence -l -L.5 1 .2 1% -1 .2 1%

would keep 0.5 seconds of sound before each non-silent period. This avoids loss of lead-in sounds that,
while short, are definitely noticed by the ear - start of air flowing through a trumpet or pipe organ, the
consonant before a loud spoken vowel, etc.


-- 
Doug Lee                 [email protected]                http://www.dlee.org
"You must let me try, for a true soldier does not admit defeat before
the battle."
--Helen Keller (in a letter to the president of Radcliffe College)