Page 1 of 2

Truncate Silence

Posted: Fri May 10, 2019 4:07 pm
by mikeypam
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

Re: Truncate Silence

Posted: Fri May 10, 2019 4:33 pm
by steve
In Audacity 2.3.1, "Truncate Silence" is still in the Effect menu: https://manual.audacityteam.org/man/tru ... lence.html

Re: Truncate Silence

Posted: Fri May 10, 2019 8:30 pm
by mikeypam
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.

Re: Truncate Silence

Posted: Sat May 11, 2019 8:12 am
by steve
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".

Re: Truncate Silence

Posted: Mon May 13, 2019 3:55 pm
by mikeypam
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.

Re: Truncate Silence

Posted: Mon May 13, 2019 5:04 pm
by steve
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?

Re: Truncate Silence

Posted: Mon May 13, 2019 5:43 pm
by mikeypam
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.

Re: Truncate Silence

Posted: Mon May 13, 2019 6:24 pm
by steve
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?

Re: Truncate Silence

Posted: Tue May 14, 2019 3:50 pm
by mikeypam
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.

Re: Truncate Silence

Posted: Tue May 14, 2019 4:31 pm
by steve
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.