Repository navigation
fix(label): time lyrics with nixamp.com's ear when ElevenLabs refuses (0.80.6) - #433
Merged
Merged
Conversation
…, so the karaoke follows again (0.80.6) The label's ElevenLabs aligner answers 401 on server2, so every song since (all of Þrøngva, Celtic Punk Core, ...) has no .lrc and /music shows static words. src/lyric-align.ts hears the song through nixamp.com's Whisper ear a minute at a time (phrase timestamps), lays the known lyric words over the heard ones (longest common run, fuzzy match), interpolates the rest, and refuses a song where under a fifth matched. aligner() tries ElevenLabs first and falls back to the ear; without a key it uses the ear alone. Also: the crawl-door test follows x402-gateway 0.18.1 (#432): a training crawler pays from its first request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan0 finding(s) in the 6 file(s) this pull request changes. Nothing in the files this pull request changes. 56 pre-existing finding(s) elsewhere in the repository — **HIGH**: 17 | **MEDIUM**: 15 | **LOW**: 24Not introduced by this pull request.
…and 36 more; the full set is in the SARIF artifact. Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lyrics on /music showed as static text: the songs on air had no
.lrc. server2's label log showselevenlabs answered HTTP 401 to the alignmentfor every song since the key died (all of Þrøngva, Celtic Punk Core and more).src/lyric-align.ts: hears the song through nixamp.com's Whisper ear (/api/v1/speech/transcribe, 60 s windows, phrase timestamps, waits out 429), spreads each phrase's time over its words, lays the known lyric words over the heard ones (LCS with a fuzzy word match), interpolates the unmatched words, and refuses when under 20% matched.aligner(): ElevenLabs first, the ear when ElevenLabs fails; the ear alone without a key.Tests: new test/lyric-align.test.ts; full suite 1157 pass locally (2 local-only failures that need no session on the box).
🤖 Generated with Claude Code