Repository navigation
Studio: mark "sounds wrong here" on the timeline - #226
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
Marks are stored per piece (marks.json on the server, the piece state in Studio Web), carry bar and sixteenth computed from the piece meters, the section, guitar, text, a snapshot of the sounding notes and the recipe revision. They never touch the music, undo or redo, are logged as mark_add, mark_edit and mark_delete, are counted by studio.summary and can be downloaded as marks.json for one piece or for all pieces. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
Marks are patched into the stored piece record instead of writing back a whole snapshot, add is atomic with its log row and idempotent by id, the audition range follows the real neighbouring bars and never inverts, marks record the revision that was audible, imports are validated and logged, the output folder is locked per server, and several editor and touch details are fixed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
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.
Lets the owner mark "sounds wrong here" on the Studio timeline instead of writing down seconds, in both the Studio server page and Studio Web. Specification:
composer-lab/STUDIO-MARKS-SPEC.md.marks.jsonnext to the piece on the server, the piece record in Studio Web) with bar and sixteenth computed from the piece meters, section, guitar, free text, a snapshot of the sounding notes and the recipe revision that was audible.mark_add,mark_edit,mark_deleteandmark_import, counted bystudio.summary, and can be downloaded asmarks.jsonfor one piece or for all pieces.addis idempotent by client id and rejects id collisions, the output folder is locked per server, a corruptmarks.jsonis kept aside instead of being overwritten, and imports are validated.Checked locally: 281 Python tests (2 skipped) and 68 Node tests pass on
68267f2; the server page was tried by hand in Edge. Reviewed by Astra and cross-checked by Fable; their findings are in the last two commits. Not checked: Studio Web on a phone.🤖 Generated with Claude Code
https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