Truncate Silence

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
mikeypam
Posts: 21
Joined: Fri Feb 08, 2019 1:39 am
Operating System: Windows 7

Truncate Silence

Post by mikeypam » Fri May 10, 2019 4:07 pm

I am using Audacity 2.3.1 on a windows 7 pc

I need to truncate silence in a portion of a document but not all of it. For example, I need to truncate all silence between .25 seconds and one second by 50% leaving silence below .25 seconds and above one second unaffected.

This was possible with an older version of audacity but is not available or perhaps has been moved and I cannot find it now. As a result, I have to split the audio and apply to each section which is very time consuming.

Can some help me with how to do this in the current version?

Mike

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Truncate Silence

Post by steve » Fri May 10, 2019 4:33 pm

In Audacity 2.3.1, "Truncate Silence" is still in the Effect menu: https://manual.audacityteam.org/man/tru ... lence.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mikeypam
Posts: 21
Joined: Fri Feb 08, 2019 1:39 am
Operating System: Windows 7

Re: Truncate Silence

Post by mikeypam » Fri May 10, 2019 8:30 pm

steve wrote:
Fri May 10, 2019 4:33 pm
In Audacity 2.3.1, "Truncate Silence" is still in the Effect menu: https://manual.audacityteam.org/man/tru ... lence.html
Yes, but in an older version, we could select the entire document and only truncate silence within a range.

IE Truncate silence from .25 to 1.0 by 50% and leave all silence above 50% as is.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Truncate Silence

Post by steve » Sat May 11, 2019 8:12 am

mikeypam wrote:
Fri May 10, 2019 8:30 pm
IE Truncate silence from .25 to 1.0 by 50% and leave all silence above 50% as is.
Select "Compress Excess Silence".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mikeypam
Posts: 21
Joined: Fri Feb 08, 2019 1:39 am
Operating System: Windows 7

Re: Truncate Silence

Post by mikeypam » Mon May 13, 2019 3:55 pm

When I select compress excessive silence, it will compress all silence to the selected percentage. I need to compress the silence that is only within a range. ie .25-1.0 would be compressed but silence above 1.0 would remain unaffected. This was available in a previous version but is not, unless I am overlooking something, in the current version.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Truncate Silence

Post by steve » Mon May 13, 2019 5:04 pm

mikeypam wrote:
Fri May 10, 2019 8:30 pm
Truncate silence from .25 to 1.0 by 50% and leave all silence above 50% as is.
I can't work out what you mean. Truncate Silence has not changed for a very long time, so unless you were using an ancient version of Audacity, it has not changed. Perhaps you could describe an actual example?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mikeypam
Posts: 21
Joined: Fri Feb 08, 2019 1:39 am
Operating System: Windows 7

Re: Truncate Silence

Post by mikeypam » Mon May 13, 2019 5:43 pm

It was a very old version that has this option available. Probably 5+ years old.

I do not know the version number.

On the older version, I was able to select the silence range to work on. The two ranges I used most often when recording voice were.

Compress all sound from .22 seconds to 1.00 seconds by 50%
and
Truncate all sound 1.00 seconds to 2.00 seconds to 1.00

Both would leave the silence above and below the selected range unaffected.

Now I have to label each section (up to 400 per file) and do each labelled section separately. As a result it takes much more time to process.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Truncate Silence

Post by steve » Mon May 13, 2019 6:24 pm

mikeypam wrote:
Mon May 13, 2019 5:43 pm
Probably 5+ years old.
Probably even older.
mikeypam wrote:
Mon May 13, 2019 5:43 pm
Compress all sound from .22 seconds to 1.00 seconds by 50%
and
Truncate all sound 1.00 seconds to 2.00 seconds to 1.00
Does your audio contain many silences longer that 2 seconds?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mikeypam
Posts: 21
Joined: Fri Feb 08, 2019 1:39 am
Operating System: Windows 7

Re: Truncate Silence

Post by mikeypam » Tue May 14, 2019 3:50 pm

Probably even older.

Yes, It may have been longer than 5 years. Is it possible to get that option back?

Does your audio contain many silences longer that 2 seconds?

Normally the longest silence is 1.5 seconds. Although since it is spoken, there is occasionally a longer silence for effect after asking a question to the listener. This is rare.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Truncate Silence

Post by steve » Tue May 14, 2019 4:31 pm

So, in effect, what you want to do, is to compress short silences by 50%, and long silences (over 1 second) you want to truncate to 1 second(?)

How about running the current version of Truncate Silence twice:
First run: compress silences that are longer than 0.22 seconds by 50%.
Second run: Truncate silences that are longer than 1.0 seconds to 1.0 seconds.

The result will be slightly different from what you would get with the old method, in that silences between 1.0 seconds and 1.8 seconds will be a little less than 1.0 seconds instead of exactly 1.0 seconds, but the effect will be pretty similar. If you find that the compression is too much, you could perhaps compensate by compressing by less than 50% on the first run.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply