Envelopes

ADSR and attack-release envelopes and grain windows. 4 nodes. Filter them in Explore.

  • ADSR

    @maru/envelopes-adsr

    Exponential ADSR envelope state machine in VCA form over the shared one-pole coefficient/step and stage thresholds: gate-on is a full retrigger, gate-off releases from…

    Envelopes
    • JavaScript: Available
    • WebAssembly: Builds
    • C: Builds
    • Native macOS: Builds
    • Native Windows: Not checked
    • Native Linux: Not checked
    • Rust: Not checked
    • GPU: Experimental
    • Cortex-M: Experimental
    Used by 3 plugins
  • Grain windows

    @maru/envelopes-grain-windows

    The five grain windows of a granular voice (hann, tukey alpha 0.4, expodec 2% attack to -60 dB, reversed expodec, triangle) as a pure function of phase, a 512-point curve…

    Envelopes
    • JavaScript: Available
    • WebAssembly: Not checked
    • C: Builds
    • Native macOS: Not checked
    • Native Windows: Not checked
    • Native Linux: Not checked
    • Rust: Not checked
    • GPU: Experimental
    • Cortex-M: Experimental
    Used by 1 plugin
  • Linear AR

    @maru/envelopes-linear-ar

    Linear attack/sustain/release amplitude envelope over a bounded voice pool as functions over preallocated typed-array state: the f32 step law `fround(1 / (seconds * rate))`…

    Envelopes
    • JavaScript: Available
    • WebAssembly: Not checked
    • C: Builds
    • Native macOS: Not checked
    • Native Windows: Not checked
    • Native Linux: Not checked
    • Rust: Not checked
    • GPU: Experimental
    • Cortex-M: Experimental
    Used by 6 plugins
  • Overshoot ADSR

    @maru/envelopes-overshoot-adsr

    DaisySP Adsr with exact f32 semantics: one-pole stages chasing overshooting targets with log time constants, cached setters, soft and hard retrigger, as the CHOMPI sample voices…

    Envelopes
    • JavaScript: Available
    • WebAssembly: Not checked
    • C: Builds
    • Native macOS: Not checked
    • Native Windows: Not checked
    • Native Linux: Not checked
    • Rust: Not checked
    • GPU: Experimental
    • Cortex-M: Experimental
    Used by 1 plugin