Skip to content

Quadraverb (draft): the Alesis Quadraverb's reverbs on FX2, its original programs bit for bit - #2203

Draft
repeat98 wants to merge 56 commits into
mainfrom
module/quadraverb
Draft

repeat98 wants to merge 56 commits into
mainfrom
module/quadraverb

Conversation

@repeat98

@repeat98 repeat98 commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Draft. The Quadraverb's first release package is built: 22 of its reverbs on a PROG knob, each program compiled to DSP code that the base writes in at a pick, with its long delay lines streamed through the ColdFire. In the DSP emulator all 22 play bit for bit, plates included, and a pick now fades the old program out. Traced, the dearest takes 353 chip cycles a sample while it fades, inside what the base admits. Nothing of it has run on a unit, and nobody has heard it.

The goal is an FX2 effect with the Quadraverb's reverbs, done the way Midiverb I/II was: the original programs on a model of the original DSP.

What works (host and emulator only)

  • The release package, 0.1.0-experimental (ENGINE.md, "The release package"):
    • PROG over the 22 reverbs that need no gate (01, 02, 10-22, 52, 53, 66, 78-81), as the owner decided ("reverbs only as the first module, one effect"). MIX is on F.
    • The package's own DSP code is a 25-word shell. It runs the program code the base writes into one of the slot's two program areas.
    • Each program's code (919-1,168 words) streams its long lines through the base's channel. The ColdFire half (program, code, fill, take) keeps the rings.
    • The package requires the base's programs feature.
  • Bit-exact: engine/verify_area.py runs the shell with each of the 22 areas.
    • Each area is placed where it was not assembled and relocated as code() relocates it, with its blocks named in the slot's record and the in-blocks the ColdFire half sends.
    • Checked against the integer model: MIX 127, 64 and 0, trig splits, a dirty memory, two instances, and the plates at 336-352 halfwords in.
    • engine/test_qv_runtime.py holds the C half to its Python model on all 22 programs, through a program switch, a resync, a full ring pool, bad tags and the frame-count wrap.
  • Cycles, traced (evidence/performance.json): 272-342 chip cycles a sample in the dearest block, 353.1 while a pick fades program 53, by the stall model on dsp_host step traces of the release form.
    • The package declares 355 modeled, which the base charges at 7/4: 621 of the 726 one instance may take.
    • The first build declared 330, which four programs passed (up to 341.6); the build below fixes that.
  • The fade at a pick: once PROG leaves the program, its wet ramps to 0 over 256 samples (Midiverb's 16 calls), and back up if PROG returns.
    • The original instead cuts its output (84 of 96 coefficients zeroed about 10 ms into a recall) and starts the new program on the old one's memory. That carry-over cannot be reproduced here: two programs' memories are laid out differently.
    • Bit-exact in dsp_host for all 22.
  • Captures: the fresh emulator, with twin5 and the package: the chooser entry, the page, PROG and MIX (media/). They are emulator captures and show no program data.
  • The engine: 89 of the 90 factory programs run bit-exact, the 13 gated and onset ones in their open form; 73 VERB SHIFTER is the one left.
  • The base side (side branch base/octatrack-program-areas, pushed):
    • 5ecfbd2: take() starts once the out-block is named, before the in-block, so the ColdFire half sees a program's first frame.
    • Core 1's stream lanes (28cb5de).
  • Lint is clean. The paperwork for module:list is ready (manifest, release notes, README, TESTING.md, thumbnail).

What is missing or unproven

  • Room on the DSP: one instance a core at most. Two areas take up to 2,336 of the ≈4,700 words a core has for effect code (the fade added 70 a program), which leaves ≈2,350 for a Part's stock effects and other modules on that core. A second Quadraverb on the same core never fits. Not measured beside a real Part.
  • ColdFire memory: 81 KB of image plus a 136 KiB ring pool in bss, about 217 KB of the shared 768 KiB module pool. The pool holds one plate, or two chambers, or a chamber and a room. A slot without room stays dry and is counted.
  • The frame interrupt's cost of the transfers and of fill()/take() is not measured. The plates move the most: 352 halfwords in and 146 out a frame.
  • Stress, in dsp_host: eight tracks, 2 s, guard and dirty memory (engine/stress_area.py). T1 and T5 walk through all 22 programs, plates first, with a fade and a switch every sixteenth; three LFOs, every slot moving, trig splits. No hang, no clobber, nothing leaking between tracks. The record passes perf:audit and is stamped. The channel's lost/refused counts are the unit's to read.

Morning checklist (owner at the unit; every boot needs his OK; all trials rolled back; about 45 minutes)

One boot does it: twin5. It has the program areas, the stream on both cores and the take fix, so it covers what twin2 and the listening builds were for.

  1. Power-cycle the unit, then check it's on USB. It has been off USB since 00:04 (another session's failed twin boot). A cycle also loses Dev17 C04's working-copy trigs: so if the device:price step in 2 reads on C04, as earlier price runs did, SAVE or rebuild C04 first.
  2. Boot twin5 (MAIN 7520dee5…, ~/.cache/modwerk-local/ot/programs/twin5/, base 0.8.3 side branch 5ecfbd2): recover, RAM-boot. If USB does not come back, stop. 2 min.
  3. Core 0 only (T5-T8). About 30 min. Use npm run device -- try FILE --seconds 120 --socket /tmp/modwerk-share.sock (300 s for listening), and stop at the first stall sign.
    • program-probe2.mwrm (e518ffcd…):
      • program switching on T5 and T6, stopped, then playing; read mem:0x40ae976c:20 (streams, failed, refused, switched, written);
      • the stream echo on T5 and T6; read mem:0x40aed874:24 (skipped, lost, refused, reads, sent, chains);
      • a few bad echo frames at each stream's start are expected: take() now starts before the in-block is named.
    • ~/.cache/modwerk-local/quadraverb/pkg/quadraverb-0.1.0.mwrm (110a31f8…, with the fade) on T5 FX2, then T6:
      • pick QUADRAVERB, play a loop, turn MIX up;
      • PROG 20 (a chamber, 128 in), then 10 (a room), 15 (a hall), then a plate: 19 or 66, 352 in, the widest stream;
      • listen for clicks, dropouts, a dead or runaway tail, and for the fade when PROG turns: the old reverb should die away, not stop.
    • npm run device:price on the plate, for the frame interrupt's share.
    • Record what was heard, as TESTING.md "Record" says.
  4. Separate OK from the owner: core 1.
  5. Core 1 (T1-T4; its stream has never run on a unit). About 10 min. If core 1 stops its frames, stop at once and do not retry: core 0's results stand on their own.
    • The probe's switching and stream echo on T1.
    • Then the Quadraverb on T1: one program.
  6. npm run unit -- release, and leave the twin booted.

Fallbacks, only if twin5 shows trouble:

  • twin2 (MAIN cc39ed0c…): the same probe without core 1's stream, if core 1 misbehaves.
  • twin-plates (MAIN fc18076b…): exact timing windows at 352 in and 144 out, if the plate's frame-interrupt reading is high.
  • The QV DEV builds (5, 40, 56) are no longer needed for listening: the release plays the reverbs themselves.

