Skip to content

Add scrolling sheet music view#385

Open
mavdey wants to merge 2 commits into
PolyMeilex:masterfrom
mavdey:feature/scrolling-sheet-music-clean
Open

Add scrolling sheet music view#385
mavdey wants to merge 2 commits into
PolyMeilex:masterfrom
mavdey:feature/scrolling-sheet-music-clean

Conversation

@mavdey

@mavdey mavdey commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Adds a centered scrolling sheet music panel above the keyboard.

This change renders sheet music using notation sprites and keeps the current playback position centered while the song is playing. The goal is to make note reading easier by showing traditional sheet notation alongside the existing falling-note view.

Changes included:

  • Adds a scrolling sheet music panel.
  • Renders notes using notation sprites.
  • Keeps the active playback area centered during playback.

This is an initial implementation and may need further UI/UX adjustments based on feedback.

mavdey added 2 commits June 22, 2026 03:34
Render MIDI notes on synchronized treble and bass staves above the waterfall, keeping the playback cursor fixed at the center while notation and bar lines scroll horizontally. Support note heads, stems, accidentals, ledger lines, duration variants, track colors, direct drag resizing, and persistent visibility and height settings.
Replace fallback Unicode clefs and procedural note shapes with a transparent notation atlas and an instanced GPU sprite pipeline. Add recognizable treble and bass clefs, quarter, half and whole notes, and sharp accidentals while preserving per-track tint colors and the centered scrolling behavior.
@PolyMeilex

Copy link
Copy Markdown
Owner

Tried to play with it:

  1. The F Clef is pointing at D, which does not inspire confidence
  2. Durations are wrong (kinda as if there was only 3 of them or something, I did not look at the code yet)
  3. Rests are missing
  4. First note of a measure is laid out on top of a measure line
  5. Measure width seems to be fixed rather than responsive, which causes notes to blend together when density goes up.

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