Hi everyone, I’m new to Audacity and I have a time consuming task that I do manually and I don´t know if it can be done automatically with a macro or something else.
I have audio files with about 50 audio chunks separated by silence chunks of 2 seconds and the chunks of audio have a duration between 0.9 to 2 seconds (see image1). And my goal is make that each chunk of audio begins at specific time. For example
- 1st audio → begins at 0 seconds
- 2nd audio → begins at 10 seconds
- 3rd audio → begins at 20 seconds
- …
- ..
- .
- Nth audio → begins at (N-1)x10 seconds
Below (Image 2) I show the waveform after I do a manually search of silence intervals with “Analyze–>Label Sounds” with -50 db of threshold and minimum silence duration of 1 second.
Now I need to do some calculations to know how many seconds I need to add just before the beginning of 2nd audio (that currently begins at 3.270 seconds) in order that 2nd audio begins at 10 seconds position.
This is,
10 - (start of audio2 - start of audio1) = 10 - (3.27-0) =10-3.27 = 6.73 → seconds to add before start of audio2
The same for audio 3 would be:
10 - (start of audio3 - start of audio2) = 10 - (6.26 - 3.27) = 10 - 2.99 = 7.01 → seconds to add before start of audio3
Doing this N-1 times I get the number of seconds I need to add before each audio. Then I manually do “Generate–>Silence” for each part with the corresponding value of seconds calculated previously and the audio output will look like image3 with each audio chunk beginning at 0, 10, 20, 30, …, etc.
I did a macro to found the silence chunks but I don’t know how to insert the number of seconds needed before the beginning of each audio chunk in order to get the goal I explained above. Is this possible?
Thanks in advance.