Envelopes: Shaping Sound Over Time

Every sound has a shape in time. A piano key struck hard: the volume leaps up instantly, then starts fading immediately. A bowed cello: the volume rises slowly, holds steady, then dies away when the bow lifts.

The oscillator and waveform decide what the sound is. The envelope decides how it behaves over time.

The AR envelope

Envelopes can have many stages - some synths use four (ADSR), some use six or more. This machine uses the simplest useful model: AR, just two stages:

  • A - Attack. How long the sound takes to rise from silence to full volume. A snare drum: nearly zero. A swelling string pad: several seconds.
  • R - Release. How long the sound takes to fade back to silence. A plucked guitar: short. A reverberant bell: long.

Here is the shape. Follow it left to right:

Time Volume A R peak

That's it. Sound rises, sound falls. The attack and release times together determine whether the sound feels like a sharp hit or a slow swell.

Same waveform, different character

The difference between a "pluck" and a "pad" is almost entirely the envelope, not the oscillator. Same waveform, same frequency. The envelope alone transforms the character.

Pluck

Fast attack, short release. Sharp and percussive.

Pad

Slow attack, slow release. Gentle and ambient.

Percussion

Instant attack, fast release. A sharp hit that vanishes.

All three shapes use the same oscillator and waveform. Only the envelope changes. The waveform provides the raw material. The envelope sculpts it into something recognisable.
Machine 9 - Envelope Shaper
261.63
C4
1081 ms
Waveform
Pitch
261.63 Hz
Volume
-5.8 dB
Envelope (AR)
Shape
A R
Controls
A 14 ms
R 300 ms
Presets

Try it: hear the envelope

Press Play to start the oscillator. The envelope fires automatically - attack rises to full volume, then release fades to silence.

The LFO button loops the envelope over and over, turning it into a repeating pattern - the sound repeatedly rises and fades.

Instrument presets

Different instruments have characteristic envelope shapes. The presets map directly to these:

InstrumentAttackReleaseCharacter
PianoFastMediumQuick start, fading resonance
OrganInstantInstantOn/off like a switch
PadSlowLongGradual swell and fade
PluckInstantShortSharp percussive blip

Try the presets. Pluck fires a sharp, percussive blip. Pad makes the same oscillator swell up and fade away gently. Identical waveform, completely different character. The envelope is doing all the work.

The click test

Listen carefully to the attack stage. Very short attack (under 5 ms) produces a click at the start - the speaker cone being shoved into motion abruptly. Longer attack (50-200 ms) gives a smooth fade-in.

The attack time alone determines whether a sound feels percussive or gentle.

Quick reference
  • Attack = time (ms). How fast the sound appears.
  • Release = time (ms). How fast the sound disappears after you let go.

Beyond volume: filter envelopes

Envelopes can shape more than volume. In classic subtractive synthesis, a second envelope controls the filter cutoff. Short filter envelope on a sawtooth = the "bwow" of an acid bass. Long filter envelope = a slowly opening sweep. The previous lesson's filter combined with this lesson's envelope is how most analogue synthesisers produce their signature sounds.

© ectoplasma.org