[Audacity-devel] Patch for TruncateSilence effect
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Philip V. B. <pdv...@vi...> - 2009-04-29 00:51:31
|
Attached is a patch for the Truncate Silence effect. Changes are: 1) Can set a minimum and maximum silence duration, and compression factor for silence between these two values. The resulting silence duration is determined as (output) = ((min) + (input - min)/compression) with the constraint that output < max 2) If the section starts out with silence, that silence will be truncated to the minimum value 3) Handles silent sections which span block boundaries As an example, you can set the minimum to 100 ms, the maximum to 5000 ms, and the compression factor to 4:1, and it will have the result of about a 2x speedup in speech with no pitch change, and keeping about the same cadence as the original. Philip Van Baren |