const AGC_GAIN_MIN: f32 = 0.1;Expand description
Clamp the AGC gain to a sane range. Both bounds matter: a track with absolute silence on a band shouldn’t let the gain run to infinity (the floor at 0.5 caps the boost on near-silent bands), and a band that’s pure-tone-driven shouldn’t crush below 1/10 of the raw signal.