Builds a waveshaper transfer curve. amount 0 → near-linear, higher → harder clipping. Pure and allocation-only — unit-testable. The curve is an odd function (f(-x) = -f(x)) and monotonically increasing.
amount
f(-x) = -f(x)
Builds a waveshaper transfer curve.
amount0 → near-linear, higher → harder clipping. Pure and allocation-only — unit-testable. The curve is an odd function (f(-x) = -f(x)) and monotonically increasing.