Commit Graph

55 Commits

Author SHA1 Message Date
5c8c2835fd docs(readme): describe the three input modes and lyrics testset option
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-06 07:54:26 +01:00
bcae76279b feat(modes): three explicit input modes (audio, --ultrastar, --lyrics)
- --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>
2026-11-06 07:53:23 +01:00
861f6a29f2 fix(ultrastar): keep word boundaries of the leading-space convention
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>
2026-11-05 13:29:25 +01:00
904ce6253f feat(pitch): end lines at the end of the strictly voiced run after the last word
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>
2026-11-05 12:38:15 +01:00
3fdd639f47 chore: ignore all local testset configs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 08:22:21 +01:00
4024b74953 feat(lyrics): split Whisper segments into singable lines
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>
2026-11-05 08:09:03 +01:00
769910286f feat(eval): show octave-corrected note accuracy in report and CLI
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 07:08:43 +01:00
c73ad8d66b feat(pitch,lyrics): tune pipeline heuristics from dual-track learnings
- Increase melisma pitch jump threshold to 1.6 st to prevent vibrato over-splitting
- Add transient consonant attack snapping in snap_onset
- Add continuous voicing extension for sustained rock vowels
- Deduplicate rapid hallucinated line repetitions in Whisper output
- Add automatic global octave transposition alignment in ultrastar_to_vocals
- Cache CREPE F0 frames in crepe_f0_<model>.npz for rapid iterative tuning
- Accurately compute octave-aligned pitch accuracy in evaluate_vocals
2026-11-04 00:33:50 +01:00
dcde066772 feat(dual-track): ground-truth packaging, training diff and import-ultrastar 2026-11-03 22:59:06 +01:00
c93d2c696e feat(eval): note onset snapping, melisma segmentation and youtube audio retrieval 2026-11-03 22:03:56 +01:00
d4745a48e0 feat(cli): add auto-export, --reference eval, YouTube URL source via yt-dlp, and README 2026-11-03 20:38:17 +01:00
8ea78914ac fix(stability): pin av 18.1.0, add CPU device fallback, and reset runner failure status 2026-11-03 20:37:41 +01:00
6b3c82738c fix(export): correct UltraStar BPM scaling, time axis linear mapping, and metadata 2026-11-03 20:37:24 +01:00
cb3047ddae fix(eval): correct UltraStar tick duration, word boundary WER, and pitch metrics 2026-11-03 20:37:04 +01:00
58ff3fe59a feat(cli): add --version flag to unmix CLI 2026-11-02 14:46:07 +01:00
c327d5c4c4 refactor: rename project, package, and CLI from songsplit to unmix 2026-11-02 14:43:31 +01:00
7bbc6b78df docs: rewrite README following pragmatic README template and add MIT license 2026-11-02 12:56:50 +01:00
999a3c3a9d docs: update format documentation and README for songpack v1.0 2026-11-02 12:22:14 +01:00
af11f507cf feat(example): upgrade demo song package and test suite to songpack v1.0 2026-11-02 12:22:11 +01:00
6d7d88e799 feat(cli): add pack and unpack commands for .songpack container with Section 12 security 2026-11-02 12:22:07 +01:00
e73c4ec328 feat(export): align UltraStar export with songpack spec (export/song.txt, word boundaries, headers) 2026-11-02 12:22:03 +01:00
fd17b63c7a feat(pipeline): modularize stage 7 into s7_tracks and support track sub-stages 2026-11-02 12:21:59 +01:00
6428e8be7d feat(container): implement songpack pack and secure unpack per spec 2026-11-02 12:10:02 +01:00
2a2da717e8 feat(schema): implement songpack v1.0 schemas (manifest, tracks, vocals_f0, editable items) 2026-11-02 12:08:36 +01:00
a874afe7cd docs: adopt updated concept and add songpack-spec v1.0 2026-11-02 12:05:55 +01:00
bc62fa1c56 docs: mark M6 hardening completed in README 2026-11-02 11:34:28 +01:00
a6dd0a649a feat(example): add synthetic demo song package and test suite 2026-11-02 11:34:17 +01:00
44311d007f feat(pipeline): add structured logging to pipeline runner 2026-11-02 11:31:15 +01:00
9db639ea9e docs(format): add song-paket v1.0 format specification 2026-11-02 11:31:13 +01:00
f1d55c4bcb docs: update README with M5 completion status 2026-11-02 11:20:33 +01:00
760bad7435 test: add unit and integration tests for M5 strumming analysis and beat quantization 2026-11-02 11:20:33 +01:00
7ec6b3274b feat(strumming): implement stage 7 onset detection, direction estimation, and pattern aggregation 2026-11-02 11:20:33 +01:00
8d366327e6 docs: update README with M4 completion status 2026-11-02 11:00:06 +01:00
fcc1cd2426 test: add unit and integration tests for M4 chord parsing, template matching, and pipeline 2026-11-02 11:00:06 +01:00
983102b588 feat(chords): implement stage 6 beat-synchronous chord recognition and key detection 2026-11-02 11:00:06 +01:00
a7dedd4306 docs: update README with M3 completion status 2026-11-02 10:53:19 +01:00
fac85bcd56 test: add integration test for M3 tempo stage and UltraStar BPM synchronization 2026-11-02 10:53:19 +01:00
887bd4a3e9 feat(pipeline): implement stage 5 beat and downbeat tracking via beat_this 2026-11-02 10:53:19 +01:00
cc5e2fe628 feat(tempo): implement tempo map building from beats and click track generator 2026-11-02 10:53:19 +01:00
6eb02fe576 docs: update README with M2 completion status 2026-11-02 10:42:10 +01:00
cdc47bc85a test: add end-to-end integration test for M2 vocals pipeline and eval 2026-11-02 10:42:10 +01:00
f1736caff5 feat(eval): implement evaluation metrics (timing MAE, pitch accuracy, WER) and runner 2026-11-02 10:42:10 +01:00
cd6f2a8fa3 feat(export): implement UltraStar writer and reader for song.txt 2026-11-02 10:42:10 +01:00
ac9831d195 feat(pitch): implement stage 4 torchcrepe pitch tracking with octave error correction 2026-11-02 10:42:10 +01:00
acb1411aa1 feat(lyrics): implement stage 3 Whisper transcription and pyphen hyphenation 2026-11-02 10:42:10 +01:00
4fbd741f4c fix(stems): optimize Demucs chunking and prevent dimension mismatch 2026-11-02 10:42:10 +01:00
2378cb78ca docs: update README with M1 completion status 2026-11-02 10:22:25 +01:00
85236c6253 test: add end-to-end integration test for M1 pipeline and SNR verification 2026-11-02 10:22:25 +01:00
6a01296af6 feat(stems): implement stage 2 Demucs stem separation with low-VRAM chunking 2026-11-02 10:22:25 +01:00
191133b006 feat(extract): implement stage 1 audio/video extraction via ffmpeg 2026-11-02 10:22:25 +01:00