Repository navigation
Patcher lane 6: TUI patch view, /patch, panes, macro knobs - #181
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
src/tui/patch-view.ts: the model (nodes in signal order, ports, a neighbourhood cable matrix), each key's typed patch command, and the paint. tui/patch.ts paints it at every size, NO_COLOR/mono and ASCII, with the compiler's dropped-cable warnings. /patch [--fx <name>] [off] opens it in place of the highway; dawg pane patch [track] [fx] opens a pane on it. Sound > patch and Effects > <name> patch in Ctrl-K; the first four macros are the four knobs (KNOB_MAPS sound:patch, with a #n path segment). KEYS.patch, help rows, size-matrix scenario, DAWG.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ode (§7.2) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… §7.4) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…5's grammar Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Patcher lane 6 (design §7): the TUI patch view. Built-ins shipped in #178, the user library and
github:packs in #180.src/tui/patch-view.ts: the model (nodes in signal order, ports, a neighbourhood cable matrix with pinned headers;fshows the whole thing), each key's typedpatch …command (--fx <name>on an effect patch), and the paint. The add-node list auditions, the wire picker lists only legal inputs.tui/patch.ts: the painter, at 60x16 up to 500x150, NO_COLOR/mono and ASCII (TERM=dumb), with the compiler's dropped-cable warnings above the knobs and dropped cells marked./patch [--fx <name>] [off]opens it in place of the highway;dawg pane patch [track] [fx]opens a pane on it (pane screenpatch). A cable wired by a typed command, the agent or another pane moves the selection to its cell (§7.5 show-me).src/tui/patch-menu.ts). Enter on a node opens its group in the fader drawer.sound:patchrow insrc/tui/knob-map.ts(new#npath segment).KEYS.patch? panel, help rows,patchscenario in the size matrix (test/sizes-lib.ts, also in the check sample), DAWG.md and guides/panes.md.Rebased over lane 5 (#182): the view's keys emit lane 5's typed
patch add|wire|unwire|rm|set|knob|macro|rate|savelines, and a test applies every command each key can produce.src/tui/patch-menu.tsmerges both lanes: Sound › patch holds Edit patch, knobs and nodes, then lane 5's entry rows; Effects holds one " patch" group per effect patch plus lane 5's "add effect patch". Space toggles the audition loop in the view, and the add-node list plays each row on it (enter keeps, esc reverts). A ctrl-k table test and 80x24 frame snapshots (unicode and ASCII) cover §7.2 and §7.4.Local gate:
bun run checkgreen; the patch size scenario is clean at every FULL_SIZES entry under default, NO_COLOR and TERM=dumb.🤖 Generated with Claude Code