Repository navigation
Base: ev_audio_step remapper at 0x400a2d6a (index 63). - #2271
jonathanwardle1992-beep wants to merge 1 commit into
Conversation
Tip-only after upstream repeat98#2271: tip/USB coexistence uses machine-ports for ev_audio_step (order 40; native sources unchanged). Published 0.1.1 .mwrm still Detours (lagsBehind 0.2.1) until owner-approved runtime.json + reviewed recipe rebuild. Fork mop188/189 tip runtime Proven; published rebuild Open. No USB/Accept/upstream merge. Co-authored-by: jonathanwardle1992-beep <jonathanwardle1992-beep@users.noreply.github.com>
Tip-only after upstream repeat98#2271: tip/USB coexistence uses machine-ports for ev_audio_step (order 40; native sources unchanged). Published 0.1.1 .mwrm still Detours (lagsBehind 0.2.1) until owner-approved runtime.json + reviewed recipe rebuild. Fork mop188/189 tip runtime Proven; published rebuild Open. No USB/Accept/upstream merge. Co-authored-by: jonathanwardle1992-beep <jonathanwardle1992-beep@users.noreply.github.com>
Call hook room 8; Play Modes machine-port order 40 replaces pm_audio_step (native sources unchanged). Seq Pos listing tip order 50. Fork mop101/102. Co-authored-by: jonathanwardle1992-beep <jonathanwardle1992-beep@users.noreply.github.com>
a65adeb to
2619cb0
Compare
There was a problem hiding this comment.
Thanks for working on this. A shared audio-step hook makes sense, because Play Modes and Seq Pos both need that spot. Before it can go in:
- Base hooks go on the Octatrack's cumulative base draft (#2246), not straight into main. The owner rebuilds the base, tests it on a unit and releases it from there. Please move this change there (Change a base).
- Hook index 63 is already claimed by the CLYPS base work (#1997), and your #2261 asks for the same number. The board check fails on this. Ask the CLYPS holder on the agent board, or take the next free index.
- This changes how Play Modes hooks in. Play Modes is devilfish707's module, so please get their OK on GitHub or Discord and link it here (Ask the author first).
- The description is still the template. Fill in the Fix/Improvement answers: a "Tested on a unit" line naming the exact base build (or "Not tested on a unit:" and why), an edge-case table (Play Modes alone, Play Modes and Seq Pos together, Undo, a Part change), and a "Guides:" line.
npm run pr:body -- FILE.mdchecks it the way CI does.
Then run npm run pr:ready and push.
Reserve indices 63-68 for owner hooks (repeat98#2261, repeat98#2271, ot_dsp_effects, CLYPS), then add 22 shared Tim Hastie engine take events, regenerate dispatch outputs, and declare synth/cx-osc machine-port subscriptions. Drop the proposals helper.
|
While folding the open base work into the cumulative draft #2333 (base 0.8.4), we found that this hook owns the stock site at The owner's decision (28 Nov 2026): 0.8.4 ships without
@devilfish707, would you be OK with a Play Modes update that moves to 🤖 Generated with Claude Code |
jonathanwardle1992-beep's ev_audio_step remapper moves from index 63 to 64, after ot_lfo_pmtr_dest at 63 (the owner's order, 27 November 2026). events.json takes both entries; events.py regenerates its outputs. octatrack-base-sources.json is the cumulative draft's until the rebuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
npm run octatrack:base -- --beta --write, base-size.mjs --write and octatrack:module-packages -- --base-only after #2261, #2271, the Quadraverb base side, #2286 and #2359. octatrack-module-packages.json is merged row by row from every side (the merges had taken one side whole, which dropped Midiverb 0.2.0's row from main); the base-bound packages and USB Audio keep their bytes, only requiredBase moves. Re-pinned with their images unchanged: USB Audio's reconstruction records (modwerk_events.h), the machine recipes (machine_ports.py; Analog BD recaptured identical) and the candidate recipes (loader build.py). 0.8.4's record and Base page entry name each folded change and its author. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This reverts commit 3c8e4b3, reversing changes made to d892520. Owner, 28 November 2026: #2271 comes in a later base together with a Play Modes release its author agrees to. The published Play Modes 0.2.1 patches 0x400a2d6a, so a base that owns it as ev_audio_step refuses Play Modes (and three test_runtime_loader cases fail). Index 64 stays taken by a placeholder raised hook, ev_hook_reserved_64 (unused-hooks.json), so ot_dsp_effects keeps 65 and #2271 later replaces the placeholder in place. The machine recipes pin machine_ports.py as it was before #2271. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A raised placeholder would be a third event modules raise, which test_runtime_loader keeps to ev_mute_keep and ev_trig_muted; a table with no sites and no reader reserves the index without base code. #2271 replaces it in place, keeping 64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…2002f1) npm run octatrack:base -- --beta --write, base-size.mjs --write and octatrack:module-packages -- --base-only after the revert of #2271, the ot_reserved_64 placeholder and main's #2346. USB Audio's reconstruction records re-pin modwerk_events.h (images unchanged). The record says why 64 is reserved; the Base page drops #2271's line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Call hook room 8; Play Modes machine-port order 40 replaces pm_audio_step (native sources unchanged). Seq Pos listing tip order 50. Fork mop101/102.
A fix or improvement outside a module? Title it
Fix: …,Improvement: …,Docs: …orWorkflow: …(it is labelled from that), keep it to one change, delete everything below and answer these questions in plain words:npm run pr:readyand anything else you ran)| Case | Why this change makes it a risk | How run | Result |, each result pass, fail or "not run: why" (a draft says what it has not run yet); or "none, because …". How to find them)A module or module update: describe the change in behaviour, module version(s), compatibility and source/media attribution. Run it through the test procedure and give its "Tested on a unit" line and its edge-case table under a line "Edge cases". Then say what the guides lacked or got wrong while you built it and link the
Docs:pull request that fixes it, or write "nothing"; the module release itself stays free of guide edits.Before you save this description,
npm run pr:body -- FILE.md(add--draftfor a draft) checks it as CI's describe check will.The checks do the rest.
npm run pr:ready(a registered author:npm run pr:ready -- --author <login>) runs what CI runs: the module contract, version and release notes, compatibility and UI claims, resource and qualification records, documentation and licences. A pull request with a red check is labelledneeds-workand leaves the review queue until it is green; after 14 days without a new commit it is closed, and you can reopen it once it is green. Until your first module is published, one module pull request is reviewed at a time.No check can prove these, so you vouch for them:
docs/module-guides/(andsequencing.mdif it acts in time), and TESTING.md lists what I did not test. An effect module holds one effect.Registered module authors can opt into automatic publication after reviewing all the evidence; a first release leaves both boxes unticked. An update that reaches firmware or hardware addresses the published version did not use goes to owner review instead, and followers hear about an automatic release 48 hours after it goes live:
Reviewer (an assigned device reviewer or a repository maintainer for a first release, the registered author for their own update):
Validation commands and results:
Link issues with "Related to #…"; they are closed after the release is live and its download is verified.
Summary
Base owns the tick audio-step remapper as call hook ev_audio_step at 0x400a2d6a (length 6, guard 1cb5e6a4…, rejoin 0x400a2d74, room 8).
Hook index 63 (next free after ev_frame_deadline 62). Open ot_lfo_pmtr_dest #2261 must rebase to the next free index if this lands first (or this rebases if #2261 lands first).
ABI: int f(unsigned *step, unsigned track) — base loads stock step; subscribers may mutate step; nonzero takes (same pattern as ev_play_increment).
Play Modes coexistence via machine-ports (order 40, pm_ev_audio_step via pm_step_entry, replaces pm_audio_step). Native playmodes sources unchanged; published standalone .mwrm still Detours until a follow-up owner-approved runtime.json.
Seq Pos listing tip (#2269) subscribes order 50 via its runtime.json. PHAS stays off this list.
Regenerated runtime_events., modwerk_events.h, HOOKS.md, site-events.json via events.py --write. Fork mop101/102 pattern.
Test plan
python3 -B sdk/machines/octatrack/events.py --check
python3 -B sdk/machines/octatrack/hook_coverage.py (playmodes machine-port is the user)
npm run modules:compat — 0 problems (Play Modes no longer alone-owns 0x400a2d6a)
Owner base rebuild with OS / hardware as usual for a base hook
Do not merge until owner base review; do not auto-merge
If #2261 merges first: rebase this branch to index 64 before merge
No USB this PR. Owner first-land of the remapper site.
Related: Seq Pos listing #2269; LFO PMTR table #2261 (index collision — rebase whichever is second); fork mop101/102.