Commit Graph
6 Commits
Author SHA1 Message Date
JUAN JIANT e147a989f6 Preserve the complete FIT candidate source alongside the probability correction 2026-11-04 15:36:07 -03:00
JUAN JIANT 4d23857b9f Preserve per-step probability through SEQ and STUTTER replacements
Previously these components forced legacy 100%, even on a step configured at 0%. Keep the destination probability before overwriting the rendered copy, including aliased C.LEN input. Test the production sequencer on ANALOG and DRUM at 0/25/50/100 percent. Leave punch-in FX unchanged per the user's verified emulator report.
2026-11-04 15:34:37 -03:00
JUAN JIANT 635effe287 Restore complete V10.6c source tree around the song-save changes
Keep all unmodified public firmware, build tools, assets and web files in the candidate tree.
2026-11-04 07:30:19 -03:00
JUAN JIANT 243258059e Add SAVE SONG AS to copy complete songs between projects
Copy sections A-D, unsaved live edits, current globals, arrangement scenes, per-track sources and variations into a selected project. Confirm complete-song replacement, preserve the source, and keep the naming dialog on save failure. Validate NOR persistence and UI flows; build a candidate without deploying installers.
2026-11-04 07:28:45 -03:00
Claude caa8b2557b ctl64 (0.9.9): the control block 64 samples, notes at their sample inside the block
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
2026-10-23 17:07:04 +00:00
juanjiant-bit da61bc62ef Reuse own release voices before cross-track stealing; skip empty chorus and unused vowel work 2026-10-21 09:02:01 -03:00