Repository navigation
VOID 0.1.1-experimental: BAL no longer clips on loud tracks (draft) - #2617
1 commit merged into
Conversation
…tracks (#2610) BAL moved noise − dry into x0 before the multiply, which limits it to ±1, so opposite-polarity near-full-scale signals clipped (BAL 127, dry +0.9, noise -0.5 gave -0.1). Halve the difference, multiply, double the product, then add; the same on the AB/CD pair blend, which SRC cannot reach yet. verify.py gains BAL 1/64/127 with a 0.95 dry sine against void_ref.py: before 27,690 / 1,772,173 / 3,544,348 LSB, after 1 / 7 / 15. perf.py bench worst 289.1 -> 293.1 instructions/sample; stress peak 1156.6 -> 1172.6 for four instances; static span 375 -> 383. Not tested on a unit. Owner waiver, 4 Dec 2026, for the author's OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@ilia-murzinov, this fixes a clip in VOID's BAL mix (#2610). On loud tracks the noise-minus-track difference was cut off at full scale before BAL scaled it, so BAL 127 kept a clipped ghost of the track. The difference is now halved before the multiply and doubled after. The new It stays a draft until it runs on a unit. Could you run the short test procedure, |
|
Superseded by #2635 — same VOID 0.1.1 BAL fix with unit evidence and the published package on the author's fork tip ( |
|
Closing in favour of #2635 (author fork tip with unit evidence). |
|
Closing this in favour of #2635, which @ilia-murzinov merged with the same Generated by Claude Code |
What works: VOID's BAL now blends the track and the noise without clipping. Before, where a loud track and the noise swung in opposite directions, the difference between them was cut off at full scale before BAL scaled it: BAL 127 ("pure noise") kept a clipped ghost of the track, and the middle of the range got extra crunch on loud peaks. Now BAL 127 is pure noise and every setting follows the reference model to within 15 LSB.
What it means musically: on loud tracks, BAL sounds like a clean crossfade between track and noise. Anyone who liked the extra grit on loud peaks will hear less of it.
Who must act: VOID's author, ilia-murzinov, on their own unit. This is a draft until the exact build is tested on a unit. Not tested on a unit. The unit-only checks are still red (CPU price, frame curve, qualification, UI capture version): they need a run on this version's package.
Next step: build this head's package in the toolchain container (
bash scripts/build-modules-isolated.shplusmodules:import -- --development; CI'soctatrack-sourcejob waits on the module contract, so it won't build it, and this Mac had nomodwerk-source-toolsimage), then the author runs the short test procedure,device:priceand the UI captures on it, thenmodule:qualifyandmodules:generate. CI'smodule-contractis red only for these reasons: the CPU price is still 0.1.0's, and the changelog is ahead ofmodule-documents.json, which can't regenerate without 0.1.1 qualification.Related to #2610.
Author's OK: owner waiver, 4 Dec 2026. VOID stays credited to its author.
Details
Change (
sdk/octatrack/modules/void/void.asm): after eachsub, the difference is halved (asr), multiplied by BAL, and the product doubled (asl) before the add, on both channels. The same change on the AB/CD pair blend, which SRC cannot select yet (only LFO and TRCK).Test first (
verify.py): a 0.95 dry sine at 55 Hz against LFO-shaped white noise, BAL 1, 64 and 127, compared withvoid_ref.py:All other
verify.pygates still pass.Cost (
dsp_host, executed instructions, not hardware):perf.py benchworst (dear LFO)perf.py stress, four instances, per-core peakVOID is capped at three instances per core by CPU (the fourth was refused at about +18 %). +4 instructions per instance should not change that, but only
device:priceon a unit can show it.evidence/cpu-price.jsonandframe-cost.jsonare still 0.1.0's.Guides: nothing missing. The trap is already in
docs/module-guides/effects.md.🤖 Generated with Claude Code