Removing silent spaces [SOLVED]

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.
Locked
SAngeli
Posts: 45
Joined: Sat Apr 07, 2012 7:21 pm
Operating System: Please select

Removing silent spaces [SOLVED]

Post by SAngeli » Sat Mar 14, 2015 7:54 pm

Hi,
I am working on a project where I extracted the audio track from a video and am manipulating this long audio track.
As I have several songs I decided to simply divide this long track in several pieces; this for easy editing. I obviously separated each track for my editing convenience.
Now that I am done, I wish to reconnect all together but noticed that I have several empty and silent spaces between audio sections.
I wish to let Audacity automatically eliminate all those silent spaces so that when this action is done you will not notice that the entire audio track has been split into pieces.
So far I am doing this manually but it might not be precise.
I am aware of the truncate tool but I do not know how to tell Audacity to remove only spaced where there is 0 dB meaning no audio.

Any suggestion is welcomed.
Thank you
Last edited by SAngeli on Mon Mar 16, 2015 4:20 pm, edited 1 time in total.

DVDdoug
Forum Crew
Posts: 9278
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: Removing silent spaces

Post by DVDdoug » Sat Mar 14, 2015 9:00 pm

Try the Truncate Silence effect. You can reduce the Truncate To time to zero if you wish.
...you will not notice that the entire audio track has been split into pieces.
A crossfade (a fade-out and fade-in with overlap) often makes a smoother "splice". The crossfade can be as short as a few milliseconds or a couple of seconds depending on what sounds best or what sounds more natural. But, this is a manual operation often requiring listening and trial-and-error.

SAngeli
Posts: 45
Joined: Sat Apr 07, 2012 7:21 pm
Operating System: Please select

Re: Removing silent spaces

Post by SAngeli » Sun Mar 15, 2015 5:54 am

Hi,
I wish to know what settings should I use in order to remove totally and only silent spaces Audacity placed when I split parts of the entire track? I want Audacity to do so and not me doing it manually; thin in order not to live potential silent spaces. Do I just accept default settings or what?
In my case I only need to remove the silent spaces without fading as I need to have a continuation between them in order to have an entire track.
Thank you

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

Re: Removing silent spaces

Post by steve » Sun Mar 15, 2015 12:27 pm

To totally remove silences, you need to truncate silences to zero length.
See: http://manual.audacityteam.org/o/man/tr ... lence.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

SAngeli
Posts: 45
Joined: Sat Apr 07, 2012 7:21 pm
Operating System: Please select

Re: Removing silent spaces

Post by SAngeli » Sun Mar 15, 2015 2:40 pm

Hi,
...you need to truncate silences to zero length.
Truncate silence windows options are:
- Truncate detected silence
Detect Silence
- Level
- Duration
Truncate to

I need to remove all silence in any kind of lengh of silence that is presence in the track. It is the same silence I can add in Audacity myself.

Please, if possilbe, can you provide me values for the fields below reported?
Detect Silence
- Level ___ dB
- Duration ___seconds
Truncate to ___seconds

Thank you
Attachments
Silent.png
Sample for Truncate Silence
Silent.png (27.49 KiB) Viewed 6691 times
Last edited by SAngeli on Sun Mar 15, 2015 3:12 pm, edited 1 time in total.

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

Re: Removing silent spaces

Post by steve » Sun Mar 15, 2015 2:55 pm

SAngeli wrote:I need to remove any kind of silence in any kind of lengh of silence that is presence in the track that Audacity created when I split sections of a track and live empty space between them. Same as if I would introduce silence myself.
Sorry but your meaning is not clear.
"Splitting" a track does not create silence.

Please describe what you mean by "when I split sections of a track and live empty space between them".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

SAngeli
Posts: 45
Joined: Sat Apr 07, 2012 7:21 pm
Operating System: Please select

Re: Removing silent spaces

Post by SAngeli » Sun Mar 15, 2015 3:17 pm

Hi,
I just edited my previous post and added a screenshot.
I agree with you: splitting a track does not create silence.
I know know where the silence came from. At the end of my work, I merged two tracks and this caused silence to be created.
Now, either I can merge without having Audacity create silence but leave them in split mode (please tell me how to do so), or I need to remove all the silence that was created by Audacity when I merged those two tracks.
Attached is how it was before merging.

Please adivese.
Thank you
Attachments
Silent 01.png
Before merging tracks
Silent 01.png (35.12 KiB) Viewed 6691 times
Last edited by SAngeli on Sun Mar 15, 2015 3:23 pm, edited 1 time in total.

SAngeli
Posts: 45
Joined: Sat Apr 07, 2012 7:21 pm
Operating System: Please select

Re: Removing silent spaces

Post by SAngeli » Sun Mar 15, 2015 3:21 pm

... is it possible to find out the dB of something, most important a silente space? I ask this because if I wish to Truncate something I have to set up a dB level but if I do not know what is the dB level of what I wish to delete/truncate I do not know what value to set in Truncate Silece window setting.

Thank you

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

Re: Removing silent spaces

Post by steve » Sun Mar 15, 2015 3:39 pm

In real world audio, absolute silence hardly ever occurs. What we call "silence" is usually just very very quiet audio.
Anything below about -70 dB (minus 70) is virtually "silence".
In Audacity, absolute silence can occur. "Gaps" as shown in your screenshot are absolutely silence, and we can generate absolute silence.
Absolute silence is "-infinity dB" (minus infinity).

The quietest that Truncate Silence" goes down to is -80 dB, which is very very quiet, so that will catch (and thus truncate) sounds below -80 dB, including absolute silence.
You only want to truncate the very quietest parts (ideally only "absolute" silence), so you need to tell Truncate Silence to Detect silence that is very very very quiet. So to do that, set the detection "Level (dB)" to the minimum (-80 dB).

The Detection "Duration" needs to be a bit smaller than the shortest silence that you want to remove. Looking at your screenshot, all of the "gaps" seem to be more than a minute long, so almost any setting less than 60 seconds will do. I'd suggest that you try it set at 10 seconds.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

SAngeli
Posts: 45
Joined: Sat Apr 07, 2012 7:21 pm
Operating System: Please select

Re: Removing silent spaces [SOLVED]

Post by SAngeli » Mon Mar 16, 2015 4:20 pm

Hi,
I wish to thank you for your time and explanations. I was able to fully remove silent spaces.

I did I set the Detection "Duration" to -80 dB, Duration to 10 seconds and Truncate to set to Zero
This way it removed entirely all existing silent space without affecting existing recording.

Thanks a lot!

Locked