mirror of
https://github.com/ruppert/fmini-1.git
synced 2026-12-05 12:24:36 +01:00
Same sound, checked bit for bit: - fmini_render: the voice's amplitude ramp by a running sum (amp_at's x = (amp1 - amp0) * i, one add a sample) instead of a multiply a sample. - mix_part: the part's level and pan in one loop, each send on its own loop (a send at 0 is no loop, and no test per sample). - track_dist: the states in locals; the TUBE and the plain clipper as two loops. - ins_drive / ins_swept: states in locals; CRUSH vs the rest, and CHORUS vs FLANGER, one loop each (the kind is one a block). - cho_block: one loop per chorus TYPE, the state in locals. - rev_room (FMini-1, stereo): the combs' and allpasses' indices and low-passes in locals for the block. tests/target_budget.txt: updated on purpose. The static count sums each loop's code, so the loop bodies that are now one per TYPE (cho_block +39, ins_swept +72) count more, while only one of them runs in a block. Reduced: mix_part -529, ins_drive -93, dly_block -19, track_dist -6, fmini_render -1. Checked: - FX harness, 105 configurations (delay x chorus x reverb types, sends and parameters moving): identical hashes. - track_dist and the INSERT types (0..8, TUBE on and off, fades): 108 configurations identical to the previous code. - tests/regress: all 288 golden hashes identical to main. - union_test output identical to main. - The full suite: only the known failures (fm4, ui_render, the regressions, union_test) fail; nothing new. Not done: the master chain (its block version showed no gain on the host and moved the ISR's static count), the PLATE and HALL reverbs, the perform layer. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94