Files
JIANT/tests
Claude 9cf57932dc CLOUD: the loop can no longer run away (the tester's crackle when pushed)
rev_cloud's grains were summed with no regard to how many overlapped: the
windows' sum grows with RATE (up to 12 grains) and, times SIZE's feedback into
the line (up to 0.43), the loop gain passed 1 from RATE ~90 at any SIZE (RATE
127 even at SIZE 64): the line ran away into its int16 clamps (+23 dB, 35-50 k
clamped samples in 4 s, RMS 150 k forever) and the limiter / CLIP crushed it:
the crackle. Now:
- the grains' windows summed are capped at 2 grains' worth (CL_WMAX): the
  loop's gain <= 0.43 x 2, it always dies away;
- the line is written through a soft knee (rv_knee: linear to -2.5 dBFS, tanh
  above), not a hard clamp;
- the grains go into ROOM's network at half the level, x2 at its output: 6 dB
  more headroom before ROOM's allpasses clamp (280 k -> 9 k clamped samples at
  a 90000 send);
- a ~14 Hz low cut in the loop (ROOM's floors circulated a DC);
- AIR above ~+13 st with MOD: a grain's start span went negative (unsigned
  underflow; a modulo by zero possible at the edge): grains read across the
  write head, a click each (80 in 4 s at AIR +24). Those grains are shortened
  to fit behind the write head.
ROOM, SPRING, SHIMMER, RESO untouched: the 157 golden renders unchanged.
tests/cloud_hot_test.c: stability map SIZE x RATE, 20 s at SIZE 126 RATE 127,
hot sends 16 k .. 200 k, clamps, FX_SANE trips, write-head crossings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-19 14:42:37 +00:00
..
2026-10-06 13:15:44 +09:00
2026-10-05 23:16:53 +09:00
2026-10-08 11:11:01 +09:00
2026-10-08 11:11:01 +09:00
2026-10-05 23:16:53 +09:00
2026-10-05 23:16:53 +09:00
2026-10-08 11:11:01 +09:00
2026-10-07 00:29:46 +09:00