core.h CTL 32 -> 64 (tools/gen_tables.py; the half buffer 128 frames: two mix_block passes a half, not
four), so the fixed cost of a block (events_block, mc_split, the core-1 handshake, buffers cleared and
summed, sends, buses, master) is paid half as often. Everything that counted blocks of 32 counts in CTL:
envelope / LFO tables, glides, fades, the steal fade, the leveler's (its peak still read over 32) and
DUCK's followers, DRUM-X FLAM / PUNCH / pan slew / group fade, the FX gate, DJF crossfade, SPRING / RESO
glides, WORDS' phoneme timing, the FX layer's LPF / HPF sweep (perform.c PF_CSTEP), the mod matrix's
NOISE and STEP eases.
The sequencer did not get coarser: a note inside the block carries its sample (core.h ev_off; voice.c
voice_begin / voice_off_at / track_render render the sounding voice up to it and the new one from it;
every engine but FM6, which renders whole blocks and keeps the nearer edge). tests/ctl64_timing_test.c:
on a MICRO-shifted pattern every rendered onset is within 2 samples of the sample-at-a-time sequencer
(ANALOG POLY worst 2, ANALOG MONO cuts worst 2, DRUM kit hits worst 1); the 32-sample build placed them
-22 .. +5 samples off.
Host CPU (tests/cpu_vg.py, exact instructions / sample, 32 -> 64): mix/idle 516 -> 426 (-17.5 %),
seq/mono4 1514 -> 1188 (-21.5 %), eng/DRUM 1477 -> 1156 (-21.7 %), eng/FM6 1710 -> 1507 (-11.9 %),
eng/VOICE 1500 -> 1337 (-10.9 %), VOICE.EN 1783 -> 1619 (-9.2 %), ANALOG / PHASE / LOFI / NOISE / WHEEL
-6 .. -9 %, reverbs and delays -7 .. -8 %, mix/full 2671 -> 2505 (-6.2 %), seq/plain 2381 -> 2158
(-9.4 %), seq/heavy 2783 -> 2485 (-10.7 %), song/cputest 3016 -> 2742 (-9.1 %), peak/VOICE.EN6
3304 -> 2937 (-11.1 %). Firmware: image 567896 B, .data+.bss 88276 of 98304 (+9 KB: the CTL-long
buffers), RAM code 21848 of 24576; the render loops' target cost as before (tests/target_budget.txt).
docs/CPU3_PERFORMANCE.md, README (the dual-core section), CPU5_PERFORMANCE.md.
Goldens: tests/golden.txt, cpu_baseline_vg.txt, target_budget.txt regenerated (GOLDEN_UPDATE /
BUDGET_UPDATE: the sound changes through the buses' one-block lag, now 1.45 ms, and the leveler's
reading); djf_test / micro_test reference hashes of the 0.9.0 renders redone at CTL 64. Host tests that
counted blocks count in CTL (reverb DUCK 3 / 20 ms, voice glide 163 blocks of 32 and 1/8 st a block,
click_test, drumx_oct_test); drumx_test's HANDS and PUNCH checks reset the kit's noise generator before
each compared strike (they compared different noise realizations: up to x5 strike to strike on the
32-sample build too, measured). Full host suite: every section passes but gen_nav_map's stale
docs/navigation-map.svg, which the base reports as well.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- core.h ST_MICRO / ST_MICRO_SET (inline now): the sixteenth below stays in cwhen's bits 4-7 as always, the 64ths above
it (0..3) in two free bits of the flags (SF_MFINE, bits 5-6): step_t is still 20 bytes, no struct or static moved
(its 6 x 64 in trk[], cvs / cva / cvp / rh_bak, the project scratch, the section stage, tl_src, gen_keep, dxo_bak,
the stack copies: 0 B; a byte more would have been ~478 B of main RAM and shifted track_t after step[]).
- seq.c: live recording with REC Q under 100 % writes 64ths (rounded; REC Q 0 % where you played, 50 % half way);
playback in 64ths (a late step's queue, the early end of the step before). Flags written whole keep the 64ths
(rec_hold, load_pat16, GEN, the dice, the editor's STEP_SET); gen.c's sixteenths x 4 (its pieces as before).
- SEQ > NOTE's KNOB 4 a 64th a detent (accelerated), the card "+5/64", the big step's chip, the piano roll.
- FUNC: the 64ths in a block after the others ('M' 'F': the tracks, 2 bits a step), only when a step has some; a
project of before plays and saves exactly as with 0.9.0 (its sixteenths x 4); firmware before 0.9.1 loads a newer one
and plays each step at the sixteenth at or below (up to 3/64 sooner).
- Tests: micro_test.c (every value; an old project sample for sample and byte for byte as 0.9.0; recording within
1/64 of a step at 72 / 120 / 174 BPM on 1/8 1/16 1/32 16T and swung, worst 0.0088 of a step; playback within a
sample of MICRO's place; REC Q 50 % / 100 %; save / load and the block missing); ratchet_test's TIMING in 64ths;
editor_test (STEP_SET keeps MICRO); ui_render sweeps every MICRO. Manuals, README, protocol, cheat sheets.
- CPU / audio: goldens, cpu_vg and target budgets as before. Image 548444 B (+564), RAM unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh