ADSR Envelopes
The oscillator gives us the spectral character of a sound. An envelope gives us its shape through time.
1. The simple maths
An amplitude envelope is just a changing gain value. At every moment we multiply the oscillator by the envelope:
If the envelope is 1.0, we hear the oscillator at full level. If it is 0.5, the oscillator is half amplitude. If it is 0, we hear silence.
2. What A, D, S and R actually do
Time taken for the signal to rise from silence to its peak after note-on.
Time taken to fall from the attack peak down to the chosen sustain level.
The level held while the note remains on. Sustain is not a time value.
Time taken for the signal to return to silence after note-off.
3. Interactive ADSR
Envelope — drag the points or use the sliders
Drag the peak to alter Attack, drag the sustain corner horizontally to alter Decay, drag it vertically to alter Sustain level, and drag the final point to alter Release.
Raw oscillator
Oscillator × ADSR
4. Why the envelope matters
The same oscillator can behave like completely different instruments simply because its amplitude changes differently through time.
| Example | Envelope behaviour | Perceptual result |
|---|---|---|
| Organ | Fast attack, little decay, high sustain, fast release | Immediate and held |
| Pluck | Fast attack, short decay, little/no sustain | Short struck/plucked event |
| Pad | Slow attack, gentle decay, high sustain, long release | Soft evolving sound |
| Percussion | Very fast attack, rapid decay, zero sustain | Transient event |
5. The next step
Here the envelope controls amplitude. But an envelope is simply a control signal — it can be routed elsewhere.
That gives us the classic synthesiser architecture: oscillator → filter → amplifier, with envelopes shaping both brightness and loudness through time.