Text only; the audio alignment is unchanged. The release is chosen by length
(within 5 s of the audio) and live/acoustic/remix/karaoke versions rank last.
The chosen release is recorded in meta.json as lyrics_source.
Local use only: lyrics are copyrighted and must not be redistributed.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
File contract (required vs optional files), CLI usage with --json and exit codes,
Python usage and schema versioning.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
- --ultrastar <txt> takes notes and timings of the file as the result (alias of --reference)
- --lyrics <txt> aligns plain lyrics to the vocals with CTC forced alignment (en, de)
- --lyrics and --ultrastar are mutually exclusive; UltraStar files are rejected by --lyrics
- meta.vocals_source is whisper | lyrics_aligned | reference_ultrastar
- fix: a later run in the same folder no longer evaluates the ground truth against itself;
the AI result is backed up in .cache/vocals_ai.json and the pitch cache is invalidated
- eval: per-song lyrics = "reference" aligns the reference text without its timings
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
parse_ultrastar swallowed the leading space that marks a word start in some files
(e.g. Uriah Heep - Lady In Black), gluing a whole line into one 'word' and inflating
the WER (4.42 -> 0.43). Leading spaces are now normalised to a trailing space on the
previous note.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Line ends follow CREPE periodicity >= 0.7 after the last syllable. Gaps up to 0.1 s
are always bridged, gaps up to 0.3 s only if voicing resumes for >= 0.3 s (held note
with dropout, not breath or consonant). Capped at the next line start.
Line-end hit rate (<= 0.3 s) over 5 songs: 31% -> 41%, MAE 1.12 s -> 0.98 s.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Segments are cut at word pauses > 0.6 s and long lines at their largest gap.
Mistimed single leading/trailing words are merged into the adjacent line.
Raw Whisper segments are cached in whisper_segments.json so line building
can be A/B tested without re-running Whisper.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>