fn soft_clip(sample: f32) -> f32
Soft-clip a sample to [-1.0, 1.0] using tanh. Smooth — no hard clip artifacts when both inputs sum past the rail.
[-1.0, 1.0]
tanh