From 34f65f4ead3c074a842ae02f53a06d4c92567bc3 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 14:31:07 +0000 Subject: [PATCH] Add editor rhythm notation, time signatures, play-from-position, fix Drunken Sailor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Editor improvements: - Musical notation symbols (♩♪𝅗𝅥𝅝) displayed on notes with duration - Number keys 1-5 set note values (whole/half/quarter/eighth/sixteenth), 6-8 for dotted - Time signature selector (4/4, 3/4, 6/8, 9/8, etc.) with measure-aware grid lines - Double-click header to start playback from any position - Singalong/non-Classical pieces no longer play background orchestra in editor preview (only Classical genre gets conductor mode with bg track) - Status bar shows note value name when selected Drunken Sailor fix: - Corrected rhythm to quarter-eighth-eighth pattern per sheet music - Melody notes now store duration and frequency for proper editor display Singalong pieces now tagged with isSingalong flag and store duration on melody notes. https://claude.ai/code/session_01AqTWV8hPy2XcGP5KY2Q8zv --- index.html | 242 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 173 insertions(+), 69 deletions(-) diff --git a/index.html b/index.html index c76d36b..76e2b18 100644 --- a/index.html +++ b/index.html @@ -195,6 +195,7 @@ canvas{display:block;} Editing: — + @@ -209,7 +210,7 @@ canvas{display:block;}
- Click=add | Click note=select | Drag=move | Drag right edge=resize duration | D=add duration | Shift+D=remove duration | Shift+drag=select range | Ctrl+C/V=copy/paste | Ctrl+A=select all | Esc=deselect | Del=delete | Scroll=pan + Click=add | Click note=select | Drag=move | Drag right edge=resize duration | 1-5=set note value (whole/half/quarter/eighth/sixteenth) | D=add duration | Shift+D=remove | Shift+drag=select range | Ctrl+C/V=copy/paste | Ctrl+A=select all | Esc=deselect | Del=delete | Scroll=pan | Dbl-click header=play from here