Repository navigation
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Thanks @huupsel for asking before building. Putting the shared sites in the base first is the right order. What works: the doc is clear, says plainly what was read and what ran (nothing on a unit), and has its changelog line. My answer: yes to the hooks, with one condition and an order (below). What's missing: a check of the sites on your unit, and one thing the doc doesn't cover yet: two of the proposed sites are already in use. Who acts: you. Next step: the unit check, then the doc updated with the answers as decisions. Yes to the hooks. These sites are already shared: the published MIDI Scenes and the Midi Mode 2 draft both send through The condition: confirm the sites on your unit before any hook index is taken. Your doc says plainly that the addresses come from the image and nothing ran yet, so please check, on your Octatrack:
Write what you saw, and on which build, into the doc. The order: the base is short on room. After the FM hooks (#2352) and the scale hooks (#2415) it has little left, and I'll make space as those fold in. So the four hooks come after those two, as entries in Your other questions:
Please turn "Open questions for the owner" into these decisions, add the site-sharing section below, merge Sites already in use
Please add a short section that says, for each of these, how the existing user moves to the hook (or is left alone) and what a take on an NRPN knob does to MIDI Scenes' sends. Then the hooks can't break a module that's already out there. Generated by Claude Code |
Turn the open questions into decisions (site 2 becomes a chain, the filter before MON, ev_midi_cc at the CC handler's entry with mw_midi_channel_tracks, midi:cc:<n> as a later gate change, per-project storage in project.work), name MIDI NRPN (repeat98#2540) as the hook's second subscriber, and list what must happen before the code commits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…atrack base (#2436) * Docs: propose a shared post-FX2 DSP site and a CC-in hook for the Octatrack base Site 2 (dsp_track_commit) becomes a chain beside Sidechain's MON commit, and ev_midi_cc takes the stock CC handler's entry that CC Map patches today, with a per-track filter as first subscriber of both. Design only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Docs: record the owner's decisions on the post-FX2 chain and ev_midi_cc Turn the open questions into decisions (site 2 becomes a chain, the filter before MON, ev_midi_cc at the CC handler's entry with mw_midi_channel_tracks, midi:cc:<n> as a later gate change, per-project storage in project.work), name MIDI NRPN (#2540) as the hook's second subscriber, and list what must happen before the code commits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: sandormatyi <9422137+sandormatyi@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
I need to correct my earlier reading before claiming any hook index: |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
The decision and site-sharing updates are pushed, and I merged |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Update: the MKII is back on its installed base and reports all 14 saved modules loaded; nothing was flashed or saved. The test Part matched its original bytes before the restart. The input test is inconclusive, and the PR stays a draft: I sent CC7 value 23 on channel 1 while the enabled MIDI track CC7 knob was at 107; it stayed at 107, but I could not independently confirm that the unit received the message or that the input routing allowed it. I recorded this and the development base identity in the doc. I also have not traced the CTRL callbacks on the unit, and have claimed no hook indices. Does the base have a safe way to confirm incoming USB MIDI delivery and trace these callbacks on hardware, or a recommended approach for the remaining checks? |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
The incoming-CC check now works on the MKII: stock does move a MIDI-track knob, but the mapping depends on CC DIRECT CONNECT and the auto channel. On development base ebc820ab7123f0ef…, with no modules loaded, MIDI track 1 output on channel 1, auto channel 11 and CC1 assigned CC7, channel 11 CC7 moved that knob with Direct Connect on. With it off, channel 11 CC36 moved it instead. The receive FIFO advanced for each message, and an audio-track CC independently moved its pitch. The doc records values and conditions. The original Direct Connect setting and Part were restored before restart; the installed base reports zero saved and live modules. The CTRL1/CTRL2 callback and encoder paths are still not traced on the unit, so the PR remains a draft and no hook indices are claimed. This also means the proposed receive design needs to account for the auto channel and both modes, rather than only the track output channel. |
|
Thanks @huupsel, that's a useful finding: an incoming CC already moves a MIDI track's knob, and which CC does it depends on CC DIRECT CONNECT and the auto channel. So the receive side has to handle both modes and the auto channel, as you say. Please write that into the design as a decision. Your question, tracing the CTRL callbacks safely: the base has no ready-made tracer. This is how I'd do it:
Who acts: you. Next step: the callback trace as above. Then the rest of my 3 December list: the decisions, |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
The RAM-only trace now confirms that all four CTRL1 SETUP encoder turns reach The full route to the writers and the CTRL2 MIDI-learn callback siblings are still unconfirmed. I have not claimed hook indices or tested NRPN, and the PR remains a draft while I work on those checks. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Thanks @huupsel, the traces are exactly what I needed. Where it stands: on your MKII (development base What's left is not needed for this doc. The MIDI LEARN siblings and the full route from the encoder routines to the writers get settled when the hooks go into Who acts: you, three small things, then I merge it:
Checked on this pass
Generated by Claude Code |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
The design and PR description are updated, and the requested unit traces are recorded. Local |
0x4004ae08is a CTRL writer: the documented writer is for NOTE SETUP. No hook or module implementation is included.git diff --checkpassed;npm run pr:ready -- --base-branch base/octatrack-next --eval-agent "Copilot SDK in VS Code (model not reported)"passed, including the assigned replay and 279 tests. Earlier,npm run checkfailed intestandsdk:check; the targetedtest_standalone_recipe_pins.pyrerun failed on the unmodified base, as did two of the three named Vitest files.ebc820ab7123f0ef4f9f59c36f9703009e2454ae676f866dab5a1c890462bfde, no other modules: checked incoming CC on the auto channel with CC DIRECT CONNECT on and off, and traced all CTRL1/CTRL2 SETUP encoder turns and presses with unkept counter probes. The successful trials rolled back cleanly; the test Part was restored and checked. An earlier expanded-probe attempt ended after USB suspension and could not confirm rollback; a restart verified the installed base and empty set. NRPN itself was not tested.The owner's decisions and required checks are recorded in the document. Related to #2538 and #2436.