From: Martin G. <mar...@gm...> - 2025-05-08 17:51:24
|
On 29/04/25 17:31, Doug Lee wrote: > 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. You can probably achieve the same result by reversing the audio, silencing it with -l and reversing again but I wouldn't want to force people to do that; it should be a relatively simple change to make. https://codeberg.org/sox_ng/sox_ng/issues/465 Thanks for the suggestion! M This message was composed with Thunderbird, so if the lines are backwards or on top of each other, please apply the appropriate filters. |