Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
1a2c07f
Octatrack base 0.8.5: picks judged by the new pattern after a switch,…
repeat98 Nov 29, 2026
9ea19cb
Octatrack base 0.8.5: regenerate (73282df1)
repeat98 Nov 29, 2026
d2fcfd4
Octatrack base 0.8.5: the base page links its changelog entry
repeat98 Nov 29, 2026
e12dc0d
Octatrack base: a Part change while playing hands trigless tracks the…
repeat98 Nov 29, 2026
7ee1f9f
Octatrack base 0.8.5: regenerate with the Part-switch effects fix (a5…
repeat98 Nov 29, 2026
1bb56d4
Octatrack base: a Part or bank change made while stopped follows when…
repeat98 Nov 29, 2026
b0d756e
Octatrack base 0.8.5: regenerate (5cc37ea5)
repeat98 Nov 29, 2026
a6b5dea
Docs: the driving guide names the playback-start case
repeat98 Nov 29, 2026
660a420
Merge remote-tracking branch 'origin/main' into base/octatrack-next-fx
repeat98 Nov 29, 2026
47c4888
Octatrack base 0.8.5: a hushed machine is netted by what it costs sil…
repeat98 Nov 29, 2026
3023cbd
Octatrack base 0.8.5: the direct DSP evidence follows Recorder Loop F…
repeat98 Nov 29, 2026
9f67624
Octatrack base 0.8.5: review fixes for the paused cost and the switch…
repeat98 Nov 29, 2026
31de6b7
Merge remote-tracking branch 'origin/base/octatrack-next' into base/o…
repeat98 Nov 29, 2026
6fd801e
Octatrack base 0.8.5: regenerate (a14144f5)
repeat98 Nov 29, 2026
808e9d7
Octatrack base 0.8.5: IN USE, where a change would be refused as in u…
repeat98 Nov 30, 2026
20d4f65
Octatrack sync: ask IN USE before sending, and name the track, slot o…
repeat98 Nov 30, 2026
1b60346
Docs: IN USE in the base README, and its changelog entry
repeat98 Nov 30, 2026
809bbb6
Octatrack base IN USE: a leftover answer is never taken for a new que…
repeat98 Nov 30, 2026
1c6c19b
Octatrack base 0.8.5: build part_menu.c and midi_generators.c for size
repeat98 Nov 30, 2026
f7e6be4
Octatrack base 0.8.5: recapture Analog BD's reviewed recipe against t…
repeat98 Nov 30, 2026
95f382b
Octatrack base 0.8.5: regenerate with IN USE (ddb56b72)
repeat98 Nov 30, 2026
e83e915
Octatrack base 0.8.5: rebind the controller readings to the relinked …
repeat98 Nov 30, 2026
c21a7c9
Octatrack base 0.8.5: the cycle-scan unit table names Sidechain's reb…
repeat98 Nov 30, 2026
2813ef9
Octatrack base 0.8.5: the release session's record (twin ad5835d6, re…
repeat98 Nov 30, 2026
c0ed463
Merge remote-tracking branch 'origin/main' into base/octatrack-next-p…
repeat98 Nov 30, 2026
ea785f8
Octatrack base 0.8.6: a played pattern keeps its measured stock
repeat98 Nov 30, 2026
595d8f6
Octatrack base 0.8.6: regenerate (95a5895e)
repeat98 Nov 30, 2026
1a2a79d
Octatrack base 0.8.6: record the base size (1,200 container bytes free)
repeat98 Nov 30, 2026
b103f91
Merge remote-tracking branch 'origin/main' into base/octatrack-next-p…
repeat98 Nov 30, 2026
fc38b24
Merge remote-tracking branch 'origin/main' into base/octatrack-next-p…
repeat98 Nov 30, 2026
2ba0ea6
Merge remote-tracking branch 'origin/main' into base/octatrack-next-p…
repeat98 Nov 30, 2026
db1d02b
Octatrack base 0.8.6: an effect back by a Part change never inits on …
claude Dec 1, 2026
5df9e84
Runtime loader and upload controller to GPL-2.0-or-later (rides Octat…
npp1993 Dec 2, 2026
66359ee
Merge remote-tracking branch 'origin/base/octatrack-next' into claude…
npp1993 Dec 2, 2026
e056c36
Output Matrix 0.2.0-experimental: PHONES VOLUME in CONTROL > METRONOME
npp1993 Dec 2, 2026
8263f27
Output Matrix 0.2.0: record the emulator gate pass
npp1993 Dec 2, 2026
5d3e6aa
Output Matrix 0.2.0: record the MKII trial (PHONES VOLUME, N/A, CUE a…
npp1993 Dec 2, 2026
7af719d
Output Matrix 0.2.0 on base-next: repin its sources (base rebuild blo…
npp1993 Dec 2, 2026
a8e80e9
Octatrack base 0.8.6: recapture Analog BD's reviewed recipe against t…
npp1993 Dec 2, 2026
365a503
Octatrack base 0.8.6: regenerate with Output Matrix 0.2.0 (a1ac4d53)
npp1993 Dec 2, 2026
31774f4
Output Matrix 0.2.0: qualification record from the MKII run (function…
npp1993 Dec 2, 2026
015c9c9
Output Matrix 0.2.0: UI captures of the release, with PHONES VOLUME (…
npp1993 Dec 2, 2026
a8281a3
Output Matrix 0.2.0: README shows the METRONOME captures
npp1993 Dec 2, 2026
3a3c2e9
Output Matrix 0.2.0: CPU price measured on an MKII (0 % of a frame at…
npp1993 Dec 2, 2026
fe357d1
Output Matrix 0.2.0: regenerate the catalogue, drop the 0.1.1 package
npp1993 Dec 2, 2026
63b1a1a
Output Matrix 0.2.0: carry the DSP performance record (same executed …
npp1993 Dec 2, 2026
41396e8
Output Matrix 0.2.0: qualification bound to the final source
npp1993 Dec 2, 2026
c52784c
Output Matrix 0.2.0: compiled packages (pinned toolchain, build-modul…
npp1993 Dec 2, 2026
1195f69
Output Matrix 0.2.0: regenerate the catalogue
npp1993 Dec 2, 2026
72fea6b
Octatrack base 0.8.6: regenerate the cycle-scan unit table after the …
npp1993 Dec 2, 2026
1e7e147
Output Matrix 0.2.0: test procedure record (host steps, unit steps by…
npp1993 Dec 2, 2026
df3b1d8
Octatrack base 0.8.6: record the base size (a1ac4d53)
npp1993 Dec 2, 2026
f06cbe4
Merge pull request #2516 from npp1993/claude/output-matrix-0.2.0
npp1993 Dec 2, 2026
58a121c
Merge pull request #2513 from npp1993/claude/runtime-gpl2
npp1993 Dec 2, 2026
201178e
Octatrack base 0.8.6: no knob step of 0, and a freeze keeps the froze…
repeat98 Dec 2, 2026
148de7f
Octatrack base 0.8.6: regenerate (bcb211e3)
repeat98 Dec 2, 2026
25bb26f
Docs: base 0.8.6's freeze stack in the emulator: the bytes sit right …
repeat98 Dec 2, 2026
1f5999a
Base 0.8.7: FM engine take hooks 69–90 for synth and CX OSC
ilia-murzinov Dec 2, 2026
d3fd740
Docs: propose base hooks for NRPN on a MIDI track's CTRL knobs
huupsel Dec 2, 2026
a82ab74
Docs: add the CTRL SETUP sites read in the 1.40C image
huupsel Dec 2, 2026
2b397bc
Docs: Output Matrix's CUE click loses samples in ot_emu, not on the unit
npp1993 Dec 3, 2026
9b71c54
Merge pull request #2558 from npp1993/claude/docs-om-cue-emulator
npp1993 Dec 3, 2026
a2570ad
Octatrack base: admit Mute Modes 0.2.5 as a table owner beside 0.2.4
repeat98 Dec 3, 2026
ad167e5
Octatrack base 0.8.6: the frame ceiling counts how late the frame ent…
repeat98 Dec 3, 2026
b760763
Octatrack base 0.8.6: regenerate (2b419dec)
repeat98 Dec 3, 2026
25d4e12
Octatrack base 0.8.6: name Mute Modes 0.2.5's changelog entry as the …
repeat98 Dec 3, 2026
3005887
Docs: propose a shared post-FX2 DSP site and a CC-in hook for the Oct…
sandormatyi Dec 3, 2026
9b37ded
Merge base/octatrack-next into the FM engine hooks; base 0.8.7 rebuil…
repeat98 Dec 3, 2026
d6babfa
Docs: record NRPN hook decisions and correct setup site
huupsel Dec 3, 2026
1b89453
Merge base/octatrack-next into hook proposal
huupsel Dec 3, 2026
bfe9264
Merge pull request #2352 from ilia-murzinov/prop/cx-osc-fm-engine-hooks
repeat98 Dec 3, 2026
89d5c81
Docs: record inconclusive MIDI input test
huupsel Dec 3, 2026
dd76799
Docs: record MIDI track input on unit
huupsel Dec 3, 2026
7c329fd
Base: rest unused FM take hooks on the frame path.
ilia-murzinov Dec 4, 2026
65c5333
Docs: unit proof that FM take rests clear CX OSC at-rest cost.
ilia-murzinov Dec 4, 2026
30d7199
Docs: FM Synth at-rest remasure on the take-rest twin (+14.7).
ilia-murzinov Dec 4, 2026
ce66d84
Docs: Synth +14.7 is fm_in_use on this card, not a take-rest miss.
ilia-murzinov Dec 4, 2026
886c300
Base: rebuild 0.8.7 and USB Audio recipes after take rests.
ilia-murzinov Dec 4, 2026
2bca82d
Base: record 0.8.7 size and retarget base-bound packages.
ilia-murzinov Dec 4, 2026
fa89afa
Merge pull request #2603 from ilia-murzinov/fix/fm-take-events-rest
repeat98 Dec 4, 2026
90cde82
Docs: decide NRPN receive routing requirements
huupsel Dec 4, 2026
846c219
Docs: record CTRL setup callback traces
huupsel Dec 4, 2026
a0dcbc2
Docs: identify MIDI learn callback candidates
huupsel Dec 4, 2026
dfe7779
Docs: finalize MIDI CTRL hook design
huupsel Dec 5, 2026
996a944
Merge base/octatrack-next into hook proposal
huupsel Dec 5, 2026
2f1ccbf
Merge pull request #2540 from huupsel/docs/octatrack-midi-ctrl-hooks
repeat98 Dec 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/2026-11-28-octatrack-fm-engine-hooks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Octatrack base: 22 shared FM engine hooks at indices 69 through 90, including a STOP notification and two MIDI mask calls. Indices 66 through 68 remain reserved for CLYPS.

The private FM adapter supplies the call callbacks, removes old detours and rest declarations, and covers the 10-byte live-record hook without changing Tim's manifest. Its refreshed hash-only recipe avoids the patched AMP editor site; hook and stock-tail documentation is corrected.

A new release package and hardware qualification remain with the owner. FM Synth and CX OSC together remain unproven; the current synth take records claim every call.
2 changes: 2 additions & 0 deletions changelog/2026-11-29-octatrack-post-fx-cc-hooks-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Documented the design of a shared post-FX2 DSP site (site 2 as a chain) and a shared MIDI CC-in hook for the Octatrack base, with the owner's decisions and the hook's planned subscribers.
This is a design only; the base, its hooks and every module are unchanged.
4 changes: 4 additions & 0 deletions changelog/2026-11-30-octatrack-pattern-stock-cache.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Octatrack base: a pattern you have played keeps its CPU answer.

- A module pick on a pattern that hasn't played for four seconds was judged by a cautious estimate from its trigs, so the same pattern could say CPU FULL while stopped or right after a pattern change and take the same module while playing. The base now keeps what it measured on the last eight patterns you played, for ten minutes, and a pick on one of them gets the answer it got while it played.
- Other trigs, another Part, a project load or a set change go back to the estimate until the pattern has played again.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix: on the Octatrack, a reverb or delay that comes back to a track with a Part or bank change no longer shares its buffer with another track's effect. Before, when that track's buffer had gone to another track in the meantime, both effects ran in one buffer, smeared or ringing on both tracks until one of them changed effect. Now the returning effect waits dry for a moment until its own buffer is set. Found by reading the code; not yet heard or tested on a unit.
1 change: 1 addition & 0 deletions changelog/2026-12-01-runtime-loader-gpl2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Runtime loader and upload controller: their C sources (`sdk/runtime/loader`, `sdk/runtime/upload`) are now GPL-2.0-or-later, with their authors' agreement, so a base whose release set may hold GPL-2.0-only modules (the Analog Rytm MKII's) can carry the loader. Two small loader checks (an engine's price per voice, the machine's look at a rebuilt DSP image) were rewritten; they accept and refuse the same packages. The Octatrack base is built from these files, so it is rebuilt with base 0.8.6.
1 change: 1 addition & 0 deletions changelog/2026-12-02-fm-hooks-base-pins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Octatrack base: FM engine hooks refresh USB Audio and Analog BD recipe pins and the committed base; `ep0.c` builds for size so the hooks still fit the flash slot.
1 change: 1 addition & 0 deletions changelog/2026-12-02-octatrack-base-0-8-7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Octatrack base 0.8.7: rebuild after the FM-hooks host package limit and USB Audio recipe refresh so the committed base matches its sources.
4 changes: 4 additions & 0 deletions changelog/2026-12-02-octatrack-knob-step-freeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Octatrack base: a module knob with a very long range can no longer freeze the unit, and a freeze says who caused it.

- Turning a module's knob that has more than 32,768 values gave the Octatrack's knob code a step of 0, and the screen froze until a power cycle. The knob now moves 256 values a detent instead. No released module has such a knob; this closes the door before one does.
- When the screen freezes, the unit's own log now also keeps what the frozen code was doing, so a shared diagnostics record can name where it got stuck. One unit froze this way in a knob turn on 30 November, and its record could not say why.
1 change: 1 addition & 0 deletions changelog/2026-12-02-octatrack-midi-ctrl-hooks-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Octatrack: a design for NRPN on a MIDI track's CTRL knobs. It proposes the base hooks first; nothing is built and nothing changes on the unit.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Octatrack beta base accepts Mute Modes 0.2.5 beside 0.2.2, 0.2.3 and 0.2.4, so the next base can run the new NEIGHBOR chains, THRU, PICKUP and muted-trig locks once that update is published.
5 changes: 5 additions & 0 deletions changelog/2026-12-03-octatrack-part-change-click.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Octatrack base: fewer clicks at a Part change with module machines.

- A pattern change to another Part, with notes on the new pattern's first step, could click loudly on every track for a moment when the Part held module machines such as FM Synth or Amiga. The two busy moments came right after each other, and the unit missed one frame of audio. A tester found that moving those first-step notes a hair later stopped it.
- Now the base sees the second busy moment coming and leaves a module machine's track silent for a third of a millisecond, too short to hear, so no audio frame is missed.
- Found from a tester's shared diagnostics and their workaround. Not yet heard on a unit.
1 change: 1 addition & 0 deletions changelog/2026-12-04-fm-take-events-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Octatrack base: unused FM machines leave the frame-path take hooks (LFO depth, frame source, retrig, kill, release, STOP), so a take-only module such as CX OSC costs nothing at rest.
2 changes: 1 addition & 1 deletion docs/MODULE_PERFORMANCE.md

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions docs/OCTATRACK_MIDI_CTRL_HOOKS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# MIDI track CTRL SETUP hooks and NRPN (design, for owner review)

Status, 5 December 2026: the owner agreed to the proposed hooks and confirmed that the unit traces below answer the
checks required for this design. The proposed hooks and module are not built. The addresses were first identified by
static readings of the 1.40C image, including [MIDI_TRACKS.md](../sdk/octabam/docs/MIDI_TRACKS.md); the unit traces
confirm the specific encoder and press callbacks described below, not every address or route. Entries, lengths and
guards in `events.json` need a real OS file (CI has no firmware).

## Why

A MIDI track's CTRL1 and CTRL2 pages send CC 0-127 only. The first module, **MIDI NRPN** (draft #2538), adds NRPN
to those knobs: past CC 127 in a knob's SETUP list the value reads `NRPN`, and pressing the knob there opens a page for
the NRPN number (MSB, LSB) and the value size (7 or 14 bit). A knob set to NRPN sends and receives that parameter.

Stock offers no way to do this without patching its sites, and those sites are shared with other work: CC Map patches
the CC handler, and the Midi Mode 2 draft (`sdk/drafts/midi-cc-slots`) reuses CTRL1 SETUP's hidden bytes. Brain-style
modules that rename CTRL knobs reach the same page. So the sites belong in the base, and the NRPN module is the first
subscriber. It builds and works as the only module chosen.

## What is proposed

| Hook | Kind | Stock site | When | Why the base, not the module |
| --- | --- | --- | --- | --- |
| `ev_midi_cc` | call | 0x4000e79c (proposed in #2436) | an incoming CC reaches stock's CC handler | NRPN is the second subscriber after the post-FX2 filter: it **reuses** #2436's hook and adds none |
| `ev_ctrl_setup_knob` | take | candidates 0x4003a7f4 (CTRL1) and 0x4003a700 (CTRL2), reached by encoder turns on the unit; hook placement and writer route still need confirmation | an encoder turns on CTRL1 or CTRL2 SETUP, before the writer's `cc <= 127` check | stock clamps at 127, so the number cannot go on without taking the turn |
| `ev_ctrl_setup_text` | take | the value-name lookups 0x4003fb32 (CTRL1 draw 0x4003f9ac) and 0x4003f60c (CTRL2 draw 0x4003f490) | SETUP is about to print a slot's value text (the CC name table 0x400be882, `%.8s`) | the row must read `NRPN` and, on its page, the MSB, LSB and size |
| `ev_ctrl_setup_press` | take | candidates 0x4003fc44 (CTRL1) and 0x4003f71c (CTRL2), reached by presses on the unit; hook placement still needs confirmation | a knob is pressed on CTRL1 or CTRL2 SETUP | opens the NRPN page; stock's press on SETUP does nothing the module needs to keep |
| `ev_ctrl_value_send` | take | 0x4009eec8 (sends one page-1 value: `t`, `flat` 18 PB, 19 AT, 20-29 CC, `value`, `force`) | stock is about to send a MIDI track's knob value | one site covers a knob turn, an LFO, a p-lock and a scene, so an NRPN knob sends the same way in each |

The three SETUP hooks follow the precedent of `ev_arp_setup_knob` and `ev_arp_setup_text`: a take hook that gives one
subscriber the turn or the draw, with `claims` limited to the slot it owns, and that replays stock for everything else.
Their prototypes mirror those two, with the slot (0-9) and the track as arguments. The order bands: 10-29 for a module
that owns a slot's number, 40-69 for one that only observes.

## Sites found in the 1.40C image (2 December 2026)

The static reading used `m68k-elf-objdump -m m68k:cfv4e` on the main OS section, with
`address = 0x40000400 + file offset`. The later unit traces confirm the callbacks specifically identified below.

- **The page.** CTRL1 SETUP is a window. 0x40059620 builds it (or jumps to its destroy function when it exists) and
keeps it at 0x400bc9ba; its descriptor holds the destroy function 0x400567e0 and the draw 0x4003f9ac. CTRL2 has the
same layout: build 0x4005948c, destroy 0x400567b8, draw 0x4003f490 (its window address is not read yet).
- **MIDI-learn candidates.** The four records at 0x400bc6ec use 0x4004ad80, and the six at 0x400bc9e6 use
0x4004acf8. On event 1, these set the learn index to 0-3 and 4-9 respectively and open an edit overlay through
0x4006d57c; both call the CTRL1 redraw. This is a static reading, not a unit trace of the event that reaches them.
- **Correction: 0x4004ae08.** An earlier revision called this the CTRL value writer. It writes NOTE SETUP, redraws
through 0x40036548 and sends bank and program changes. The CTRL writers and the CTRL2 row callback are instead
listed in [MIDI_TRACKS.md](../sdk/octabam/docs/MIDI_TRACKS.md): 0x4003fd34, 0x4003f80c and
0x4003f71c. The unit traces below locate encoder and press callbacks, but do not establish the full route to the writers.

## Sites already in use

- **0x4004ae08.** Midi Mode 2 detours this NOTE SETUP writer for its track-name editor. Leave its existing detour
alone unless a shared NOTE SETUP hook is separately designed; do not attach the CTRL hook here on the assumption
that it writes CTRL values. Confirm the actual shared sites and migration with its author before implementation.
- **0x4009eec8.** Midi Mode 2 calls this emitter, and MIDI Scenes calls it when a scene value changes. Neither call
needs changing if the base owns the entry. A take for an NRPN-configured track and slot translates MIDI Scenes'
value to NRPN instead of sending its stock CC; all other sends continue through stock. Verify both modules together
on a unit before release, including a scene with and without an NRPN assignment.

## How NRPN uses them

- **Storage.** Stock clamps every Part byte of a MIDI track to its page's range, so an NRPN number cannot live there.
The module keeps a sparse list in the project's `project.work` (`ev_project_load`, `ev_project_write`), keyed by
bank, Part, track and slot, with the MSB, LSB and size. The stock CC byte of an NRPN knob holds 127, so with the
module removed the knob falls back to a plain CC 127 and nothing breaks. A list entry marks the knob as NRPN.
- **Sending.** At `ev_ctrl_value_send` the module takes a value on an NRPN knob and sends CC 99 and CC 98 (only when
the number differs from the last one sent on that channel), then CC 6 and, in 14 bit, CC 38, through stock's send
primitive 0x40010bc8. Everything else returns to stock.
- **14 bit.** The knob's value is one byte (0-127), so 14 bit gives the full parameter range, not finer steps: the
module sends `value * 16383 / 127`. Finer steps would need the encoder's own resolution, which this does not propose.
- **Receiving.** At `ev_midi_cc` the module handles CC 99, 98, 6 and 38 for configured NRPN knobs, accounting for
the project's auto channel and both CC DIRECT CONNECT modes, rather than matching only the track's output channel.
Preserve stock handling for unrelated messages and mappings. A complete NRPN sets the knob's value through the
page-1 writer 0x40054cd8 (`8 + t`, `20 + slot`), which calls 0x4009eec8; the module marks that write so
`ev_ctrl_value_send` does not send it straight back out. The exact routing and consumption rules still need design
and testing for both modes.
- **RPN and the rest.** CC 101 and 100 pass to stock, and an RPN select ends a pending NRPN select. Notes, clock,
start, stop and SysEx are not touched.

## Owner's decisions and required checks

The owner agreed to the four SETUP and send hooks, conditional on confirming the sites on the unit before claiming
any hook index. Add them after the FM hooks (#2352) and scale hooks (#2415), with guards and NRPN as first subscriber.
Draw the NRPN page through `ev_ctrl_setup_text`, store settings per Part in `project.work`, and use the scaled 7-bit
knob for the full 14-bit range.

**Incoming CC, MKII, 3 December 2026.** On temporary development base
`ebc820ab7123f0ef4f9f59c36f9703009e2454ae676f866dab5a1c890462bfde`, with no modules loaded, MIDI track 1's
enabled CC1 was assigned CC7, its output channel was 1, and the project's auto channel was 11. With CC DIRECT
CONNECT enabled, channel 11 CC7 values 23, 96, 0 and 127 moved the knob to those values; channel 1 CC7 did not
move it from 107. With CC DIRECT CONNECT disabled, channel 11 CC7 did not move the knob, but CC36 values 96 and
32 did. This checks one knob, not all tracks or slots. Each message advanced the MIDI receive FIFO by three bytes;
as a separate positive control, channel 1 CC16 moved audio track 1's pitch with AUDIO CC IN enabled. The project's
direct-connect setting was restored, and the test Part matched its original bytes before restarting. The release base
does not permit the same memory check after restarting. The receive design must account for the auto channel and both
direct-connect modes; matching only the MIDI track's output channel would miss this observed input.

**Row trace, MKII, 4 December 2026.** On the same development base, a private, unkept probe
(`081b84b43ed1c76c99bdf883862c70c9856f3d8b55cfd50ba3d5a80c53faf8f4`) counted candidate entries and replayed the
displaced instructions. With no other modules loaded, pressing each CTRL1 SETUP CC1-4 knob advanced the counter at
0x4003fc44 by two per press; pressing each CTRL2 SETUP CC5-10 knob advanced 0x4003f71c by two. During those presses,
0x4004acf8, 0x4004ad80, 0x4003fd34, 0x4003f80c and 0x4004ae08 did not count. Turning each of those ten encoders
changed the displayed setup values but did not advance any of the seven counters. These observations identify the
tested press callbacks, not the encoder's route or every possible event. The probe rolled back without a logged crash,
stall, freeze or skipped track. The test Part matched its original bytes before restarting; after restart the installed
base reported zero saved and live modules.

**Encoder trace, MKII, 4 December 2026.** On the same development base, an expanded private, unkept probe
(`2ef58b0be602d572fec90e38307f60e2ddf671627622b022b39c59a694b2bf63`) counted nine candidate entries, with no
other modules loaded. One turn of each CTRL1 SETUP encoder C-F advanced 0x4003a7f4 once; one turn of each CTRL2
encoder A-F advanced 0x4003a700 once. Each corresponding press again advanced 0x4003fc44 or 0x4003f71c twice.
The counters at 0x4004acf8, 0x4004ad80, 0x4003fd34, 0x4003f80c and 0x4004ae08 stayed at zero during these actions;
that does not rule out other contexts. Static disassembly indicates that the two encoder routines stage and clamp
values; the counters alone do not prove their full route to the writers. The trial was deliberately interrupted and
reported a clean rollback, with no logged crash, stall, freeze or skipped track. The test Part matched its original
bytes before restarting; the installed base then reported zero saved and live modules.

An earlier expanded-probe attempt ended prematurely after USB suspension and could not confirm rollback. After a
restart, the installed base and empty set were verified. The successful retry kept the Mac awake, but does not prove
what caused the interruption.

## What comes next

After the FM and scale hooks: check the MIDI-learn siblings, the exact take point before the clamp and the route from
the encoder callbacks to the writers while adding the guarded entries to `events.json`. Regenerate with
`python3 -B sdk/machines/octatrack/events.py --write` and give each hook its subscriber in the MIDI NRPN module
(so `test_hook_coverage.py` passes). MIDI LEARN on an NRPN knob writes a plain CC number through the stock writers;
decide whether the module drops or keeps that knob's NRPN entry, and test the chosen behavior. Test the first
subscriber on a unit, including send, receive and removing the module while an NRPN knob is set. CC Map moves to
`ev_midi_cc` as #2436 describes.
Loading