Skip to content

Octatrack base: DSP hook chains, so several packaged DSP machines share a hook site - #1418

Merged
repeat98 merged 19 commits into
repeat98:mainfrom
Zac-Kyoti:dsp-hook-chains
Nov 18, 2026
Merged

repeat98 merged 19 commits into
repeat98:mainfrom
Zac-Kyoti:dsp-hook-chains

Conversation

@Zac-Kyoti

@Zac-Kyoti Zac-Kyoti commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

@repeat98 The hook-slot PR you cleared on #1098: Phase 1's generic DSP hook slots, built as the per-feature chain you approved there ("the chain is what I meant by hook slots"), with the ledger rule as it is.

  • What was wrong or hard: the beta base has one packaged DSP engine slot at site 5 (the per-track sound source), and Analog BD holds it. A second packaged DSP machine (BlackPyramids is next, BlackPyramids_303 on Modwerk, beside Sidechain Compressor: a proposal and some questions #1064) could only install by taking the site from Analog BD or by a base built for it.
  • What this changes:
    • Chain sites. dsp-sites.json gives site 5 "kind": "chain" with its "features" in call order. The resident stub calls each enabled member's engine in turn (one long bsr each; a dormant member is a lone rts), then replays stock.
    • Leaving the chain. A member that renders the track leaves through its exit, which the receiver aims at the chain's trampoline: it drops the site's return, then takes the stock exit (mw_engine_exit_of(site, core), generated). A member that doesn't render returns, and the track passes on.
    • Regions and machines. Regions stay ledger-declared per feature ("neither the host nor a module can name a DSP address"), so a new DSP machine is a new ledger feature plus its trust row, in its own module PR.
    • Engine arrays follow the ledger (MW_ENGINE_FEATURES = MW_DSP_COUNT; the dev view stays 4).
    • Machine controllers are named by their port's "lease" in machine-ports.json: machine_lease_policy.py replaces the Analog BD-named policy, and build.py and base_bound.py read it. analog_bd_write_lease.py is untouched (Analog BD's native observations pin it).
    • A latent receiver bug fixed on the way: dsp_asm substitutes labels as text, so a label that prefixes another breaks (hwchk1 and hwchk16). Receiver labels are padded to three digits, and the reset cursors are generated by the receiver.
    • Regenerated:
      • The beta base, as 0.7.8 (main is at 0.7.7; refreshed on 18 November 2026): identity a2c2edb2…, package 7052e20c…; the browser .bin equals build_core.py's, 614b3cb8…. Its widest layout (TRACKS POST) is 1,322,139 bytes, under the 1.5 MiB Improvement: Octatrack base hooks for project, bank and Part loads and saves, and a base up to 1.5 MiB #1564 allows; packed, +168 bytes since 0.7.7, 49,436 bytes of the flash slot free (base-sizes.json).
      • The base-bound packages (Analog BD 0.1.7, Output Matrix 0.1.1, Sidechain Compressor 0.2.2, CC Map, Recorder Loop Fix) name base 0.7.8: only their calls into the base move. Sidechain Compressor installs 0.2.2 over USB (its lag removed, as agreed).
      • Analog BD's machine recipe, recaptured against base 0.7.8: imageSha256 20dd04a7….
      • build.py / machine-ports.json pins in the other machine ports (images unchanged), the standalone and candidate recipes, and Pattern Sample Locks' host recipe. Play Modes' recipe takes only build.py's new pin, as its declared lag needs.
  • How I checked it:
    • test_resident_* in the toolchain container, after merging main on 16 November: 44 tests (43 pass; test_resident_placement's native-host test skips, as the image has no compiled DSP host), with the real resident engine in the DSP56300 simulator. test_two_packaged_engines_share_a_chain_site puts a second, made-up member (feature 16) beside Analog BD's: each renders only its own tracks, the stack is balanced at the site (stock SP = 0 at site 5 on both cores, ot_emu --dsp-pcwatch), and a mutated trampoline that skips the pop is caught.
    • The packages, rebuilt with scripts/build-modules-isolated.sh in the toolchain image from this commit, equal the committed ones (same source tree, 69376c58…); octatrack:module-packages -- --check passes.
    • The base build's own checks pass: the browser .bin equals the native one, every change sits inside a declared site, and the bootloader's Startup Menu recovery stays available.
    • The package scans pass, and octatrack:module-packages -- --check passes.
    • npm run pr:ready: Ready.
    • Tested on a unit: development twin d3d71297 of base 0.7.8 (a2c2edb2, the same build plus --dev), MKII, OS 1.40C, RAM-booted, 18 November 2026, with Analog BD 0.1.7 bound to the twin (0f74258b). Install and Keep: no crash, stall, freeze or skipped track. Analog BD on T1 (project Tresor Prep, B01, one trig a bar) recorded over USB audio: one 52 Hz hit a bar, decaying over ~200 ms, where FLEX gave the loop (13 onsets in 8 s); the chain renders it. T1 back to FLEX, removal accepted, inventory empty. A 20 s trial without Keep rolled back to the empty set (3df50a78). Main's 0.7.7 twin 5412b595 placed and picked Analog BD the same way. Not run there: a power cycle with the module kept, MKI, a second packaged machine (comes with BlackPyramids).
    • Tested on a unit: the release base a2c2edb2 itself, MKII, OS 1.40C, 18 November 2026. Updated from flashed 0.7.7 (dbdf7e5d) through the site's own base update (local build of this branch): it went through and the unit restarted from flash on 0.7.8 (its USB-audio-off variant 931a91bd) with its kept set. Then a2c2edb2 RAM-booted: the published Analog BD 0.1.7, Sidechain Compressor 0.2.2 and Output Matrix 0.1.1 installed and kept one by one (no crash, stall, freeze or skipped track); booted again, the card set came back (3 saved, 3 live); a 20 s trial removal of Output Matrix rolled back with all three still in place. Not run on this build: sound (keys need a development build; the twin recording above is the sound evidence), Sidechain's ducking, a cold power cycle on a2c2edb2.
  • What the guides lacked or got wrong, and where I fixed it: docs/OCTATRACK_PACKAGE_DSP_HOOKS.md described one packaged engine per site and a status from 20 October. It now has the chain and the current status. Changelog: changelog/2026-11-03-octatrack-dsp-hook-chains.md.

Related to #1098 and #1064.

🤖 Generated with Claude Code

Zac-Kyoti and others added 4 commits November 10, 2026 16:25
…re a hook site (repeat98#1098)

dsp-sites.json gives site 5 the kind "chain" with its features in call order. The resident stub
calls each packaged member in turn (a dormant member is a lone rts), then replays stock; a packaged
engine leaves through the chain's trampoline. Engine arrays follow the ledger (MW_ENGINE_FEATURES =
MW_DSP_COUNT), and machine controllers are named by their port's "lease" in machine-ports.json
(machine_lease_policy.py replaces the Analog BD-named policy). Regions stay ledger-declared per
machine. Analog BD's package code is unchanged. Two-member chain test in test_resident_engines.

Replayed from the reviewed prototype (3e70e47d..32bbd838) onto current main; generated files are
main's here and regenerated in the following commits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ked (Analog BD, Output Matrix, Sidechain Compressor); Analog BD's recipe recaptured; build.py pins refreshed in the standalone and candidate recipes

Analog BD's machine recipe: imageSha256 6d3a27ab -> 44ac9e07 (the base's link moved) and its build.py
and machine-ports.json pins. Play Modes' standalone recipe takes only build.py's new pin (its other
pins stay 0.1.1's, as its declared lag needs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orts' recipes (POLY8, Quantizer, Synth, VECTOR: images unchanged) and Pattern Sample Locks' host recipe

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98

Copy link
Copy Markdown
Owner

Thanks Zac, this is the chain I had in mind, and the code reads well: no hook index moves, no module source changes, and the dormant path costs what it does today. Three things before it can go in:

  1. Main now has Analog BD 0.1.7 (Analog BD 0.1.7: the recorded-909 engine at half the DSP load #1413), so the branch conflicts in the 0.1.6 package and octatrack-module-packages.json. Please merge main (no rebase), rebuild the base, relink 0.1.7 with its recipe and policy pins, and run pr:ready until it says Ready.
  2. In sdk/tests/test_resident_engines.py the new chain test has its skipUnless line twice, and test_disabling_one_engine_leaves_another_engines_base_word_alone just below lost its own, so it errors instead of skipping where the simulator build is missing.
  3. The new test leaves Analog BD out on core A ("voice faults here (LIMIT)"). What faults there, the harness or the engine? I'd like that case covered, or a line saying why it can't be.

Once it's refreshed it's ready for a run on a unit before it merges.

Zac-Kyoti and others added 4 commits November 11, 2026 15:07
…skipUnless per simulator test

Review on repeat98#1418. The core-A fault was the harness's: Analog BD's glue takes its voice block from
VBASE + 2 * X:$418 (the voice stock is rendering), which the test never set, so the filled random
word sent core A's block outside the interpreter's memory. With X:$418 = 0 core A's working path runs
to the stock exit (210 instructions, bit-exact placed vs resident), the 160-instruction LIMIT is gone,
and the chain test covers Analog BD on both cores. The chain test had its skipUnless twice and the
next test none, so that one errored without the simulator; each now has one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	public/octatrack-modules/analog-bassdrum/0.1.7-experimental.mwrm
#	sdk/machines/octatrack/base-binding.json
#	src/engine/assets/octatrack-base-variants.json
#	src/engine/assets/octatrack-base.elemod
#	src/engine/assets/octatrack-module-packages.json
…; 0.1.7 relinked to it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….2 (the same code as 0.2.1)

The base moves, so the base-bound package has to be rebuilt; a declared lag keeps a package as it is
(octatrack-module-packages.py), so the lag goes and the USB package is 0.2.2: 0.2.1's code, relinked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Zac-Kyoti

Copy link
Copy Markdown
Contributor Author

@repeat98 Thanks. All three are pushed (93346531d):

  1. Merged main (no rebase) with Analog BD 0.1.7 and Sidechain Compressor 0.2.2: ColdFire units join the DRAM runtime when the set has one (#1175) #1195. I rebuilt the base (package 264c7998…; browser .bin = build_core.py's, 4cc20989…) and relinked 0.1.7 to it. Its recipe didn't move: 0.1.7 reconstructs to the same 44ac9e07… against this base. pr:ready says Ready.
    One decision for you: Sidechain Compressor 0.2.2: ColdFire units join the DRAM runtime when the set has one (#1175) #1195 had just landed with Sidechain's USB package lagging at 0.2.1. The base moves here, so that base-bound package has to be relinked, but octatrack-module-packages.py keeps a declared lag as published ("remove both keys to rebuild it"). So I removed the lag, and the USB package is now 0.2.2: 0.2.1's code, relinked to the chain base (0.2.2 changed only the card placement). If you'd rather keep a 0.2.1 label over USB, say so and I'll find another way.
  2. skipUnless: one per simulator test now. test_disabling_one_engine_leaves_another_engines_base_word_alone skips again without the simulator, and both skip on a machine without it.
  3. The core-A case: the harness, not the engine, and now covered. Analog BD's glue takes its voice block from VBASE + 2 * X:$418 (the voice stock is rendering). The tests never set X:$418, so the filled pseudo-random word sent core A's block to X:$f598xx, outside the interpreter's memory. Core B's random value happened to land inside it.
    • With X:$418 = 0 in Analog BD's active record, core A's working path runs to the stock exit: 210 instructions, bit-exact placed against resident.
    • The old 160-instruction LIMIT in test_placed_engine_runs_bit_exactly_as_the_resident_one is gone.
    • The chain test now runs Analog BD, the member and stock on both cores.
    • test_resident_* in the toolchain image: 44 OK.

Ready for a run on a unit whenever you have your MKII to hand.

@repeat98

Copy link
Copy Markdown
Owner

Thanks Zac, all three are in: one skipUnless per simulator test, Analog BD runs to its exit on core A with X:$418 set, and 0.1.7 is relinked to the rebuilt base.

Sidechain as 0.2.2 over USB: yes. The card builder is gone since this morning (#1451, #1453), so there's no card placement left for 0.2.2 to differ in, and the USB package should simply carry the catalogue's version.

#1453 landed on main after your push. It removes the card composer and touches neither the base nor your files, and the branch still merges cleanly, so there's nothing to refresh for it.

One question: twwwy noted on the board that test_resident_engines fails on a clean main where the DSP assembler is present, because UNIT_WORDS still expects 1,009 words for Analog BD's engine and 0.1.7 builds fewer. Your branch keeps 1,009 and you report 44 OK in the toolchain image. Which is it on your side: does the chain's engine come to 1,009 again, or did that test not run? CI can't tell us, it has no assembler.

What's left is my run on the MKII (Analog BD keyed, Keep/Undo, removal). I'll take this one first, since it's level with main; #1165 rebuilds the base as well and goes in after it. I'll write here once it has run.

Zac-Kyoti and others added 2 commits November 12, 2026 13:52
# Conflicts:
#	sdk/machines/octatrack/base-binding.json
#	src/engine/assets/octatrack-base-variants.json
#	src/engine/assets/octatrack-base.elemod
#	src/engine/assets/octatrack-module-packages.json
…ds since 0.1.7

test_resident_engines expected 0.1.6's 1,009 (twwwy, on the board): it fails on main as on this
branch wherever the DSP assembler is present; CI has none. The chain does not change the engine.
Sidechain Compressor's USB package stays 0.2.2 on the rebuilt base (agreed on repeat98#1418).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Zac-Kyoti

Copy link
Copy Markdown
Contributor Author

@repeat98 Thanks, and twwwy is right. My "44 OK" was out of date: I ran it before merging Analog BD 0.1.7 into the branch and didn't run the simulator tests again after the merge. That was my mistake.

  • What it is: UNIT_WORDS expected 0.1.6's 1,009 words for Analog BD's engine, and 0.1.7 builds 1,004. On a clean main with the assembler present, test_real_units_relocate_alike_in_c_in_python_and_freshly_assembled fails with 1004 != 1009, and the same on this branch. The chain doesn't change the engine's size.
  • Fixed here (f607b9646): UNIT_WORDS[4] = 1004, with a line saying it's 0.1.7's engine. main gets the fix when this merges.
  • This time after merging current main: test_resident_* in the toolchain image, 44 OK (1 skipped).
  • Also merged main again, which had rebuilt its base. The base is rebuilt with the chain (browser .bin = build_core.py's, 789af3f8…), the base-bound packages are relinked, Sidechain stays 0.2.2 over USB as agreed, and pr:ready says Ready.

Over to your MKII run.

@repeat98

Copy link
Copy Markdown
Owner

Thanks Zac, and for setting the record straight on the 1,004 words. The test fix is right.

#1492 landed this morning and rebuilt the base again, so the branch conflicts with main in the base files once more (base-binding.json, the .elemod, the base variants and sources, the module packages). Could you merge main one more time (no rebase), rebuild the base, relink the base-bound packages and run pr:ready until it says Ready? This one still goes in first; the other base pull requests rebuild after it.

The red module-suites run isn't yours: a Zoom link test hit its 5-second timeout, in code this branch doesn't touch. It runs again with your push.

My MKII run comes on that refreshed build.

Zac-Kyoti and others added 2 commits November 13, 2026 12:51
# Conflicts:
#	public/octatrack-modules/analog-bassdrum/0.1.7-experimental.mwrm
#	public/octatrack-modules/output-matrix/0.1.1-experimental.mwrm
#	public/octatrack-modules/sidechain-compressor/0.2.2-experimental.mwrm
#	sdk/machines/octatrack/base-binding.json
#	sdk/machines/octatrack/module-adapters/controller-policies.json
#	sdk/machines/octatrack/module-adapters/machine-recipes.json
#	src/engine/assets/octatrack-base-sources.json
#	src/engine/assets/octatrack-base-variants.json
#	src/engine/assets/octatrack-base.elemod
#	src/engine/assets/octatrack-module-packages.json
…ages relinked; Analog BD's recipe recaptured (cd17acc9) and build.py pins refreshed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Zac-Kyoti

Copy link
Copy Markdown
Contributor Author

@repeat98 Refreshed (f806213b3): main merged with #1492 (no rebase), base rebuilt with the chain (browser .bin = build_core.py's, 7ad232eb…), base-bound packages relinked (Analog BD 0.1.7, Output Matrix 0.1.1, Sidechain Compressor 0.2.2, CC Map, Recorder Loop Fix), Analog BD's recipe recaptured against it (3b1c41ae → cd17acc9, image only), and build.py pins refreshed. Sidechain stays 0.2.2 over USB as agreed. test_resident_* in the toolchain image after the merge: 44 OK. pr:ready says Ready. Ready for your MKII run.

@repeat98

Copy link
Copy Markdown
Owner

Thanks Zac. I refreshed this on today's main. Analog BD's recipe recaptures to your cd17acc9, but the base comes out 70 bytes over what older units take in one USB update, in the TRACKS POST layout. Making room in the base isn't planned yet, so this waits, and there's nothing to do on your side. I'll come back here when there's room.

@Zac-Kyoti

Copy link
Copy Markdown
Contributor Author

@repeat98 Since #1564 the build holds a released base to 1.5 MiB, and today's main is already 1,311,134 bytes in TRACKS POST, so units on pre-13-November bases take the next base as two updates either way. Measured on today's main, #1418 adds 139 bytes (default layout), well inside 1.5 MiB and the flash slot. Does that make room for it now?

If so, I'll merge main again (no rebase), rebuild the base, relink the base-bound packages, rerun the simulator tests and pr:ready, and it's ready for your MKII run.

Separately, if you'd rather keep the base small: using a per-chain exit pair read inline instead of mw_engine_exit_of, and a bit test for a one-member chain, brings the growth to 4 bytes. I'd keep the form you reviewed unless you want this one.

@repeat98

Copy link
Copy Markdown
Owner

Thanks Zac, you're right: since #1564 and #1557 a base up to 1.5 MiB reaches older units as two updates, and main is already past 1.25 MiB in TRACKS POST, so the 70 bytes no longer block this. Please keep the form I reviewed; 139 bytes is fine.

Go ahead: merge main (no rebase), rebuild the base, relink the base-bound packages, recapture Analog BD's recipe, rerun the simulator tests and pr:ready. The conflicts are all regenerated files, controller-policies.json included, so regenerate rather than resolve by hand.

One addition while you're rebuilding: please drop 'modulation' and 'spectrum' from FX in sdk/machines/octatrack/elekloader/dsp_packages.py. Both modules are gone, so dsp_packages.py fails where the DSP assembler is installed. It's a base input, so it's best on this base rather than costing users a separate base update. Tim found it in #1585. My MKII run follows your push.

…hain

- Generated files taken from main, then regenerated: base 0.7.6 (c14b4d4c...; browser .bin = build_core.py's,
  c4e40914...; widest layout 1,321,641 bytes, under 1.5 MiB), base-binding, controller-policies, base sources and
  variants, base-versions.
- Analog BD's recipe recaptured against the new base symbols (image cd17acc9, as on f806213).
- build.py / machine-ports.json pins refreshed in the machine, standalone, candidate and reconstruction recipes.
- Base-bound packages relinked (requiredBase c14b4d4c); Sidechain Compressor stays 0.2.2 over USB (lag removed, as
  agreed). octatrack:module-packages --check passes.
- dsp_packages.py: main's repeat98#1475 already dropped modulation and spectrum from FX.
- test_resident_* in the toolchain image: 43 pass, 1 skipped (needs a native DSP host binary the image lacks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es since 0.7.5, 50,100 free

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Zac-Kyoti

Copy link
Copy Markdown
Contributor Author

@repeat98 Refreshed (3ec0ac6b7), keeping the form you reviewed:

  • main merged (no rebase, at 30220a15). The conflicts were all generated files: I took main's and regenerated them, controller-policies.json included.
  • Base rebuilt as 0.7.6 (base-version.json; main's 0.7.5 is already published): identity c14b4d4c…, browser .bin = build_core.py's, c4e40914…. TRACKS POST is 1,321,641 bytes; packed, +176 since 0.7.5, 50,100 free (base-sizes.json recorded).
  • Analog BD's recipe recaptured to cd17acc9, as you found. build.py / machine-ports.json pins refreshed in the recipes.
  • Base-bound packages relinked; Sidechain Compressor stays 0.2.2 over USB. octatrack:module-packages -- --check passes, and build-modules-isolated.sh from this commit reproduces the committed packages.
  • test_resident_* in the toolchain image: 43 pass, 1 skipped (test_resident_placement's native-host test; the image has no compiled DSP host).
  • pr:ready: Ready.
  • dsp_packages.py: main's Improvement: Octatrack base 0.7.5 never removes a module whose window is open, and drops the stock-run scans #1475 had already dropped modulation and spectrum from FX by the time I merged, so there was nothing left to change here.

Ready for your MKII run.

repeat98 added a commit that referenced this pull request Nov 17, 2026
…achine voices book the bank's real effects (#1666) (#1642)

* Improvement: the Octatrack base skips the stock delay's filter and mix on tracks without a DELAY

Stock's delay routine filters and mixes all eight tracks' rings every frame, whatever their FX2. A track
whose delay gains have rested at dry only for 16,384 frames now skips both loops; its audio, state and
ring bytes stay bit-identical to stock's. Base 0.7.5.

Co-Authored-By: Claude <noreply@anthropic.com>

* WIP: the delay skip decides from the frame's own data (zero taps, zero filter state, zero send)

Not for merge as it stands: on the MKII the gain was within the meter's noise. The committed base assets
are still the first design's; regenerate before any use.

Co-Authored-By: Claude <noreply@anthropic.com>

* WIP: the delay routine leaves out the ring transfers of quiet tracks (three sites)

Emulator-proven for bytes only; the transfer order on a unit is unproven. Base assets stale.

Co-Authored-By: Claude <noreply@anthropic.com>

* Docs: the delay routine's A/B harness, what the unit measured, the changelog figure

Co-Authored-By: Claude <noreply@anthropic.com>

* Improvement: Octatrack machine voices book the bank's real effects, and give way at a bank load

A machine's DSP voice booked every effect slot of its core at the dearest stock effect (DJ EQ, 342), so core 0 had
384 cycles left for voices and core 1 829, whatever the bank used. Voices now book the slots as effect picks already
do: each slot at the dearest effect the bank's Parts and the tracks name there. Before the allocator plans a bank or
project load, a core whose bank no longer fits beside its voices drops them from its last track down; those tracks
render silence with the DSP FULL box until there is room. A pick the bank does not name never takes a voice's room.

build_core.py --measure-voices (with --dev and --dsp-loader) builds a development twin that admits voices without a
cycle charge, so a voice with no hardware price yet can be measured with the meters (#1542).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep the migration record from growing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* The delay skip treats a ring and filter within -130 dBFS of zero as silence

Stock's filter never returns to rest once a delay has been sent to, so the
exact-zero test kept every fed track on stock's path. A word within 680
counts of zero (-130 dBFS) now counts as silent (owner, 17 November 2026).
The harness gets TOL=n, which lets audio, filter state and ring words differ
by up to n and reports the largest difference. Base 0.7.6 (main took 0.7.5).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: the delay skip's comments, README and changelog describe the -130 dBFS floor

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fix: the delay harness ends the emulator's peripheral write log, which grew 2 KB a frame

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Octatrack base 0.7.6: regenerated, base-bound packages re-bound

npm run octatrack:base -- --stock <OS 1.40C> --beta --write: identity
4b463737, package a0b4c14f, fills deb59031. Output Matrix, CC Map, Recorder
Loop Fix and Analog BD relinked with --base-only; Sidechain's held 0.2.1
package builds byte-identical under this base (3024353d), so only its
requiredBase moved. octatrack:module-packages -- --check --stock: all 37
identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: the delay harness README records the floor build's emulator figures

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Octatrack base 0.7.6: size record (801,696 of 851,712 container bytes, +260)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: the delay harness README warns that ot::Machine logs peripheral writes until told not to

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* The delay skip's silence floor is 2,048 (-120 dBFS)

On the MKII, 680 left two of three fed tracks on stock's full path: their
filters stuck at -1,404 (stock's default DELAY, also the harness's) and
-758/-700. 2,048 covers both (owner, 17 November 2026).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Octatrack base 0.7.6: regenerated with the 2,048 floor (75dfb030)

Base-bound packages relinked with --base-only; Sidechain's held 0.2.1 still
builds byte-identical (3024353d), so only its requiredBase moved. Size
record: 801,760 of 851,712 container bytes, +324 since 0.7.5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: the delay harness README records the 2,048 build in the harness and on the MKII

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Re-anchor the resident port to the new dsp.c and allocator line

dsp.c grew by 27 lines above the resident patch's hunks, which are otherwise unchanged; its pin follows. The key bus
price now adds to the voices' charge where the allocator reads it, after the voices made way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Resident key bus check books the slots as voices do

The key bus tap is a per-core charge like a voice's engine: modwerk_dsp_keybus_fits now uses voice_slots, as
slot_charge is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: the delay harness README records the 2,048 build's soaks and a recording on the MKII

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Regenerate the beta base as 0.7.7 (a383e0af) with the voice booking; recipes and packages follow

Analog BD's recipe recaptured against the new base's symbols (only imageSha256 moves); the base-bound packages
relinked: their requiredBase, and Analog BD's and Output Matrix's bytes. 0.7.6 is taken by #1418.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Record base 0.7.7's size (+272 bytes since 0.7.5)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Relink Sidechain Compressor 0.2.1 (held behind 0.2.2) to base 0.7.7

The write lease it links against moved 12 bytes; its package is the controller the base's new trust row was built
from, as on 13 November. lagsBehind stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: the delay harness README records soaks on an older project (send cycling, Part changes, FX2 picks)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Octatrack base 0.7.7: regenerated with the delay skip and the voice booking (b3be9a5f)

npm run octatrack:base -- --stock <OS 1.40C> --beta --write, then
octatrack:module-packages -- --base-only. Sidechain's held 0.2.1 (as #1666
relinked it, 49fec100) builds byte-identical under this base, so only its
requiredBase moved. octatrack:module-packages -- --check --stock: all 37
identical. Size: 802,108 of 851,712 container bytes, +672 since 0.7.5.
stock:branches: no entry into a site's interior.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: the delay harness README records the skip on the combined 0.7.7 twin

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: a machine on a twin needs its whole package built for the twin, not the controller from rows/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
repeat98 and others added 5 commits November 18, 2026 08:24
Generated files take main's side and are regenerated in the next commits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e recaptured, build.py and machine-ports.json pins refreshed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…2 stays the USB package as in this PR; sizes recorded (+168 since 0.7.7, 49,436 free)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98

Copy link
Copy Markdown
Owner

Refreshed on today's main (1271b156), keeping your form: base 0.7.8 (main is at 0.7.7), identity a2c2edb2…, +168 container bytes since 0.7.7, 49,436 free. Analog BD's recipe recaptured; build.py/machine-ports.json pins refreshed; base-bound packages relinked, Sidechain 0.2.2 stays the USB package. test_resident_* with the DSP simulator: 43 pass, 1 skipped. Packages reproduce in the pinned container; pr:ready: Ready. My MKII run is next.

@repeat98
repeat98 merged commit 0e168b3 into repeat98:main Nov 18, 2026
18 of 19 checks passed
twwwy added a commit to twwwy/modwerk-beat_slicer that referenced this pull request Nov 18, 2026
…s 0.7.9

Conflicts: took main's base files and rebuilt (octatrack:base --beta --write:
base 0.7.9 f6367148, package 076abb50, fills a27efddc), relinked the base-bound
packages with --base-only (bytes unchanged, requiredBase moved), merged
octatrack-module-packages.json row by row, kept this branch's empty
reconstruction recipe (PSL 0.1.9 drops its route), wrote the size record
(805,032 of 851,712 bytes, +2,756 since 0.7.8). The changelog, PSL README and
module changelog now say base 0.7.9; TESTING.md notes the tested builds were
numbered 0.7.8 and predate repeat98#1418.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98 added a commit that referenced this pull request Nov 18, 2026
…after #1418); build.py and page-script pins refreshed

Generated base files take main's side and are regenerated next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98 pushed a commit that referenced this pull request Nov 24, 2026
…er-track test (#777)

- mm_trig_muted (MODWERK_EVENTS only) asks mm_voice_bind for tracks 7..0;
  OT and OTFX answer 0. runtime.json subscribes it at order 50.
- Source: Zac-Kyoti/octatrack-kyoti-fw 19f9dae (sdk/imports/mute-modes-19f9dae.json).
- loader_mute_keep_fixture: on the events base, every frame's ev_trig_muted
  answer equals the resets Mute Modes dropped (244 asks, 94 non-zero; d2-d7/a2-a6
  and the stack kept); 0 with nothing or only the ev_mute_keep provider installed.
- events.json / HOOKS.md: Mute Modes is ev_trig_muted's reviewed subscriber.
- Not yet: qualification for 0.2.3 (needs the USB run), table-owner declaration
  and base (after #1418), packages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98 pushed a commit that referenced this pull request Nov 24, 2026
…nit, qualification, package d460c7e2

- Source: Zac-Kyoti/octatrack-kyoti-fw 00897f0 (sdk/imports/mute-modes-00897f0.json).
- Hardware: the author's MKI, base flashed from a dev build of the site, a dev twin of base 0.7.5 with 0.2.3 as table
  owner booted from RAM, the release package installed over USB: every mode, solo, power cycle, removal passed.
- media/: the unit's LCD read over USB (png step), PROJECT > SYSTEM and MUTE MODE at OT/OTFX/OTFX-T/DT-T.
- Package d460c7e2 (2,922 B); 0.2.2's removed. Table-owner declaration and recipe for it (334e3290...), approval
  PENDING the owner; the base rebuild follows #1418.
- The hooks registry row and the fixture's ev_trig_muted checks move to their own pull request (base files).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants