ITUR

ADSR Envelope

Turns a trigger pulse into a shaped envelope: rise (Attack), fall to a level (Decay, Sustain), then fade out (Release).

What it is for

Gives each beat a controlled shape instead of a raw spike: a burst that swells in 20 ms and dies in half a second, a glow that holds while a note lasts. It is the synthesizer envelope, applied to any setting of the particles.

How it works

The envelope starts when Trigger rises to 0.5 or more after having been under 0.4, or when you press the Trigger button on the node. It climbs to its peak during Attack, falls to the Sustain level during Decay, then depends on the Mode. One-Shot: it stays at Sustain for Hold seconds, then fades to 0 during Release, even if the trigger has already dropped. Gate: it stays at Sustain as long as Trigger stays up, and starts the Release when Trigger falls under 0.2. The node shows the current phase and level. The times are real seconds: Slow Motion does not stretch them. All outputs are one value for the whole system.

Connections

Plug a pulse into Trigger: the Beat, Snare or Transient of an Audio node, the Trigger of an Audio Analyzer, a Square Wave, a Math (Greater Than). Outputs: Value (the envelope between Min and Max) into a force's Strength, the Particle System's Auto Speed or an effect's Strength; Envelope (the same curve, always 0 to 1); Active (1 while the envelope plays, 0 at rest); Phase (0 idle, 1 attack, 2 decay, 3 sustain or hold, 4 release).

Settings

SettingWhat it doesDefault
TriggerSignal that starts the envelope when it rises past 0.5. In Gate mode it also holds the envelope open until it falls under 0.2.0
AttackTime to climb to the peak, in seconds. Near 0 = instant hit; longer = a swell.0.02
DecayTime to fall from the peak to the Sustain level, in seconds.0.1
SustainLevel held after the decay, as a share of the peak (0 to 1). 1 = no fall after the attack; 0 = the envelope is back at rest at the end of the decay.0.4
ReleaseTime to fade from the current level to 0, in seconds. Long = a slow tail after each hit.0.3
HoldOne-Shot only: how long the envelope stays at the Sustain level before the release, in seconds. 0 = it releases right after the decay. Not used in Gate mode.0.05
MinValue output when the envelope is at rest.0
MaxValue output at the peak of the envelope. Set Min above Max for an envelope that dips.1
ModeOne-Shot: each trigger plays the whole envelope (attack, decay, hold, release). Gate: the envelope holds at Sustain while the trigger stays up, and releases when it falls.
  • One-Shot - Plays the full Attack-Decay-Hold-Release cycle on each trigger pulse
  • Gate - Holds at Sustain level while the Trigger stays on: it opens above 0.5 and releases under 0.2
CurveShape of each phase. Exponential: fast at the start of the phase, then settling (snappier). Linear: straight ramps.
  • Exponential - Natural analog synthesizer curve (snappier transients)
  • Linear - Linear ramp between envelope phases
RetriggerWhat happens when a trigger arrives while the envelope is still playing. Smooth: the new attack starts from the current level, without a jump. From Zero: the envelope drops to 0 first, so every hit looks the same.
  • Smooth - Ramps smoothly from current value on retrigger (no clicks)
  • From Zero - Resets to 0 on new trigger

Outputs

Value, Envelope, Active, Phase

Tips

See also

Audio AnalyzerAudioWave (LFO)Monitor