Skip to content

Studio: controls that act at once (muted strokes, octave share, intro length, verse repeat) - #222

Merged
PhysShell merged 3 commits into
mainfrom
claude/studio-controls
Nov 23, 2026
Merged

PhysShell merged 3 commits into
mainfrom
claude/studio-controls

Conversation

@PhysShell

Copy link
Copy Markdown
Owner

Four whole-piece options in both Studio front ends, applied immediately and undoable; defaults are byte-identical to main.

  • Глухие ноты: share of accompaniment onsets muted in A, A2, A3 and B (1 = all).
  • Октавные аккорды: share of comping bars of A and A2 in octave chords, or Auto.
  • Длина вступления: Auto or 1, 2, 4, 8 bars.
  • Повтор квадрата: verses A and A2 played once or twice.

The old re-roll doses moved under «Дополнительно» with labels that say what they do. Spec: composer-lab/STUDIO-CONTROLS-SPEC.md.

Review: two review rounds by other models; all findings fixed, each with a test. Checked: 159 Python tests and 13 Node harness tests pass; all old generator versions give byte-identical MIDI and MusicXML (150 flag/seed cases); site build and self-containment check pass; at 360 px all controls are visible with no horizontal scroll and no console errors; with muted strokes at 1 and 0.3 and the verse repeated, both copies of A and A2 match note for note on 8 seeds. Not checked: audio by ear and manual clicking in a live browser.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ

PhysShell and others added 3 commits November 23, 2026 23:27
…heir labels say

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
…gth and verse repeat

mute_share mutes a share of accompaniment onsets in A, A2, A3 and B at once;
octave_share sets octave chords per comping bar; intro_bars fixes the intro
length; square_repeat plays each verse square twice. Defaults reproduce the
previous output byte for byte. The old re-roll doses move under
"Дополнительно" with labels that say what they do.

Implemented by Gemini Neon orchestrator against STUDIO-CONTROLS-SPEC.md;
verified by the reviewer: 148 Python and 11 Node tests green, all version
outputs byte-identical, mute_share=1 mutes every accompaniment onset of those
sections on the owner's piece, page at 360 px shows the controls with no
overflow or console errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
Mute decisions are hashed per section and relative onset before the
square is repeated, so repeated verses and locked sections stay
identical. Full octave share covers cadence bars, muted strokes drop
incoming legato and are written as one division plus a rest, octave
slides are checked against the previous note on the string, and each
contiguous A or A2 run is repeated on its own. Re-rolls under fixed
octave share or intro length change the music, and option changes that
leave the recipe unchanged no longer add undo or history entries. The
default-seed test compares against hashes frozen from main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
@PhysShell
PhysShell merged commit d786a99 into main Nov 23, 2026
14 checks passed
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.

1 participant