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
| Port | Type | Default | Range | Description |
|---|---|---|---|---|
| Hit | Scalar | 0.0 | 0–1 | Trigger input. Rising signal above threshold starts playback |
| Duration | Scalar | (from params) | 0.01–10 | Override the envelope's base duration in seconds |
Outputs
| Port | Type | Description |
|---|---|---|
| Out | Scalar | Current envelope value, interpolated between keyframes |
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
- The Hit input uses threshold detection: the signal must rise above the threshold to trigger. It won't re-trigger until the signal drops below and rises again.
- 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.
Related
- 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