v0.1Latest

ADSR

ADSR

Gate-driven envelope generator for shaping amplitude, filter movement, or other modulation targets, with attack, decay, sustain, release, tempo sync, and curve control.

ADSR node screenshot

Inputs

Gate

  • ID: gate
  • Kind: gate
  • Rate: event
  • Coercion: Implicit
  • Description: Gate/MIDI input - accepts MIDI events, gate, or trigger

Velocity

  • ID: velocity01
  • Kind: control
  • Rate: control
  • Unit: gain01
  • Range: 0 to 1 gain01
  • Coercion: Implicit
  • Description: Velocity sensitivity (scales output)
  • Default: 1

Attack CV

  • ID: attackMod
  • Kind: control
  • Rate: control
  • Coercion: Implicit

Decay CV

  • ID: decayMod
  • Kind: control
  • Rate: control
  • Coercion: Implicit

Sustain CV

  • ID: sustainMod
  • Kind: control
  • Rate: control
  • Coercion: Implicit

Release CV

  • ID: releaseMod
  • Kind: control
  • Rate: control
  • Coercion: Implicit

Outputs

Envelope

  • ID: envelope
  • Kind: control
  • Rate: control
  • Unit: phase01
  • Range: 0 to 1 phase01
  • Coercion: Implicit
  • Description: Envelope output (0-1)

Parameters

Attack

  • ID: attack
  • Type: float
  • Control: slider
  • Range or Options: 0 to 10 s, step 0.001
  • Default: 0.01

Decay

  • ID: decay
  • Type: float
  • Control: slider
  • Range or Options: 0 to 10 s, step 0.001
  • Default: 0.2

Sustain

  • ID: sustain
  • Type: float
  • Control: slider
  • Range or Options: 0 to 1 gain01, step 0.01
  • Default: 0.7

Release

  • ID: release
  • Type: float
  • Control: slider
  • Range or Options: 0 to 30 s, step 0.001
  • Default: 0.3

Attack Curve

  • ID: attackCurve
  • Type: float
  • Control: slider
  • Range or Options: -1 to 1, step 0.01
  • Default: 0

Decay Curve

  • ID: decayCurve
  • Type: float
  • Control: slider
  • Range or Options: -1 to 1, step 0.01
  • Default: 0

Release Curve

  • ID: releaseCurve
  • Type: float
  • Control: slider
  • Range or Options: -1 to 1, step 0.01
  • Default: 0

Notes

  • Canonical ID: mod.adsr
  • Category: modulators
  • Runtime Surface: audio
  • Runtime Targets: audio-worklet
  • JUCE Early Access: Supported
  • Early Access Note: Native-supported in the plugin for the current catalog/runtime support contract.