Repository navigation
Cassettebox 0.1.0-experimental (draft): an '80s cassette and aged-VHS tape effect for FX1 or FX2 - #2595
Cassettebox 0.1.0-experimental (draft): an '80s cassette and aged-VHS tape effect for FX1 or FX2#2595jrs1717 wants to merge 16 commits into
Conversation
…X1 or FX2 The track goes onto a short tape (a 1,024-word ring on r5, as Mini Verb addresses its lines) and plays back through a moving head: drift and flutter bend the speed, the tape saturates (a cubic), playback rolls off the top and lifts a head bump, hiss and crackle ride on it, dropouts and glitches come and go. DECK picks STUDIO, HOME or POCKET; WIDE parts the channels; TONE darkens; AGE wears the tape as it plays. The dry is read at the tape's centre (256 samples), so MIX never combs. verify.py bit-exact against reference.py in dsp_host (every deck, every knob, a 12 s wear, splits, garbage state, two seeds, an FX1-sized slot); test_reference.py 15/15. Worst 270.6 executed instructions a sample, 0.86x SPRING REV. Not yet run on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hiss 8 dB lower and softened (HISS's default 16); crackle much rarer at low settings (the knob squared), quieter and through playback's low-pass; dropouts and glitches rarer at low settings, the dropout gain gliding over about 10 ms; the speed hiccup a glide; the drift's wander slower; the random source's taps maximal (it cycled every 4,599 steps). DECK gains VHS, an aged videotape's sound: narrow, a low cut in place of the head bump, a slow deep warble, more hiss. verify.py bit-exact at every deck; test_reference.py 18/18; worst 285.6, 0.91x SPRING REV. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, crackle and glitches even from 0) Full wear adds the equivalent of HISS 16, GAPS 20, DUST 20 and GLCH 10, growing with the wear; the knobs still add on top and wear still multiplies them. With AGE at 0, silence in is still exact silence out. verify.py bit-exact; test_reference.py 19/19; worst 288.1, 0.92x SPRING REV. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he hiss breathes With AGE above 0 the tape starts clean: DRFT, FLUT, HISS, GAPS, DUST, GLCH and TONE grow toward their knob positions, reach them at half wear and go on to about twice them worn out (the author's choice); AGE 0 applies them at once. A level follower on the left input closes the playback's top with the level, more with DRIV, and lets the hiss breathe (0.35 in silence, whole at full level). Wear's own dropout share 24. verify.py bit-exact; test_reference.py 21/21; worst 298.3, 0.95x SPRING REV. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, own seeds, both channels' level, split-proof drift) - The right channel's hiss was about 20 dB under the left's: two full LCG steps a sample, one a channel. - A sudden DRFT, FLUT, WIDE or DECK change could lurch the head: its step is at most 6 % speed (STEPMAX). - Every instance shared its seeds: the LCG and LFSR are mixed with the instance's buffer base. - The level follower heard only the left input: now the louder of the two. - Trig splits sped the drift and flutter: their phases advance by the call's length. - verify.py's FX1 gate runs at real FX1 bases ($1c00, $3400); stale comments and TESTING figures corrected; the README states AGE leaving 0, low-AGE timescales and the dropouts' reachable depths. verify.py bit-exact; test_reference.py 26/26; worst 313.2, 1.00x SPRING REV. Not yet on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@jrs1717 Cassettebox reads well: one tape job with four DECK tunings, original names and code, and it costs no more than SPRING REV (worst 313.2, stress clean). It's fine as a draft that waits behind your other four.
Who acts: you. Next step: 1 and 2 now, 3 when it comes up. |
…h roller's thump, a worn tape quieter and thinner, dropouts that lose their highs first Wear runs at AGE + 16 (AGE 1: half wear in about 6 minutes, AGE 127 in about 43 s). A lost head contact glides eight times faster and reaches near its 0.1. Once a turn (about 0.9 Hz) a short bump in speed and level, from FLUT (x g) and wear. Full wear leaves the level 0.7 and the head bump 0.3 lower. A dropout's top follows its gain squared. verify.py bit for bit; test_reference.py 29/29; worst 324.4 (1.03x SPRING REV), stamped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@jrs1717 the new voicing reads well: the minimum wear speed, the pinch roller's thump, and dropouts that lose their highs first. The check is still red for the same reason as this morning. Points 1 and 2 of my comment from this morning are still open. TESTING.md doesn't name When you fix those, please also bring the description up to date: head be3376a (it names 7d086cb), worst 324.4 and 1.03× (it says 313.2 and 1.00×), and Who acts: you. Ran on a unit: earlier builds, in RAM trials. The review fixes and today's voicing haven't. Next step: the text fixes now. The test procedure comes when it's Cassettebox's turn, as before. Generated by Claude Code |
… the head The cubic gains k a^2 (k 0.06 at DRIV 0 to 0.2 at 127), its offset followed at about 3.4 Hz and taken off. As the tape wears, the right head dulls and quietens, wandering on a 20 s cycle (exactly the left's with no wear). With GAPS, now and then a crease crosses the head for 70-130 ms: the top flickers and the head jitters. The words the samples read sit at short offsets; state /bin/zsh-. verify.py bit for bit; test_reference.py 32/32; worst 357.8 (1.14x SPRING REV, 1.08x DJ EQ), stamped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Uneven heads and creases stay. State back to $00-$6f (wear's low word and the seeded flag at $2d/$2e again). verify.py bit for bit; test_reference.py 31/31; worst 338.9 (1.08x SPRING REV, 1.02x DJ EQ), stamped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Let it wear, then turn AGE into 1-10 to keep that sound; 11-127 wear at AGE + 16 (half wear 3.8 minutes at 11, 43 s at 127); 0 resets. verify.py gains the hold (1, 10, 11, 127, 0) bit for bit; test_reference.py 32/32; worst 339.2 (1.08x SPRING REV), stamped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… POCKT, VHS) The unit showed STUDIO as STUDI and POCKET as POCKE in the setup page's header (step 11 of the procedure). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-11 passed) and its edge cases Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…se ddb56b72, package 534be9f6, kept beside 20 modules) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d and power cycle survived) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ental; summary, resources, proof note, README and the first limitation say what ran on 534be9f6) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@repeat98 the text fixes from both your 4 December comments are in, on a340f04:
Who acts: nobody yet: it waits behind Glitchbox, Loopbox and Grainbox. Ran on a unit: yes, 534be9f6. Generated by Claude Code |
… runs, every assertion kept) The event tests (creases, dropout starts and glides, a worn tape, uneven heads, every knob) ran up to 60 s of simulated silence each; the shorter runs keep every assertion, with the counts they reach noted. module:doctor gives a draft's host tests 120 s and CI's draft-doctor test timed out on them (repeat98#2652 fixes that test's own limit). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ole low-pass (CI's host tests have no numpy); performance record re-stamped on the source (tests only changed) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@repeat98 the red module-contract check on a340f04 wasn't a fault in Cassettebox's sound. Its model tests took about 4 minutes, longer than the 120 s that
Nothing changes in what runs on the instrument (the package is still 534be9f6). It stays a draft behind Glitchbox, Loopbox and Grainbox. |
module-doctor.test.mjs ran module:doctor --draft on an existing draft with a 30 s limit, while the doctor gives that draft's test_*.py up to 120 s (scripts/module-tests.mjs). A draft with slower model tests failed module-contract with empty output (Cassettebox, #2595). The --draft runs now get the host tests' 120 s on top. Co-authored-by: Jason Stephenson <jasonstephenson@iMac.attlocal.net> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
What works: Cassettebox is a new '80s cassette and aged-VHS tape effect for the Octatrack, on FX1 or FX2 of any audio track. It puts the track on a short tape and plays it back through a moving head:
DECK picks the machine: HIFI, HOME, POCKT or VHS. WIDE parts the channels and TONE darkens it. AGE wears the tape while it plays: from 11 up it starts clean, reaches the knobs' settings at half wear (43 s at 127, about 4 minutes at 11) and goes on to about twice them, getting quieter, thinner and unevenly worn; 1-10 hold the tape as worn as it is; 0 applies the knobs at once.
Tested on a unit: package 534be9f61d75, MKII, OS 1.40C, development twin 117eb07f of base ddb56b72, test:procedure steps 6 to 11 passed (record in TESTING.md); the author's stage on 534be9f6 on their flashed base: kept beside 20 modules, played, Part saved and reloaded, power-cycled: "everything survived!"
What is open:
module:list, the thumbnail andpr:ready, and this draft is marked ready.Who acts: nobody until Loopbox and Grainbox move; then the agent lists it and @jrs1717's PR goes to a device reviewer. Ran on a unit: yes, the test procedure and the author's stage.
Edge cases:
device:price --curve T1,T3,T6,T7Details
verify.pyholds engine.asm toreference.pybit for bit indsp_host(every deck, every knob, AGE wearing and holding, trig splits, real FX1 bases);test_reference.py32/32; the performance record is stamped.What the guides lacked or got wrong: nothing new for the guides; the five-letter limit on a stepped knob's labels in the setup page's header is worth a
module:doctorcheck, offered separately.🤖 Generated with Claude Code