Later, once a unit has qualified the release build: npm run module:list -- quadraverb moves the draft into sdk/octatrack/modules/quadraverb and lists it. Until then it stays in sdk/drafts: modules:check refuses an unlisted, unqualified module in the library folder.

What blocks a release

  1. Base 0.8.3 with program areas and the stream channel (Octatrack base 0.8.3: CPU back from the Part read, USB Audio streams in the CPU limit, no USB DISK freeze, and four more #2246). It needs:
  2. The programs from the Alesis ROM. The owner's firmware waiver of 25 November ("quadraverb and midiverb stuff and more") covers reading and adapting the Quadraverb's firmware. He still has to say whether it also covers committing the generated program sources (gen/: the areas and stream plans), as he allowed for Midiverb. Tonight nothing derived from the ROM is in Git.
  3. How CI builds the package without the ROM. Once listed, CI compiles every catalogued module and requires the committed package to match. CI has no ROM. There is no answer yet:
    • with the waiver, gen/ could be committed, as Midiverb's tables are;
    • without it, CI would need a rule that accepts an owner-signed package it cannot rebuild.
  4. An FX2 id (the owner's call). module:doctor's red line: no id is left in 0x04-0x1f. Over USB the base already hands each installed effect one of its 128 handles (dsp.c choose; id 32 ran on an MKII). The 0x1f limit lives only in four card-build tooling checks:
    • sdk/octabam/tools/remix/registry.py:89 refuses two modules on one fx2_id;
    • scripts/module-list.mjs:120 refuses an id outside 0x04-0x1f;
    • src/catalog/module-contract.ts:226 takes compatibility.effectId only from 4 to 31;
    • sdk/octabam/tools/build/build_bus.py:2029 writes the id into stock's 32-entry FX2 tables for a card image.
  5. Room on the DSP: one instance a core, ≈2,350 words left beside it (above). The owner decides whether that is enough, or whether the base should give a slot one area plus a write-through switch.
  6. The unit runs: install, the trials above, the frame interrupt's price with a plate, and Keep/Undo.
  7. The owner's listening.

One question for the owner: Quadraverb: add the 54 non-reverb programs too? Needs a one-effect waiver like Midiverb's. They play bit for bit without the detector, as the 22 reverbs do. The list is parked on a local branch.

The 6 gated reverbs (03, 23-27) stay out by default: in the emulator they play only with their gate held open, so they would sound like plain reverbs. That is a judgement call for the owner.

Tested on a unit: the base probes A and B (26 Nov), and three FX2-only builds priced but not heard. Nothing of 0.1.0.

Tonight's commits and checks
  • e45c559: extract_lfo.mjs --signal; 13 more programs bit-exact in their open form.
  • d763e70, 7e23ad7, 932232e, 4e145b2: the 0.1.0 paperwork, lint, the stream sizes in the README, the capture attempt.
  • 3866f11: the release package.
    • shell.asm, engine/qvarea.py (the areas and their relocations), area mode in qvc.py and qvs.py, engine/verify_area.py.
    • The ColdFire half (runtime/, runtime.json, engine/qvcf.py, engine/test_qv_runtime.py).
    • The manifest builds the release (Kind HYBRID) by default.
  • d8de899: the stress run and the stamped performance record.
  • b343054: traced cycles (verify_area.py --cycles, evidence/performance.json), the fade (qvc FADE_FULL), the captures (media/).
  • Base side branch 5ecfbd2: take() before the in-block is named; the host tests of program areas and the stream pass.
  • The non-area gates still pass: verify_stream.py 10, verify.py 40.
  • Build: engine/qvarea.py areas, then engine/qvcf.py gen --areas and asm, then module:dev --build-only in a checkout of the side branch, then abi9.py --requires programs (TESTING.md). The package and gen/ stay on this computer.

What the guides lacked: dsp_asm takes no data directive, so an area's tables are P words appended after its assembled code and read with move p:(r1)+,x0 (it assembles as MOVEM). The ColdFire half's bss is zeroed at install on the USB path, which the module guides do not say. The first is in ENGINE.md. Whether they belong in sdk/octabam/docs/TRAPS.md and docs/ADD_A_MODULE.md is open.

🤖 Generated with Claude Code

repeat98 and others added 13 commits November 25, 2026 23:07
An 8051 emulator runs the Alesis Quadraverb's controller firmware (the
developer's own ROM, never in the repository) and reads the 96-step DSP
programs it builds. README records the program format, coefficient
encoding, memory model, sample rate and parameter map found so far, and
what is still open (three op bits, input/output steps, memory fit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The op bits are settled against programs whose purpose is known: the
graphic EQ is flat at 0 dB and every band boosts and cuts 14 dB at its
centre, the delays echo at 167 ms with their feedback, and SMALL ROOM's
diffuser is an allpass. Bit 2 latches into M or B by bit 0, select 10
and 11 add them back, and a write scales the accumulator.

Input and output: step 0x5e stores and latches the input; the words read
at 0x00 and 0x5f are the outputs, and the pointer steps between 0x5e and
0x5f. With that, every factory room, hall, chamber and plate decays with
left and right balanced. The LFO, the gate and the word width are open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An unlatched read with select 10 adds B: STEREO SPREAD1 and STEREO
PITCH feed their right delay line that way, and kept a silent channel
without it. Every factory program now runs finite on the model; only
the gated ones stay silent.

The README records which programs the firmware modulates at run time
(81 of 90: swept taps, pitch shift, Leslie, gate) with measured sweep
ranges, periods and shapes, and what each program needs in delay memory
under Midiverb's relocation: 29 fit an FX2 slot untouched at half rate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner chose a hybrid for memory: short delay lines in the FX2
buffer, long ones in SDRAM through a new base stream channel. All 90
programs fit untouched in 16-bit; half rate needs a median of 32 and at
most 160 words a frame each way.

RESEARCH-2026-11-26.md records the stream channel's design and probe
plan, why Midiverb's 51 programs are missing (and that it runs at about
807 chip cycles a sample against the 697 it declares), and the Midiverb
II's chorus and flange LFOs read from its own firmware. tools/ gains an
8051 disassembler and mv2lfo.mjs, which measures those LFOs from your
ROM.

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

tools/qvlfo.mjs runs the firmware tick by tick, reads each program's LFO
parameters from internal RAM, rebuilds every moving DSP step from them and
compares with the firmware's program after every update. All 81 modulated
factory programs match byte for byte over 10 s. Curves the firmware looks up
(pitch crossfade, Leslie depth, VERB SHIFTER sweeps) are read from the ROM
passed in at run time; nothing from the firmware is stored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
README: what paces the updates (12 MHz from the MIDI baud, 250-cycle timer
ticks; the DSP's 42 kHz and the tick in samples stay assumptions), the sweep,
pitch, Leslie and VERB SHIFTER algorithms with their record bytes, the fit,
and the gate: a main-loop state machine on a one-bit detector at P3.2 that
the emulator holds at "no signal", which is why 3, 23 and 26 are silent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s unit result

The owner chose full rate with the programs untouched and about 400 cycles a sample. ENGINE.md:
compiled straight-line code with three pointer chains (274-328 cycles a sample for the steps,
priced with the stall model); tools/qvc_price.py and dumpall.mjs make those prices. The README
records probe A's pass on the unit and that the USB base's wider effect ids leave no id problem.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
engine/ compiles a static factory program to straight-line DSP56300 code
and holds it to an integer model of the engine's arithmetic. The five
static programs that fit the FX2 buffer at full rate (40, 41, 56, 76, 77)
run bit for bit in dsp_host: noise and impulses, trig splits, a dirty
state block, two instances. The model agrees with tools/qv.mjs's float
model to within truncation (-91 dBFS at worst, unsaturated). With the
stall scheduling the body prices at about 213 cycles a sample, the proc
at about 225; across all 90 snapshots the body is 164-231 cycles.

Generated programs stay outside the repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sweeps, pitch shift and Leslie step on the DSP as the firmware steps
them, on tick samples, and rewrite the engine's coefficient and distance
tables; the code never changes while a program plays.

- engine/extract_lfo.mjs: every moving program's parameters, start state,
  start program and the firmware's program after 16,384 ticks (into the
  cache; tools/qvlfo.mjs gains an onTick/until hook).
- qvc.py: the LFOs ported byte for byte (Lfo), the engine with its tick
  timing (Moving), relocation over every address a moving read can take,
  coefficients the LFO writes counted live, the tick code and a segmented
  proc (forward branches only, as dsp_asm needs).
- verify.py: the model's program against the firmware's tick by tick,
  relocation and dsp_host bit-exact with the modulation running, and
  pricing over 32 traced blocks.

Bit-exact in dsp_host: 5 STEREO FLANGE and 30 MONO FLANGE (the only moving
programs that fit the FX2 buffer, about 200 cycles a sample), and on a
host-only larger ring 69, 20, 60, 37 (pitch) and 38 (Leslie). Ticks keep
the original's samples a tick (10.73); --realtime keeps ticks a second.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ies, bit-exact in dsp_host

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…abels in both gates; measure 16-bit words

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…art and the word-width numbers; probe B's unit run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98 and others added 3 commits November 26, 2026 14:38
…, 16 across SDRAM)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ram each, for pricing on a unit

qvc.generate(unit=True) adds what a unit needs around the prototype's code: the ring cleared
1,024 words a call (wet silent until clear), init and a stale state set up through one
subroutine, MIX on knob F (exact at 0 and 127), and r6/n7 given back to the dispatcher.
engine/qvunit.py writes one program's engine outside Git (cache, and gen/, which .gitignore
ignores) and builds its package with module:dev; engine/verify_unit.py holds the generated
file to the integer model in dsp_host. Programs 5, 40 and 56 pass; 214.7-240.6 cycles a
sample by interlock_scan. TESTING.md has the builds and the unit procedure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…another computer and what to record

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

Copy link
Copy Markdown
Owner Author

Handover (26 November 2026): where the Quadraverb, the Midiverb update and the stream probes stand, and what to do next. Paste the prompt below into a Claude Code session in a modwerk checkout.

Continue the Quadraverb and Midiverb work on repeat98/modwerk. Read the PRs first; don't redo what they record.

State (26 Nov 2026):
- #2203 (draft, branch module/quadraverb): Quadraverb FX2 effect. Engine compiles each factory program to straight-line DSP code; bit-exact in dsp_host for 76/90 programs at full rate, programs untouched, 207-310 cycles a sample (owner target ~400). 69 stream long lines through SDRAM (ColdFire side modelled). Read sdk/drafts/quadraverb/ENGINE.md, README.md, TESTING.md.
  Owner decisions: full rate 44.1 kHz with programs untouched; sweep ticks per sample as the original; 24-bit words in the DSP, 16 bits across SDRAM; hybrid memory.
- #2246 (draft, base/octatrack-next, base 0.8.3): stream probes A (ColdFire->DSP core 0) and B (DSP->ColdFire), dev twins only. Both passed on the owner's MKII: 64-256 halfwords one way, 160 each way together, 5-min soaks playing. The frame interrupt is the limit (worst unmask 328 us of 363). The 8 plates need 336-352 halfwords in (not yet proven).
- #2247 (draft, module/midiverb-all-programs): Midiverb I/II engine a third cheaper, bit-exact with the released engine on all 225 programs (emulator only). The 31 left-out programs and the Midiverb II's 20 chorus/flange LFO programs (50-69) are NOT added yet. Branch wip/midiverb-mv2-lfo has an unfinished, unchecked LFO model in generate.mjs; use or drop it.

Next:
1. Quadraverb unit session: follow sdk/drafts/quadraverb/TESTING.md ("On another computer, from scratch" -> "On the unit" -> "Record"). Rebuild the three dev packages (programs 5, 40, 56) from the owner's QV 1.07 ROM, build and RAM-boot a 0.8.3 dev twin, listen, run device:price. Record results in TESTING.md and as a comment on #2203; compare with the model's 215-241 cycles (about 5 points of a core).
2. Midiverb #2247: add the 31 programs (generator/stream), then the 20 LFO programs with the LFO on the DSP, reproducing the 8031 firmware's LFO values (research: sdk/drafts/quadraverb/RESEARCH-2026-11-26.md and tools/mv2lfo.mjs on #2203; one update per 8 samples assumed; triggered flanges 50/53/57 free-running). Then unit timing on a twin, measured price, version 0.2.0, release notes.
3. Base work for the Quadraverb on #2246: switch a slot's code at a program pick (double-buffered), turn the probes into a channel (a mailbox per FX2 position, block addresses handed to the engine, core 1), and widen it for the plates.

Rules: ROM-derived data (programs, packages, generated engine.asm) never enters Git; the ROMs stay on the owner's computer. Unit work goes through the unit queue (npm run unit); never stop another session's serve loop; a freeze needs the owner's power cycle. Shipping the Quadraverb programs needs the owner's waiver (as Midiverb had).

🤖 Generated with Claude Code

…MKII

On a 0.8.3 development twin each build costs within a step of the DSP
meter of the stall model (40 and 56: +5.3 points, 240 cycles a sample;
5: +4.8, 218), nothing at rest, no stall, skip or late entry. Sound not
yet heard. TESTING.md records the run and the twin build's setup traps.

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

Copy link
Copy Markdown
Owner Author

Unit session, 26 November 2026: the three Quadraverb test builds ran on your MKII and cost what the model said. Nobody has listened to them yet; that's your part.

  • What works:
    • All three builds (5 STEREO FLANGE, 40 167 ms DELAY, 56 SKANK GUITAR) installed on T1 FX2 of a 0.8.3 development twin (289c66b9) and ran.
    • Each costs about 5 points of one DSP core, within 0.1 point (one step of the meter) of the stall model. Build 5 also ran on T5 (the other core) at the same cost.
    • Installed but unused, each costs nothing.
    • No stalls, skipped renders, late frames or loader errors. Every trial was rolled back.
  • What's broken: nothing seen. Sound, clicks and noise are not tested: no listening, no recording.
  • What it means musically: one Quadraverb program uses about a twentieth of a DSP core. That leaves room for it beside the stock effects, and very likely for a second instance (not run).
    • The planned 7/4 charge (455 cycles) is about twice the real cost, so it would refuse picks that fit.
  • Ran on your unit: yes, your MKII. RAM-booted twin, nothing kept, card set untouched. The twin is still running; your power cycle returns to the flashed base.
  • Who acts next: you, to listen (about 5 minutes a build, checklist below). Then the base work on Octatrack base 0.8.3: CPU back from the Part read, USB Audio streams in the CPU limit, no USB DISK freeze, and four more #2246 (code switch at a pick, the channel), which is unchanged.

Listening checklist (the flashed base or this twin; one build at a time; a loop or short part on T1, transport stopped):
npm run device -- try ~/.cache/modwerk-local/quadraverb/pkg/qv-dev-<p>.mwrm --seconds 300 --socket /tmp/modwerk-share.sock, then T1, FUNC+FX2, LEVEL to QV DEV

, YES, and MIX is on knob F.

  • QV DEV 40 (167 ms DELAY): a single hit gives the dry sound, then repeats about 159 ms apart, each about 13 dB quieter. Turn F to 0 (exactly dry) and 127 (wet only).
  • QV DEV 5 (STEREO FLANGE): a slow flange sweep, the left and right sides moving against each other. Is the sweep smooth, with no zipper or steps?
  • QV DEV 56 (SKANK GUITAR): a resonant, filtered ring that rings about a second after a hit.
  • On every build:
    • No click at the pick (the first few ms are dry while the delay memory clears).
    • No crackle, DC thump, or hiss when the input stops.
    • Other tracks unchanged, CPU meter steady.
    • If you have time: the same build on T5 FX2 as well, playing both at once (two instances, not run yet).
  • Stop and tell me on a frozen screen, stuck audio, or a trial that neither starts nor is refused.
