Re: [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-05-12 02:53:13
|
I've attached another small patch for the TruncateSilence effect. The previous behavior would truncate all final samples below the noise floor when the waveform ended with silence. This patch makes it retain the minimum silence duration worth of 'silent' samples at the end of the waveform, and also smoothly cross-fades that final cut point. Philip Van Baren -------------------------------------------------- From: "James Crook" <cr...@in...> Sent: Thursday, April 30, 2009 1:53 PM To: <aud...@li...> Subject: Re: [Audacity-devel] Patch for TruncateSilence effect > Patch now applied to CVS HEAD. > > --James. > > Philip Van Baren wrote: >> 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 > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel |