Skip to content

Alpha182/Lyric-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎀 Lyric-Library

A small, hand-curated collection of word-by-word synced lyrics β€” the kind that light up one syllable at a time as a song plays.

Every file here is an alignment that earned a β˜…β˜…β˜…β˜…β˜… rating in our lyric-aligner tool before being published, so this isn't a dump of everything we've ever made β€” it's the stuff that actually looks right.


What's in here

lyrics/
  <spotifyTrackId>.ttml     one file per track, e.g. lyrics/0VjIjW4GlUZAMYd2vXMi3b.ttml

Files are AMLL-style TTML (Timed Text Markup Language). Each line carries per-word β€” often per-syllable β€” start/end times, plus optional background vocals:

<p begin="12.480" end="16.900" ttm:agent="v1">
  <span begin="12.480" end="12.720">So </span>
  <span begin="12.720" end="12.980">tell </span>
  <span begin="12.980" end="13.240">me </span>
  <span begin="13.240" end="13.900">that </span>
  <span ttm:role="x-bg">
    <span begin="13.500" end="13.780">(tell </span>
    <span begin="13.780" end="14.050">me)</span>
  </span>
</p>
  • <span begin=".." end=".."> β€” each sung word/syllable and exactly when it lands.
  • ttm:role="x-bg" β€” background vocals ("echoes"), timed separately so they don't corrupt the lead line.
  • ttm:agent β€” which voice sings the line (used to lay out duets as call-and-response).

Times are in seconds. That's it β€” no audio, no proprietary payloads, just timings you can drop into any TTML-aware lyrics player.

How it's made

Each alignment is produced from the audio itself, not scraped from anyone's player:

  1. Separate the vocals from the mix (Demucs).
  2. Force-align the words to the isolated vocal with a phoneme model (MMS), anchored to synced LRC stamps where they exist.
  3. Clean up β€” snap held notes to their sustain, cancel the aligner's small late bias, keep background vocals on their own track.
  4. Curate β€” only alignments rated 5β˜… by a human get published here.

Plain lyric text comes from open sources (LRCLIB, NetEase); the timing is ours.

Using a file

Look it up by Spotify track id:

https://raw.githubusercontent.com/Alpha182/Lyric-Library/main/lyrics/<spotifyTrackId>.ttml

Any AMLL-compatible viewer will render the word-by-word highlighting; a plain TTML parser will happily read the line- and word-level timings too.

Notes

  • Coverage is intentionally small and slowly growing. A track shows up here only after it's been checked and rated, so quality beats quantity.
  • No scraped content. Alignments captured from third-party lyric backends are never published to this repo.
  • Spotify ids are used purely as stable filenames β€” nothing here is affiliated with or endorsed by Spotify.

License

Released under the GNU General Public License v2.0 β€” see LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors