Page 1 of 1
Split and align tracks based on silence in tracks
Posted: Thu Jun 15, 2017 3:31 am
by dnorric`
Hi im using audacity 2.1.2 exe on win10. What i have is a list of words in english, russian, and german spoken using text to spech. I have placed a comma between each word as some translation are multi word for one. So each audio file is made up of a list of words in the respective language spaced by silence.
Is there away to allign each translated word. So for "The dog ran" the would be spoken at the same time in on all three tracks and so languages, and dog, and ran etc.
CHeers
Damian
Re: Split and align tracks based on silence in tracks
Posted: Thu Jun 15, 2017 10:40 am
by steve
Have I got this right?
You have, for example, got a recording of:
Code: Select all
The quick brown fox jumped over the lazy dog
and in another track, a recording of:
Code: Select all
Der schnelle braune Fuchs sprang über den faulen Hund
and you want to adjust the space between words so that when played together, you don't get:
Code: Select all
The quick brown fox jumped over the lazy dog
Der schnelle braune Fuchs sprang über den faulen Hund
you want to get:
Code: Select all
The quick brown fox jumped over the lazy dog
Der schnelle braune Fuchs sprang über den faulen Hund
Is that going to work? Some languages use words in a different order.
Re: Split and align tracks based on silence in tracks
Posted: Thu Jun 15, 2017 10:51 am
by dnorric`
Yeah steve thats exactly what i was after. Yeah they do use in different order and in some case use many words for one word specially used in sentences however when you split the words up in the sentences with commas they generally come out pretty simplified
Re: Split and align tracks based on silence in tracks
Posted: Thu Jun 15, 2017 12:51 pm
by steve
I can't think of a good automated way of doing this, other than spending a lot of time developing a plug-in, but even then it's not going to be perfect because there are too many "unknowns" to be able to reliably calculate spacing.
To do it semi-manually:
- Use the "StretchPause" experimental plug-in from this post (viewtopic.php?p=212235#p212235) to expand the gaps between words of the first language track
- Use "Silence Finder" (http://manual.audacityteam.org/man/sile ... ml#silence) to label the gaps of the second language track,
- Then use "Edit Menu > Labeled Audio > Split" (http://manual.audacityteam.org/man/edit ... html#split) to split the track up
- Then repeat for each other language track,
- Then use the "Multi-tool" (http://manual.audacityteam.org/man/multi_tool.html) combined with Shift or Ctrl to move the audio clips.
- Repeat step 5 for each language track
Step 5 is quite tricky until you get the hang of it:
- Click on an empty part of the info panel on the left end of the second track to select the second track
- F6 to switch to the Multi-Tool
- Move the cursor over the second audio clip (assuming no need to move the first audio clip)
- Hold down the Shift key. The cursor becomes a left pointing arrow.
- Left click. The left end of the selection jumps to the cursor position.
- Release the shift key and the mouse button
- Move the mouse pointer over the shaded (selected) area that contains all clips from the 2nd onward.
- Hold down the Ctrl button. The cursor becomes a double headed horizontal arrow (for "time shift")
- Left click and drag to the right to line up the word in the second audio clip with the second word in the first track
- Repeat steps iii to ix for the rest of the track
Re: Split and align tracks based on silence in tracks
Posted: Thu Jun 15, 2017 9:36 pm
by dnorric`
Thank you very much for such a concise answer. that is exactly what i was after. It would have been nice to find a way to automate this but ah well. Thank you
Damian
Re: Split and align tracks based on silence in tracks
Posted: Thu Jun 29, 2017 7:59 am
by dnorric`
Came across this tool when looking at making epub3 audio books. Maybe of value in this situation, not sure.
https://www.readbeyond.it/aeneas/
Cheers