From 657761c1191afd862fed53ec249344dc6751f839 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 12:53:08 +0000 Subject: [PATCH] Add editor features: START marker, measure numbers, note duration, range select & copy/paste - START marker: green dashed vertical line at t=0 matching the END marker style - Measure numbers: numbered (M1, M2, ...) in a header row at top of editor - Note duration: notes support a `d` (duration) property, rendered as variable-width bars with a draggable right edge to resize; D key to add/increase, Shift+D to remove - Range select: Shift+drag on timeline to select a region (purple highlight) - Copy/paste: Ctrl+C copies notes in selection (or single selected note), Ctrl+V pastes at end of piece or at selection boundary - Ctrl+A selects all notes, Escape clears selection, Delete removes range - All save/load/export/import/code-view paths preserve the duration property - Updated help text and status bar to document new controls https://claude.ai/code/session_015qMeX3wFA1dcCaFp9p4vai --- index.html | 302 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 255 insertions(+), 47 deletions(-) diff --git a/index.html b/index.html index c0f0a34..5c4b51e 100644 --- a/index.html +++ b/index.html @@ -209,7 +209,7 @@ canvas{display:block;}
- Click = add note | Click note = select | Drag = move | Delete/Backspace = remove selected | Scroll = pan timeline + 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