Skip to content

[SINGSYNC] HKA-79 rough line timing generator from markers + lyrics#5

Open
hkalbertkim wants to merge 3 commits intomainfrom
codex/hka-79-rough-line-timings
Open

[SINGSYNC] HKA-79 rough line timing generator from markers + lyrics#5
hkalbertkim wants to merge 3 commits intomainfrom
codex/hka-79-rough-line-timings

Conversation

@hkalbertkim
Copy link
Copy Markdown
Owner

Summary

  • implement rough line timing generator service (syncLineTiming) using vocal onsets + phrase gaps + cached lyric lines
  • add v1 heuristic for segment creation and line allocation (M>=N direct mapping, M<N proportional distribution, marker-missing fallback)
  • persist alignment.mode and alignment.line_timings[] into sync.json with per-line confidence and derived_from
  • wire timing generation into /api/prepare after marker extraction (background prepare stage, no mid-song work)
  • add CLI helper to backfill line timings for cached songs
  • document CLI usage in README

Linear

  • HKA-79

Notes

  • This branch includes prerequisite sync foundation commits from HKA-77/HKA-78 because main did not yet contain them.

Verification

  • (cd server && npm exec tsc --noEmit)
  • ./scripts/extract-line-timings.sh fixture_test

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sing-sync Ready Ready Preview, Comment Feb 14, 2026 2:28pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant