Repository navigation
Glitchbox 0.1.0-experimental (Octatrack): a glitch effect for FX2 with CHOP, STUT and ARPG - #2492
Conversation
An original DSP insert: a capture ring in the FX2 slot's buffer, slices at the project tempo, ACT deciding at each slice whether RPT repeats play as one of three types with four variations. verify.py holds engine.asm to reference.py bit for bit in dsp_host. Not yet run on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o 64 From the author's first trial: MIX kept a lot of the dry track because the glitch side played the live track between glitches. The glitch is now the replay alone, computed once a sample (about 110 instructions, was 130). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author's trial: SHAP had little effect, its fade growing from 1/64 to only 1/33 of a repeat by the knob's middle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author's trial: full MIX seemed lower than the dry track. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a slice From the author's trial: ACT seemed to do nothing. A glitch now fills one slice with RPT repeats while the ring keeps recording, so glitches can follow each other and ACT spans none to every slice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…apart From the author's trial: ACT 127 now glitches about 70 % of the slices; STUT halves each repeat; CHOP B always pitched, CHOP C reversed; ARPG B minor down, ARPG C octave leaps; D crushes to 9 bits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author's trial: longer tails. The last repeat keeps looping under a decaying gain, about 50 ms to 3 s; the ring freezes only if its writer would reach the looped window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for Glitchbox. It sounds like a fun one, and the shape is right: one effect with a TYPE switch on FX2, its own ring in the slot's buffer, no stock site and no UI claims. The bot already answered #2491 (free-running tempo slices are fine for now, and one effect with a mode), so I won't go over that again. Why the checks are red: What else it needs, so the next pass can finish it:
Who acts: you, @jrs1717. Ran on a unit: earlier builds did, in short RAM trials. The current head hasn't. Generated by Claude Code |
From the owner's review: TESTING.md names 0.1.0-experimental; the README, manifest and octamod.module.json say earlier builds ran in RAM trials and the test procedure has not; verify.py prints the cost at the dearest setting and on TAIL's ring-freeze path (at most 138.8 instructions a sample). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e dry track From the author's trial: it kept going after stop, and MIX seemed not to work. A glitch starting while a tail had frozen the ring left it frozen for good; a glitch now always records again. The glitch played 3 dB under a mono track; it now plays at half the mono sum. New gates: silent within 6 s after the input stops at TAIL 127, in the model and in dsp_host. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…litch replaces it From the author's trial: MIX changed nothing audible. With the glitch side silent between glitches, MIX mostly set the level. Now the dry glides to 1 - MIX while a glitch plays and back to the whole track after it; a tail echoes over the dry. TESTING's unit log is now an ordered list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author's trial: glitches at MIX 0 and ACT 0, where the model is dry. proc left m4 and m5 holding the ring's modulus; every published effect resets the modifier registers it changes before it returns. A new verify.py gate checks it and fails on the build before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With Glitchbox running the unit's timing is unchanged and T1 at ACT 0 and MIX 0 is clean; the dropouts most likely came from a pick the base refused and retried in a fresh trial, until a Part reload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author's trial: dropouts, with the unit dropping no frames. Each repeat fades to silence at its ends while the dry was ducked by the whole MIX, which left holes. The dry is now 1 - MIX x env during a glitch, filling the fades. A new host test fails the build before. Cost 145.4 a sample. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author: more dramatic A-D, 1/2 on TIME, trig sync and FX1. TIME 1/64 to 1/2; a long slice plays as chunks, decided only on TIME's grid and lasting the whole slice. CHOP B 0.25-3x, CHOP C reversed an octave down, STUT B gated to an eighth, STUT D five semitones a repeat, ARPG C two octaves, D crushed to 7 bits. FX2 only (FX1's buffer is 70 ms); trig sync waits for the base's step clock (repeat98#2491). State 72 words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author's trial: TIME did not use the knob's full range. Six labelled values on a stepped knob fall back to a plain dial; TIME now uses the wide-stepped dial, as RPT does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author: full MIX should be the glitches alone, with about 75 % where 100 % is now. D = 4/3 MIX scales the glitch and the duck (whole at 96); K = 4 (1 - MIX) caps the dry, so from 96 to 127 the track fades out. Cost 158.9 a sample. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author's trial: STUT B did little. The dry's duck followed the gated envelope and filled every gap. The duck now follows the whole repeat's envelope and the gate shapes only the glitch. A new host test fails the build before. Cost 171.9 a sample. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author: more for glitchy industrial music. DIRT (sample-rate hold, crush and clipping drive on the glitch), WIDE (ping-pong repeats), RAND (random repeat counts, pitches, reversals and places) and DGRD (a tail that grows dirtier as it fades), each 0 by default. State 96 words, cost 202.3 a sample. A new gate refuses a lua offset past 7 bits, which dsp_asm wraps silently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the author's trial: at TAIL 127, and on STUT C, the sound kept going after STOP. Not reproduced off the unit; in the model glitches keep firing on the grid after STOP and long-TIME tails freeze the ring. After a second of silence in no glitch starts; after four any glitch or tail stops. New gates for every TYPE and VAR at TIME 1/4. Cost 210.5 a sample. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Steps 1-11 passed on the author's MKII (development twin of ddb56b72): both cores +7.7 and +7.4 points, six instances at once, soak and roll-back, the ring-freeze path played without a late entry or stall. Edge cases in TESTING.md; the author's stage is next. 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>
…notes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
module:list moved the draft to sdk/octatrack/modules/glitchbox. perf.py measures the worst case at 230.5 executed instructions a sample (dearest CHOP with a trig split of 8 frames), so the package row declares 231. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ecord The listing came before the qualification record, so module:doctor failed the test procedure's first step. Back to sdk/drafts/glitchbox with perf.py and evidence/performance.json (worst 230.5 executed instructions a sample, 0.73x SPRING REV). The after-stop host test is trimmed so the suite stays under the doctor's 120 s limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Great progress. Most of what I asked for on 1 December is done: the checks are green, the test procedure ran on package 9dec7880, the trials now build with 215 cycles (above the 210.5 you measured), and your own stage with the Keep, the reloads and the power cycle is recorded. Thank you.
A few small things are still out of step with TESTING.md:
- In the description, "What is open" says the current head hasn't been listened to yet. Package 9dec7880 was built from 587c153, and since then only TESTING.md has changed, so your stage covers the head. Please say that instead.
- The description's details still say the state is X:(r7+$00..$3f). It is now $00..$5f (96 words).
- In the test procedure table, step 12 ("Submitter's own stage") still says "to do", but the section below it records the stage as done.
- The Sidechain Compressor case is still not run. Please run it in a set trial if you can. If you can't, leaving it as "not run: why" is fine.
The order hasn't changed: this stays a draft until Fuzzbox (#2489) is published. Then mark it ready. The rest of my 1 December comment still stands.
Who acts: @jrs1717. Ran on a unit: yes, package 9dec7880, on the development twin and on your flashed base.
|
@jrs1717 the review fixes and the new record on 8d67a364 look good: the procedure ran on that package, you kept it, and the 30 BPM and frozen-ring fixes are covered. It still waits for Fuzzbox (#2489) to be published, as before. Two new things first, though. 1. Loopbox's review found a bug that Glitchbox has too. In CHOP and ARPG, every repeat is 2. A stale line on the module page. The fourth limitation in Who acts: you, @jrs1717. Next step: the two changes, then wait for Fuzzbox to merge. Ran on a unit: yes, 8d67a364, through the procedure and your stage. The fix in point 1 hasn't run anywhere yet. When to refreshThe branch conflicts with Generated by Claude Code |
# Conflicts: # scripts/build-module-packages.py # sdk/catalog.json # sdk/machines/octatrack/frame-costs.json # sdk/machines/octatrack/module-adapters/standalone-recipes.json # src/catalog/module-documents.json # src/engine/assets/descriptor-recipes.json # src/engine/assets/dsp-packages.json # src/engine/assets/menu-recipes.json # src/engine/assets/module-build.json # src/engine/assets/octatrack-module-packages.json
…litchbox still 8d67a364), recipes re-pinned, modules:generate Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…odule) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@jrs1717 thanks for the refresh and the sleeve. Main is merged in cleanly, Fuzzbox is in, and the checks are green on b6a34ee. Glitchbox still plays as you tested it: the package is still 8d67a364, the one you ran through the procedure and kept on your unit. It isn't ready to merge yet, though. Neither change from my 3 December comment is in. The module folder hasn't changed since b365bb9.
Point 1 changes the engine, so it makes a new package. Please put the PR back to a draft while you work on it, as you did for the last review fixes. Then run the test procedure and your own stage on the new package and record its revision and SHA-256 in TESTING.md. Mark it ready again after that. If Who acts: you, @jrs1717. Ran on a unit: yes, 8d67a364. The drift fix hasn't run anywhere yet. Next step: the two changes, the procedure on the new package, then ready. Generated by Claude Code |
…akes what is left); the stale limitation replaced Every repeat was chunk // RPT long, the last too, so a glitched chunk ended up to RPT - 1 samples early and the grid slid ahead of the beat. The last repeat (or one longer than what is left, after a TYPE change mid-glitch) now takes what is left, as Loopbox's fix does; test_a_chunks_repeats_add_up_to_the_chunk (CHOP, STUT, ARPG at RPT 3, 5, 7) fails on the old model and passes. verify.py bit for bit; worst 231.7, the package declares 232. The module page's fourth limitation now names what is untested on a unit (Sidechain Compressor beside it, 30 BPM) instead of a stale draft line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…(1ae4be59), recipes re-pinned Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ix), steps 1-11 passed, and its edge cases Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d for it (steps 1-11, kept, Part reload and power cycle) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er's request), the cost after the drift fix Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@repeat98 both points from your 3 December review are in, and Glitchbox is ready again on f9a2ee5.
Ran on a unit: yes. New package 1ae4be59 passed test:procedure 1-11 on the author's MKII, and the author kept it, played it, reloaded the Part and power-cycled ("everything survived"). The cost is 231.7 at worst (0.74x SPRING REV), so the package now declares 232. Who acts: a device reviewer or maintainer, for review and merge. Generated by Claude Code |
… and its figures (1ae4be59, 231.7) Text only; the package is unchanged (1ae4be59). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… carries it); Glitchbox still 1ae4be59 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@jrs1717 thanks, both points are in and they're done well. The drift fix gives a CHOP or ARPG chunk's last repeat what's left of it, so the glitches stay on the beat however busy it gets. Your new host test fails on the old model and passes on the fix (I ran it here). The stale limitation is gone, and the procedure and your own stage are on 1ae4be59, which is the package this head ships. The checks are green. One thing left, and it's mine, not yours. Void 0.1.1 landed on Who acts: me (refresh and merge). Ran on a unit: yes, 1ae4be59, through the procedure and your stage. Next step: the refresh, then the merge. Loopbox (#2555) follows. Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xa7af6w5n5dxjw1ASmGjqz
…s and Euclid's recipes The isolated build reproduces every committed package; only the build record and the two standalone recipes' asset pins move. Glitchbox stays 1ae4be59. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xa7af6w5n5dxjw1ASmGjqz
|
@jrs1717 the refresh is done, and it only needs one push from you, because I can't push to your fork from here. I merged current git checkout module/glitchbox
git pull --ff-only https://github.com/repeat98/modwerk.git claude/hopeful-ride-c2nk3d
git pushYour branch should then end at Generated by Claude Code |
|
@repeat98 done: |
|
@repeat98 a heads-up on the red I'm holding pushes as you asked. Say the word and I'll push that merge and the one-colour fix; otherwise it's yours. |
Main changed SLEEVE_PAPER in 535e306, so the sleeve test on the merge with main failed on the old #e9e3d6. Packages are untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@jrs1717 thanks for spotting that, your reading was right. I pushed the one-colour fix myself ( Loopbox, Grainbox, Cassettebox and Drivebox will fail the same sleeve test until their sleeves use |
What works: Glitchbox is a new FX2 glitch effect for the Octatrack. It keeps the last third of a second of the track and, on a note grid at the project tempo, throws parts of it back:
Each type has four variations, A–D, made clearly different by ear. The main page has TIME (1/64 to 1/2, a true note grid), ACT, SHAP, RPT, MIX and TAIL. The setup page has TYPE, DIRT (grit), VAR, WIDE (ping-pong), RAND (chaos) and DGRD (degrading tails).
It is listed and qualified in
sdk/octatrack/modules/glitchbox. The shipped USB package is 1ae4be59: the test procedure ran on it, and the author kept it, played it and power-cycled. Indsp_hostit matches its reference model bit for bit for every type and variation. Its worst case is 231.7 executed DSP instructions a sample (0.74x SPRING REV); the package declares 232.73× SPRING REV.Since the last description (the maintainer's 3 and 4 December review):
test_a_chunks_repeats_add_up_to_the_chunk(CHOP, STUT and ARPG at RPT 3, 5 and 7) fails on the old model (CHOP at RPT 5: 5,508 of 5,512 samples) and passes; verify.py is bit for bit. New package 1ae4be59; procedure and author's stage run again on it.mainhas not moved since the last merge, so no new merge was needed.Earlier: a fresh-session code review found two engine bugs, both now fixed and retested.
What is open:
Who acts: a device reviewer or maintainer reviews and merges this first release.
Ran on a unit: yes, the test procedure and the author's stage.
Tested on a unit: package 1ae4be591343, MKII, OS 1.40C, development twin 117eb07f of base ddb56b72, test:procedure steps 1 to 11 passed (record in TESTING.md); the developer's stage on 1ae4be59 on the flashed base: kept beside 20 modules, played, Part saved and reloaded, power-cycled: "everything survived".
Edge cases:
device:price --curve T1,T3,T6,T7Details
npm run module:new -- glitchbox --kind dsp --author jrs1717and listed withnpm run module:list -- glitchbox. The author holds the board claimoctatrack/glitchbox.verify.py: all gates passed. Since the last description it has new gates: modifier registers linear at return,luaoffsets within reach, TIME's full range, and silence 4.2 s after the input stops for every TYPE and VAR.test_reference.py: 22/22, about 80 s.module:doctor -- glitchbox: every integration point green.perf.py,perf:audit --stamp):What the guides lacked or got wrong: nothing new beyond what #2489 lists.
🤖 Generated with Claude Code