Details: builds, scene, figures
  • Builds, rebuilt on this computer from the owner's 1.07 ROM (md5 2066a114…). Every hash equals TESTING.md's table, and all three verify_unit.py runs passed:
    • engine.asm: 5 80df4a44…, 40 719ec947…, 56 d399e8d2…
    • packages: 5 28817e0e23873bd544e4865d8c58ccdb8d48a1c0d1022a504ae1c05e996b3c7e, 40 63b4b667c4b759747eb0c62bd0c9dfbd2154cbca417d09fb31bfff3352b44b24, 56 3561a4bd45ab8be70d59e4caa505536f86d87b7e8219b2497033f78375244cbb
  • Twin: 289c66b9124d9121…, base/octatrack-next ae45a9724 (0.8.3, the probes' branch, unchanged). Flashed base 24e480c4…, kept set Tape Echo, Euclid, Air Chorus, not touched.
  • Scene: bank B pattern 1, Part 1 at stock defaults (FILTER/DELAY everywhere), no trigs, no samples, playing during readings.
    • The project's own pattern had unsaved Part edits, so the run stayed off it. Bank A Part 1 and bank B Parts 1 and 2 were compared byte for byte before and after: unchanged.
    • The engine is straight-line code, so its DSP cost does not depend on the input. The frame and CPU figures are of a pattern that plays nothing.
  • device:price --memory --readings 2 --seconds 6, DSP points (45.32 cycles a sample each), mean of two readings:
Build Slot DSP before → in use Peak Added (cycles) Model (cycles) DSP words
QV DEV 40 T1 FX2 32.8 → 38.1 33.8 → 39.2 +5.3 (240), peak +5.4 (245) 240.6 +874
QV DEV 5 T1 FX2 32.8 → 37.6 33.8 → 38.8 +4.8 (218), peak +5.0 (227) 214.7 (dearest block 221.6) +856
QV DEV 56 T1 FX2 32.8 → 38.1 33.9 → 39.3 +5.3 (240), peak +5.4 (245) 240.6 +884
QV DEV 5 T5 FX2 (core 1) 41.9 → 46.5 42.0 → 46.8 +4.6 (208), peak +4.8 (218) 214.7 +856
  • Frame interrupt: 22.6 % before and in use for all four. CPU meter: within 0.1. Skipped renders: 0. At rest: +0 everywhere.
  • Health after each run: loader stalls 0, errors 0; crash and stall records 13 and 56, the same older ones before and after. late showed 0 waits during the runs. The 160 in its first read were logged at the twin's start (diaglog #9344, boot +0 s), before anything was installed.
  • Not done: listening, an audio recording, two instances at once, --curve, fx:audit.
  • What the guides lacked (now in TESTING.md step 5):
    • The twin build needs ELEKLOADER_DSP_ASM in its own shell (it looks for dsp56kDisassemble beside it).
    • A fresh base worktree without npm ci needs node scripts/mirror-octatrack-modules.mjs.
    • With serve running, the boot goes through scripts/device-send.py "boot DIR".
  • Recorded in sdk/drafts/quadraverb/TESTING.md (On the unit), with ENGINE.md's stale "nothing has run on a unit" corrected, in 83cf8206d.

price-40.json

{"inputs":{"transport":"playing"},"seconds":6,"readings":2,"slot":"T1","measuredAt":"2026-11-26T15:06:56.346Z","results":[{"id":"qv-dev-40","version":"file","packageSha256":"63b4b667c4b759747eb0c62bd0c9dfbd2154cbca417d09fb31bfff3352b44b24","before":{"frame":22.6,"frameMax":31,"frames":33629,"skipped":0,"cpu":34.5,"dsp1to4":32.8,"dsp5to8":41.9,"dsp1to4Peak":33.8,"dsp5to8Peak":42.9,"readings":2,"spread":{"frame":0,"cpu":0.3,"dsp1to4":0,"dsp5to8":0,"frameMax":0,"dsp1to4Peak":0,"dsp5to8Peak":0.9},"allocation":{"modulePoolBytes":0,"dspProgramWordsT1to4":441,"dspProgramWordsT5to8":441}},"atRest":{"frame":22.6,"frameMax":31.1,"frames":33732,"skipped":0,"cpu":34.5,"dsp1to4":32.8,"dsp5to8":41.9,"dsp1to4Peak":33.8,"dsp5to8Peak":42,"readings":2,"spread":{"frame":0,"cpu":0.1,"dsp1to4":0,"dsp5to8":0,"frameMax":0.3,"dsp1to4Peak":0,"dsp5to8Peak":0},"allocation":{"modulePoolBytes":4448,"dspProgramWordsT1to4":441,"dspProgramWordsT5to8":441}},"atRestAdds":{"frame":0,"cpu":0,"dsp1to4":0,"dsp5to8":0,"dsp1to4Peak":0,"dsp5to8Peak":-0.9},"inUse":{"frame":22.6,"frameMax":30.9,"frames":33611,"skipped":0,"cpu":34.6,"dsp1to4":38.1,"dsp5to8":41.9,"dsp1to4Peak":39.2,"dsp5to8Peak":42.8,"readings":2,"spread":{"frame":0,"cpu":0.1,"dsp1to4":0,"dsp5to8":0,"frameMax":0.1,"dsp1to4Peak":0,"dsp5to8Peak":0.8},"allocation":{"modulePoolBytes":4448,"dspProgramWordsT1to4":1315,"dspProgramWordsT5to8":441}},"inUseAdds":{"frame":0,"cpu":0.1,"dsp1to4":5.3,"dsp5to8":0,"dsp1to4Peak":5.4,"dsp5to8Peak":-0.1},"inUseOn":"T1 FX2","rolledBack":true}]}

price-5.json

{"inputs":{"transport":"playing"},"seconds":6,"readings":2,"slot":"T1","measuredAt":"2026-11-26T15:08:29.362Z","results":[{"id":"qv-dev-5","version":"file","packageSha256":"28817e0e23873bd544e4865d8c58ccdb8d48a1c0d1022a504ae1c05e996b3c7e","before":{"frame":22.6,"frameMax":31,"frames":33743,"skipped":0,"cpu":34.5,"dsp1to4":32.8,"dsp5to8":41.9,"dsp1to4Peak":33.8,"dsp5to8Peak":42,"readings":2,"spread":{"frame":0,"cpu":0.5,"dsp1to4":0,"dsp5to8":0,"frameMax":0.1,"dsp1to4Peak":0,"dsp5to8Peak":0},"allocation":{"modulePoolBytes":4448,"dspProgramWordsT1to4":441,"dspProgramWordsT5to8":441}},"atRest":{"frame":22.6,"frameMax":31,"frames":33638,"skipped":0,"cpu":34.5,"dsp1to4":32.8,"dsp5to8":41.9,"dsp1to4Peak":33.8,"dsp5to8Peak":42.9,"readings":2,"spread":{"frame":0,"cpu":0.1,"dsp1to4":0,"dsp5to8":0,"frameMax":0,"dsp1to4Peak":0,"dsp5to8Peak":0.9},"allocation":{"modulePoolBytes":4352,"dspProgramWordsT1to4":441,"dspProgramWordsT5to8":441}},"atRestAdds":{"frame":0,"cpu":0,"dsp1to4":0,"dsp5to8":0,"dsp1to4Peak":0,"dsp5to8Peak":0.9},"inUse":{"frame":22.6,"frameMax":31.3,"frames":33623,"skipped":0,"cpu":34.6,"dsp1to4":37.6,"dsp5to8":41.9,"dsp1to4Peak":38.8,"dsp5to8Peak":42,"readings":2,"spread":{"frame":0,"cpu":0.1,"dsp1to4":0.1,"dsp5to8":0,"frameMax":0.4,"dsp1to4Peak":0.1,"dsp5to8Peak":0},"allocation":{"modulePoolBytes":4352,"dspProgramWordsT1to4":1297,"dspProgramWordsT5to8":441}},"inUseAdds":{"frame":0,"cpu":0.1,"dsp1to4":4.8,"dsp5to8":0,"dsp1to4Peak":5,"dsp5to8Peak":0},"inUseOn":"T1 FX2","rolledBack":true}]}

price-56.json

{"inputs":{"transport":"playing"},"seconds":6,"readings":2,"slot":"T1","measuredAt":"2026-11-26T15:09:42.430Z","results":[{"id":"qv-dev-56","version":"file","packageSha256":"3561a4bd45ab8be70d59e4caa505536f86d87b7e8219b2497033f78375244cbb","before":{"frame":22.6,"frameMax":31.2,"frames":33614,"skipped":0,"cpu":34.4,"dsp1to4":32.8,"dsp5to8":41.9,"dsp1to4Peak":33.9,"dsp5to8Peak":42.8,"readings":2,"spread":{"frame":0,"cpu":0.4,"dsp1to4":0,"dsp5to8":0,"frameMax":0.4,"dsp1to4Peak":0.1,"dsp5to8Peak":0.8},"allocation":{"modulePoolBytes":4352,"dspProgramWordsT1to4":441,"dspProgramWordsT5to8":441}},"atRest":{"frame":22.6,"frameMax":30.9,"frames":33891,"skipped":0,"cpu":34.4,"dsp1to4":32.8,"dsp5to8":41.9,"dsp1to4Peak":33.8,"dsp5to8Peak":42.9,"readings":2,"spread":{"frame":0,"cpu":0.2,"dsp1to4":0,"dsp5to8":0,"frameMax":0,"dsp1to4Peak":0,"dsp5to8Peak":0.9},"allocation":{"modulePoolBytes":4480,"dspProgramWordsT1to4":441,"dspProgramWordsT5to8":441}},"atRestAdds":{"frame":0,"cpu":0,"dsp1to4":0,"dsp5to8":0,"dsp1to4Peak":-0.1,"dsp5to8Peak":0.1},"inUse":{"frame":22.6,"frameMax":30.9,"frames":33641,"skipped":0,"cpu":34.4,"dsp1to4":38.1,"dsp5to8":41.9,"dsp1to4Peak":39.3,"dsp5to8Peak":42,"readings":2,"spread":{"frame":0,"cpu":0.2,"dsp1to4":0,"dsp5to8":0,"frameMax":0,"dsp1to4Peak":0.1,"dsp5to8Peak":0},"allocation":{"modulePoolBytes":4480,"dspProgramWordsT1to4":1325,"dspProgramWordsT5to8":441}},"inUseAdds":{"frame":0,"cpu":0,"dsp1to4":5.3,"dsp5to8":0,"dsp1to4Peak":5.4,"dsp5to8Peak":-0.8},"inUseOn":"T1 FX2","rolledBack":true}]}

price-5-T5.json

{"inputs":{"transport":"playing"},"seconds":6,"readings":2,"slot":"T5","measuredAt":"2026-11-26T15:11:05.785Z","results":[{"id":"qv-dev-5","version":"file","packageSha256":"28817e0e23873bd544e4865d8c58ccdb8d48a1c0d1022a504ae1c05e996b3c7e","before":{"frame":22.6,"frameMax":31.1,"frames":33745,"skipped":0,"cpu":34.6,"dsp1to4":32.8,"dsp5to8":41.9,"dsp1to4Peak":33.9,"dsp5to8Peak":42,"readings":2,"spread":{"frame":0,"cpu":0.1,"dsp1to4":0,"dsp5to8":0,"frameMax":0.1,"dsp1to4Peak":0,"dsp5to8Peak":0},"allocation":{"modulePoolBytes":4480,"dspProgramWordsT1to4":441,"dspProgramWordsT5to8":441}},"atRest":{"frame":22.6,"frameMax":30.9,"frames":33641,"skipped":0,"cpu":34.5,"dsp1to4":32.8,"dsp5to8":41.9,"dsp1to4Peak":33.8,"dsp5to8Peak":42.9,"readings":2,"spread":{"frame":0,"cpu":0.2,"dsp1to4":0,"dsp5to8":0,"frameMax":0.1,"dsp1to4Peak":0,"dsp5to8Peak":0.9},"allocation":{"modulePoolBytes":4352,"dspProgramWordsT1to4":441,"dspProgramWordsT5to8":441}},"atRestAdds":{"frame":0,"cpu":-0.1,"dsp1to4":0,"dsp5to8":0,"dsp1to4Peak":-0.1,"dsp5to8Peak":0.9},"inUse":{"frame":22.6,"frameMax":31,"frames":33624,"skipped":0,"cpu":34.5,"dsp1to4":32.8,"dsp5to8":46.5,"dsp1to4Peak":33.9,"dsp5to8Peak":46.8,"readings":2,"spread":{"frame":0,"cpu":0.2,"dsp1to4":0,"dsp5to8":0,"frameMax":0,"dsp1to4Peak":0,"dsp5to8Peak":0.1},"allocation":{"modulePoolBytes":4352,"dspProgramWordsT1to4":441,"dspProgramWordsT5to8":1297}},"inUseAdds":{"frame":0,"cpu":-0.1,"dsp1to4":0,"dsp5to8":4.6,"dsp1to4Peak":0,"dsp5to8Peak":4.8},"inUseOn":"T5 FX2","rolledBack":true}]}

🤖 Generated with Claude Code

repeat98 and others added 7 commits November 26, 2026 21:16
…and its FX2 id

ENGINE.md: the program areas as built on the base 0.8.3 draft (development
twins only), what an area holds (a program's own code and its tables as P
data, about 430-570 words for the static programs measured, 600-850 for the
dearest), what two areas a slot cost in a core's arena, the cycle admission,
and why the FX2 id is a tooling question (card rules), not a base one.

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

extract_lfo.mjs --signal holds the gate's detector at signal (pin P3.2 low): each
gate stays open and no onset restarts a sweep. The 13 programs that leaves
(3, 23-29, 31, 32, 86-88) then pass verify_stream.py, or verify.py for 31, bit
for bit in dsp_host. 89 of 90 now run bit-exact; 73 VERB SHIFTER is left.

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

The module's paperwork for its first release, ready for npm run module:list once
a unit qualifies it: PROG over the 22 configuration-4 reverbs that are not gated,
MIX on F, the package requiring the base's program areas (BASE_FEATURES), its
release notes (CHANGELOG.json), a README in the module sections with a tutorial,
and a thumbnail. The research notes move to FIRMWARE.md. TESTING.md says plainly
that 0.1.0 is not built or tested yet and lists which programs run bit-exact.
The development builds keep working: with gen/ they name their one program.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n a unit has carried

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The emulator boots a base 0.8.3 twin but never acknowledges a package upload,
and its CPU meter would refuse a pick anyway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98 repeat98 changed the title Quadraverb reverbs (draft): reading the original DSP programs from the firmware Quadraverb (draft): the Alesis Quadraverb's reverbs on FX2, its original programs bit for bit Nov 26, 2026
…half, bit-exact on the host

The base writes the picked program's code into one of the slot's program areas;
the package's shell (shell.asm, no Alesis program) runs the area its slot record
names. An area is the unit build with the stream named by the record: its own
signature sets it up at a switch, it starts at a frame's first call once both
blocks are named, its out-blocks carry the program's tag and frame number, and
its tables are P words after its code (849-1,098 words a program). The ColdFire
half (runtime/qv_runtime.c, from a helper agent) relocates the area in code(),
reads PROG, and keeps the stream's rings in a 136 KiB bss pool.

verify_area.py runs the shell with each of the 22 areas relocated as code()
relocates it, its blocks from the record, bit for bit against the models: MIX,
trig splits, a dirty Y, two instances. test_qv_runtime.py holds the C half to
qvs.ColdFire on all 22 programs and code() to the real areas. Every ROM-derived
part is made into gen/, which Git ignores; not run on a unit.

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

Copy link
Copy Markdown
Owner Author

Quadraverb now has 48 programs: the 22 reverbs, plus 26 choruses, echoes and combination programs. All 48 match the original bit for bit in the DSP simulator. Nobody has heard them or run them on a unit yet.

  • What changed: PROG picks one of 48 factory programs, by their numbers on the original. The 26 new ones:
    • choruses: 04, 33
    • chorus with room, reverb or delay: 34-36
    • echoes: 44, 46-49, 71
    • guitar and string programs: 54, 58, 61-65
    • and 00, 50, 74, 75, 83-85, 89
  • Left out, for now:
    • Pitch shifts and Leslies (07, 37, 51, 59, 60, 70; 08, 38, 39, 67, 82): their code is too long to sit beside a Part's stock effects.
    • Seven programs with nothing to stream (05, 30, 40, 41, 56, 76, 77): the engine doesn't build them in this form yet.
    • Ten more (06, 09, 42, 43, 45, 55, 57, 68, 69, 72): not bit-exact in this form yet, including the 500 ms and 1500 ms delays and PINGPONG DELAY. They do play bit-exact one at a time in the open form, so this is a bug in the release form, not understood yet.
  • Memory: the package needs about 312 KiB of the 768 KiB module pool, up from about 216 KiB with 22 reverbs. All 76 would have needed about 409 KiB.
  • Cost: 246-333 DSP cycles a sample on average. The dearest is still 53 BALLAD SNARE 2 at 353 while fading, so the cost declared to the base stays at 355.
  • In Git now: the program sources compiled from the ROM (gen/), under the owner's decisions of 27 November 2026. That covers the firmware waiver for gen/ and a one-effect waiver for the non-reverb programs, like the Midiverb's. The ROM stays on his computer.
  • Who acts next: the owner. The unit run (twin5, core 0 first) and his listen come next; neither has happened.
What ran, on which build (27 November 2026, on the developer's computer only)
Check Result
engine/verify_area.py, every gate, all 48 at their final indices pass
engine/verify_area.py --cycles (step-traced dsp_host) 246.1-332.9 cycles a sample on average; dearest 53, 341.6 in a block, 353.1 fading; areas 919-1,168 words
engine/stress_area.py (eight tracks, 2 s, guard, dirty memory) pass: no hang, 0 clobbers, each track equals itself alone
engine/test_qv_runtime.py 12 tests pass
npm run perf:audit -- check … --stamp pass, stamped
Package quadraverb-0.1.0-48.mwrm, 172,020 bytes (171,432 code and data, 147,456 bss), SHA-256 b1956a73…, stays local
  • The ColdFire ring pool grows from 136 to 144 KiB: programs 00 and 71 set it, and 00, 53, 71 and 83 run only alone.
  • The 76 and 58 figures in TESTING.md ("The 48 programs") were measured with m68k-elf-size on the generated runtime, not as built packages. The 76-program list was 418,522 bytes (69 built, 7 failed); the 58 were 347,896.
  • First differences of the ten dropped: 06, 42, 43 and 45 at frame 50, 55 at 290, 57 at 258, 69 at 274 and 72 at 242 (audio); 09 and 68 in their out-blocks (frames 789 and 187).
  • Not done: the unit (USB, program switching on the base side branch, the stream counts), the price on a unit, a listen. The captures are still the four from the 22-program build; they show program 10, which is unchanged.

🤖 Generated with Claude Code

@repeat98

Copy link
Copy Markdown
Owner Author

First Quadraverb run on the owner's MKII (27 Nov 2026): the engine plays, but the release form rings. Unit runs are paused until the cause is found.

  • Works: qv-dev-5 (program 5 STEREO FLANGE compiled into the engine, no program areas, no stream) on twin5 (f033983a, MAIN 7520dee5). The owner heard a clean flange sweep, no noise. The engine's arithmetic runs on the chip as it does in dsp_host.
  • Broken: the 22-reverb release package 110a31f8 on twin5. The owner heard a loud high-pitched ringing, partly through the effect and with no reverb on the sound: first on T1 (core 1), then on T5 (core 0). So it isn't a core-1 problem.
  • Not run: the 48-program package b1956a73. Twin5 refused it at install (RUNTIME_MALFORMED, "not one this base reads"), although its header says ABI 9 like the 22-reverb package. It is 172 KB with 144 KiB of bss, against 82 KB.
  • Musically: nothing usable yet; the ringing is loud enough to need care. The next unit test starts with MIX at 0.
  • Who acts: an agent. The owner's unit isn't needed until there's a fix to try.
What the base reported (dev reads of twin5's counters during the trial)
Reading stream sent / lost / skipped / refused programs written / switched / failed / refused DSP T1-4 / T5-8 (per mille)
QV installed, T1 FX2 on QV, stopped 0 / 0 / 0 / 0 0 / 0 / 0 / 0 328 / 419
QV on T1, playing 28,657 / 0 / 0 / 0 9 / 9 / 0 / 0 328 / 490
QV on T5 (T1 back to DELAY), playing 123,638 / 0 / 0 / 0 14 / 16 / 0 / 0 328 / 485
  • The stream channel moved data both ways with nothing lost, and the base wrote and switched program areas with no failures. So the base-side jobs say they succeeded.
  • Core 1's meter did not rise while QV sat on T1. Picking QV on T5 was first refused by admission while T1 still held it (one instance a core).
  • qv-dev-5 was in a separate trial: verdict "no crash, stall, freeze or skipped track"; so were both release trials.

Where to look next, off the unit: the whole release path has never run together before today. dsp_host checks the engine against the model, and the base's own tests check the area writer and the stream channel, each separately. Candidates:

  1. The area words as the base writes them into P memory, compared with gen/areas.json: the 24-bit words carried in a uint32_t buffer, and the area's start in the core's engine region.
  2. The shell's record read, X:$7fb0 + 4 ((r7 >> 8) & 15) word 0, against dsp_programs.c record_of() for FX2.
  3. The stream's in and out offsets (record words 1 and 2) as qv_runtime reads them, and the delay lines' ring base and size in the release form against the slot buffer the base gives FX2.
  4. Why 172 KB / 144 KiB bss is "malformed" on twin5 while 82 KB installs.

@repeat98

Copy link
Copy Markdown
Owner Author

All three Quadraverb test builds play clean on the owner's MKII (27 Nov 2026, twin5 f033983a). The ringing is in the release form's path, not in the engine.

  • qv-dev-5 (5 STEREO FLANGE), qv-dev-40 (40 167 ms DELAY) and qv-dev-56 (56 SKANK GUITAR): the owner heard each one clean ("works, clean delay", "works too, clean"). The trial verdicts logged no crash, stall, freeze or skipped track.
  • These builds compile one program into the engine and use no program areas and no stream. The 22-reverb release package, which uses both, rang on both cores (comment above).
  • So the search narrows to the release path: the area code as the base writes it, the shell's call into it, and the stream feeding the delay lines. Investigation continues off the unit; the next release-form test starts with MIX at 0.

repeat98 and others added 4 commits November 27, 2026 18:05
…ot r6

Stock's FX2 dispatcher points r6 at its parameter copies (X:$25d-$3dc), so
r6 & $ffe000 was 0: the release package 110a31f8 read its in-blocks from
X:$1be0 and wrote its out-blocks to X:$1840, inside stock's X tables, and
rang on the owner's MKII. X:$207 holds the bank base stock's bank take uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The parameter page now sits at X:$2dd, as stock's r6 does, and the frame's
bank base at X:$207, so area code that takes the bank from r6 fails the
bit-exact gates (it did: program 10 from frame 2106) instead of passing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The same generator (qvarea.py areas, qvcf.py gen and asm) at the commit
before the fix reproduces the committed gen/ byte for byte, so this diff is
the fix alone: each area three words shorter. Not run through verify_area
yet; the 22-reverb form it shares the code with passes it.

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

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

Copy link
Copy Markdown
Owner Author

The release form plays on the owner's MKII: the ringing was a bank-address bug, now fixed (27 Nov 2026, ~18:22-18:32). Both DSP cores work, one Quadraverb at a time.

  • Cause: each program area worked out its host bank as r6 & $ffe000. At FX time stock's dispatcher points r6 at its parameter copies (X:$25d-$3dc), so the area got bank 0. It read its in-blocks from X:$1be0 and wrote its out-blocks to X:$1840, both inside stock's own X tables: a steady tone and no reverb. Stock keeps the bank base ($2000 or $4000) at X:$207 on both cores; payloads A and B were checked in twin5's disassembly.
  • Fix: the area reads x:>$207. verify_area.py's stand-in now keeps the parameter page outside the bank and writes the bank to X:$207, so the old code fails that gate. All 22 reverbs pass 32 of 32 gates. The package is quadraverb-0.1.0-bankfix.mwrm, SHA-256 5588e8e1…, 82,468 bytes, rebuilt from the exact source of 110a31f8 plus the fix.
  • On the unit (twin5 f033983a, power-cycled first): the owner heard it work ("yes, it works!!!! wow") on T5-T8 (core 0), then on T4 (core 1).
  • One instance at a time: with Quadraverb on T4 and T5 together, T4 was silent at 100 % wet. The base opened one stream lane (streams: 1) and refused the second (refused 36 → 38 in 2 s): one plate needs the whole budget, 352 halfwords a frame across both cores. With T5 back on DELAY, T4 got its lane (streams: 2, core 1 DSP 331 → 396 per mille) and played. A second pick should be refused with a message, not accepted silent. To do.
  • Owner decisions (27 Nov): a program-name pop-up as Midiverb's (in progress). Raise the Octatrack module pool from 768 KiB to 1.5 MiB and the per-module limits from 128/288 KiB to 256/512 KiB, in the base change Quadraverb needs (in progress on a branch from base/octatrack-program-areas), so the 48-program build (171 KB) fits.
  • Not done: the 48-program form on the unit; the base-branch docs that still state the r6 & $ffe000 rule (OCTATRACK_API.md:100, modwerk_events.h:356, HOOKS.md:99, test_dsp_programs.py:448-575); pushing the fix (it goes up with the names, after pr:ready).

repeat98 and others added 5 commits November 27, 2026 20:05
Turning PROG (knob A) on Quadraverb's FX2 page shows "<number on the original> <NAME>" for 1.2 s, as Midiverb does.
The base's ev_knob_store take (order 68, before Midiverb's 69) is claimed only for slot A of the page the base
installed for this module, found by its descriptor rather than its slot name, so another module's PROG page never
shows these names and Quadraverb never takes another page's turns. The entry replays the site's three stock
instructions. qvcf.py gen writes the names into gen/qv_names.h; asm appends runtime/qv_entry.s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
qvcf.py gen and asm rerun: qv_tables.h is unchanged byte for byte; qv_names.h is new; qv_runtime.s carries qv_name,
qv_page and the knob take.

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

test_names: each value 0-255 names the program qv_program picks, by the dial's label and the ROM's name.
test_committed_names: gen/qv_names.h is current. test_page: the installed-page finder. test_coldfire_build now
assembles the whole unit as the builder does and checks the entry's displaced instructions hash to the site's
stock guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The two packages with names (the 22-reverb bank fix and the 48), their hashes, what was checked on the host and what
was not: no unit run, no emulator capture.

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

Copy link
Copy Markdown
Owner Author

All 48 programs, with name pop-ups, play on the owner's MKII on a base with a 2 MiB module pool ("yes, it's great", 27 Nov 2026, ~20:51).

  • Name pop-up: turning PROG on Quadraverb's FX2 page shows "15 CONCERT HALL 1" style text (the number like the dial, then the name in capitals) for 1.2 s. The page is recognised by the address of the page the base installed, not by its slot name. The names are generated into gen/qv_names.h under the same waiver as the programs. test_qv_runtime.py checks every PROG value 0-255 against the program it plays (15 of 15). The owner saw it work on the 22-reverb build 0b2535f0 (twin5, ~20:30).
  • 48 programs: package quadraverb-0.1.0-48-names.mwrm, SHA-256 af7c6a52…, 172,912 bytes (171 KB of code and data), on twin7 a87488ef (MAIN 5badb64f). Its base is branch base/octatrack-pool-raise (from base/octatrack-program-areas): the Octatrack's module pool goes from 768 KiB to 2 MiB, and the per-module limits from 128/288 KiB to 256/512 KiB. Today's limits refuse this package (RUNTIME_MALFORMED). The owner chose 2 MiB so that every published module, USB Audio and this Quadraverb fit at once (about 1.33 MiB together). The cost from twin7's link: 427 more arena pages, 2,623,488 bytes of sample memory, about 15 s of 16-bit stereo, about 3 % of the arena.
  • Not done yet:
    • A second instance is refused nowhere. It is accepted and plays dry, or silence at 100 % wet. A Part kept from an earlier session can also bring back several instances, which happened this evening. The base's stream channel should refuse the lane at the pick and at Part load, with a message.
    • The base branch goes into the cumulative base draft for release (the owner's call). It needs its committed base regenerated, Mute Modes' candidate recipe re-pinned, and the base-branch docs that state the old r6 rule corrected.
    • verify_area has not run on the 48-program form; the owner listened to it on the unit.

repeat98 and others added 13 commits November 27, 2026 21:30
…s are sent

Skipping the copy left stale line words in the windows of a small ring
(06 PINGPONG DELAY) or of a window beside its line's head (55), so the ten
programs left out as NOT_EXACT differed from the model. With y1 = 0 the copy
writes zeros, as the model's in-blocks are; all ten pass verify_area.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tag and K

The fade words and the tag come with the stream code, so the seven programs
with no streamed line (05, 30, 40, 41, 56, 76, 77) failed with KeyError 'PV'.
An area now always gets its stream code; with no line its out-block is the tag
and K alone, which take() needs to learn the program. test_qv_runtime's frame
count takes a program with no ring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every program that plays bit for bit as an area, less the gated ones, 73 VERB
SHIFTER and the three longest pitch areas (51, 59, 60): with them the image is
274,972 bytes, past the 256 KiB a module may take on base/octatrack-pool-raise.

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

Every gate of verify_area.py passes on all 73; test_qv_runtime.py passes; the
package quadraverb-0.1.0-max-names.mwrm (4e8ff37d) fits twin7's 256/512 KiB and
takes 422,368 bytes of the pool, 1,485,744 with every published module and USB
Audio. ENGINE.md says why the copy in now writes zeros while it waits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e, and their model (qvk)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the sweep's words from the stream or the area's tables, TIME's taps in windows of their own

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… windows; knobs B-E name what they set

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the knobs' words to the firmware's

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… their distinct words

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ive knobs and 74 programs

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

Copy link
Copy Markdown
Owner Author

Quadraverb: 74 programs and four live knobs play on the owner's MKII on a release-like 0.8.4 twin ("it's great, well done", 28 Nov 2026, ~06:50).

  • What works on the unit: twin8-release-stream (configuration c715700e, built from base 0.8.4 with the stream channel as a release flag beside USB AUDIO IN, the 2 MiB pool and STREAM FULL), package quadraverb-0.1.0-knobs.mwrm 94a3e39b, 221,700 bytes.
  • Programs: 74 of the 90 factory programs:
    • Fixed and added: the 10 that weren't bit-exact (an area left old line data in its windows for its first 3 frames; it now copies zeros, as the model does); the 7 with nothing to stream; the pitch and Leslie programs; 59 GREASE GUITAR, after areas were stored as indices into shared words.
    • Still out: 03, 23-29, 31, 32, 73 and 86-88 need a hardware signal detector; 51 and 60 don't fit the 256 KiB image limit.
  • Knobs (centre 64 = the factory program, bit-exact; the ends are the original's range; a pop-up names each value):
    • B LEN: decay, or feedback on delay-led programs.
    • C TIME: pre-delay, or delay time (R keeps its ratio to L).
    • D SPD / E DEP: the speed and depth of every sweep.
    • Mappings: derived by driving the original firmware in the emulator and reading its DSP program. They match it word for word on every value tested; no firmware code is in the module.
    • Programs where TIME does nothing: 12, 13, 14, 20, 21, 65, 69, 74, 84 have no pre-delay tap. TIME jumps click, as on the original.
  • Memory and cost: pool extent 401,904 bytes. All published modules + USB Audio + Quadraverb come to about 1.40 MiB of the 2 MiB pool. The modelled cost is 366 cycles (dearest 53 with TIME at 1 ms, 365.8 while fading). A hardware timing of this build is next, so it books its measured cost (the 48-program build measured 251-344 on core 1, 243-333 on core 0, against SPRING REV's 298).
  • Before release:

repeat98 and others added 2 commits November 28, 2026 07:33
…352.6 on core 1); declared 370 hardware cycles

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

This branch has not been deployed

No deployments
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.

1 participant