Files
fmini-1/tests
Claude c51c6974dd FX and voice: state in locals, loop-invariant tests out of the loops
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
2026-11-12 20:30:57 -03:00
..
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00
2026-10-17 19:04:28 -03:00