Envelope

A one-shot curve that plays when triggered. Define the shape with keyframes and easing curves, then fire it from an audio signal, MIDI, or another node. Use it for punchy hits, fade-ins, timed reveals, or any animation that should play once and stop.

Inputs

PortTypeDefaultRangeDescription
HitScalar0.00–1Trigger input. Starts playback each time the signal rises through 0.5
DurationScalar(from params)0.01–10Override the envelope's base duration in seconds

Outputs

PortTypeDescription
OutScalarCurrent envelope value, interpolated between keyframes

Controls

  • Presets: the star button in the node header recalls a built-in shape (ADSR, Pluck, Swell, Stab, Triangle, Ramp Up, Ramp Down, Bounce) or one of your own. Save curve as… stores the current curve, and Manage presets… renames, reorders, or deletes saved ones.
  • Resize: drag the grip in the node's bottom-right corner to widen the curve editor. Curves with many keyframes need the room.

Ideas

  • Trigger from an Audio Input node for punchy reactive hits. The envelope shapes the attack and decay of each beat.
  • Shape attack and release curves for smooth fade-in/fade-out on cue triggers.
  • Chain with a Multiply node to gate another signal; the envelope acts as a volume knob that opens and closes.

Tips

  • Hit fires when the signal rises through 0.5. It won't re-trigger until the signal drops below 0.5 and rises again. A MIDI note arrives as its velocity scaled to 0–1, so notes softer than half velocity need scaling up to fire. A bipolar Sequencer wired straight into Hit fires at 0 instead, the middle of its range.
  • After playback finishes, the envelope holds its final keyframe value until re-triggered.
  • Edit keyframes and easing curves directly on the node to shape the response.
  • Audio Input: common trigger source for beat-reactive envelopes
  • Sequencer: looping pattern instead of one-shot
  • Arithmetic: Multiply node to gate signals with envelope output