Skip to main content

Module sigmoid

Module sigmoid 

Source
Expand description

Shaping functions for smooth modulation in [0.0, 1.0].

All time-domain functions use f64 so they stay precise after hours of playback (FunDSP’s hacker module is double-precision).

Functions§

ease_in_out
Cubic ease-in-out on [0, 1] — softer than smoothstep.
lerp
sigmoid
Logistic sigmoid centered at x0 with slope k.
smoothstep
Hermite smoothstep — zero-derivative ends, used for seamless loops.
softexp
Soft exponential — rate controls curvature, 0 → linear, 5 → steep.