Skip to content

Advance alternating lyrics during interludes#1030

Draft
ryokun6 wants to merge 5 commits intomainfrom
cursor/interlude-alternate-empty-line-d00b
Draft

Advance alternating lyrics during interludes#1030
ryokun6 wants to merge 5 commits intomainfrom
cursor/interlude-alternate-empty-line-d00b

Conversation

@ryokun6
Copy link
Copy Markdown
Owner

@ryokun6 ryokun6 commented Apr 4, 2026

Summary

  • shift alternating interlude windows forward so the display shows the upcoming lyric pair instead of holding the outgoing line
  • attach inline interlude countdown metadata to the upcoming lyric row in the renderer
  • refresh alternating rows immediately when playback exits a long interlude so next+1 does not flicker out and back
  • avoid timer starvation in alternating lyrics by detecting long-interlude exits from adjacent line-index changes instead of rerunning the delayed row effect on every playback tick
  • sync the alternating row correction before paint so the final stale frame does not flash during the next+1 handoff
  • update focused karaoke interlude tests for even and odd alternating layouts plus the long-gap handoff helper

Testing

  • bun test tests/test-karaoke-interlude-display.test.ts
  • bun run build
Open in Web Open in Cursor 

Co-authored-by: Ryo Lu <me@ryo.lu>
@ryos-deploy
Copy link
Copy Markdown

ryos-deploy bot commented Apr 4, 2026

The preview deployment for ryos-dev is ready. 🟢

Open Preview | Open Build Logs | Open Application Logs

Last updated at: 2026-04-04 07:03:51 CET

cursoragent and others added 4 commits April 4, 2026 05:49
Co-authored-by: Ryo Lu <me@ryo.lu>
Co-authored-by: Ryo Lu <me@ryo.lu>
Co-authored-by: Ryo Lu <me@ryo.lu>
Co-authored-by: Ryo Lu <me@ryo.lu>
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.

2 participants