Skip to main content

Module rnd

Module rnd 

Source
Expand description

Deterministic pseudo-random scalar fields for modulation.

Everything here is seeded + reproducible — the same t and seed always yield the same value. Used as organic, non-periodic modulation inside lfo(|t| …) to avoid the robotic feel of pure sine LFOs.

Functions§

brown_walk
Brownian walk — integrated noise. Drifts over time, no periodicity. step_hz controls speed of drift; scale its amplitude.
perlin1d
1-D Perlin-like noise (cubic interpolation between lattice points). Smooth, organic wobble for slow LFO modulation.
value_noise
Value noise — step-interpolated lattice. Same integer → same value. Sample rate ≈ freq transitions per second.