fn db_frac(db: f32) -> f32
dB → fraction of the clip height measured from the bottom. Piecewise linear: -60 dB = 0, 0 dB = 0.7, +12 dB = 1 (so unity gain sits at 70 % height and the usable attenuation range gets most of the clip).