Automatic lyric track alignment

AAH

I love blinky lights :)
Community project designer
Joined
Dec 27, 2010
Messages
4,191
Location
Eaglehawk
Over on Falcon Christmas someone posted about having issues with a python script to do automatic alignment of lyrics to audio files. This is potentially well worth following as it is the first major step when synching lyrics to music. Between this and the papagayo stuff in xlights it's possible that you could get a lyric track done in minutes rather than hours or more.

<<<-- this is the site that does the cool stuff.

<<<--- Ben's page to convert from the good stuff to the better stuff

<<<--- github repository for the good stuff

It seems that there is some sort of worldwide competition to create programs to synch lyrics to songs. The AutoLyrix creators look to have won at MIREX 2 years in a row.
 
Last edited:

OzAz

Senior elf
Global moderator
Joined
Dec 29, 2015
Messages
997
Location
Newcastle
Agree with @AAH (FB comments) the audacity file from AutoLryrixAlign looks like it would be easier to turn into a xtiming track
 
  • Like
Reactions: AAH

AAH

I love blinky lights :)
Community project designer
Joined
Dec 27, 2010
Messages
4,191
Location
Eaglehawk
I have had to add some silence to the start of some tracks to get them to line up with premade lyric tracks ^_^
That will sometimes be due to the source of the audio files. If you're not using the exact source mp3/mp4a etc file that the person who created the track with there can be slight differences.
 

OzAz

Senior elf
Global moderator
Joined
Dec 29, 2015
Messages
997
Location
Newcastle
Agree with @AAH (FB comments) the audacity file from AutoLryrixAlign looks like it would be easier to turn into a xtiming track
After watching Phil's video, all he's done is change the case of the words and replaced the spaces with tabs, so it was fairly easy. Just needed someone smarter than me (which wouldn't be difficult 😄 ) to work out that was all that was needed.

You can do it without a macro if you want (though Phil's macro makes it 1 click instead of a few) or record your own macro.

with the text in Notepad++
Ctrl+A (select all)
Ctrl+U (convert to lowercase) or Alt+U (convert to proper case - upper case first letter) - xlights doesn't seem to care which
Unselect all
Ctrl+H (to open Replace dialog box)
enter a space in Find what: text box
enter \t in Replace with: text box (converts space to tab)
click Replace All, close the replace dialog box
Save


Don't expect this to be perfect. Have tried it with 4 lyric tracks and there's problems with them all. The autolyricalign site does have difficulties with more than one voice singing at same time. In hey come look at my house it missed the word 'music' nearly every time, I think because the voice trails off as it's sung. It got Thunderstruck pretty good, the lyrics I submitted were missing the la las near the end so it just had one big long oh.

Certainly think using autolyricalign and then tidying the audacity file result would cut down the time to do a lyric track by heaps, especially if the song just has 1 main singer.
 

Joshaaye

Hoping that everything still works..
Joined
Nov 1, 2020
Messages
77
Location
Hervey Bay
Next project will be getting the phonyms to import to. That would be incredible.
 

Joshaaye

Hoping that everything still works..
Joined
Nov 1, 2020
Messages
77
Location
Hervey Bay
Trying this out for the first time. Does it normally take over 30 minutes for 3 a minute song? I'm at just over 30 minutes and still not finished processing it for me to download the file. (Tried twice now with long waits)
 
Top