10. Envelopes & Modulation
Making sound move over time
Take a single oscillator running through a static filter with a fixed cutoff frequency. What comes out is a flat, unchanging tone — technically correct, sonically lifeless. It sounds nothing like a real instrument. A piano note begins with a sharp percussive hammer strike, rings briefly, then fades. A violin can swell from silence to full intensity and back again. A brass stab bites hard and bright, then settles into a warmer sustain. Every interesting sound in the natural world changes over time.
Envelopes and modulation sources are the tools that inject this motion into synthesized sound. They don't produce audio themselves — they produce control signals that shape other parameters: volume, filter cutoff, pitch, anything. Understanding them is the difference between a dead synth patch and one that feels alive.
The ADSR Envelope
The most common envelope shape in synthesis is the ADSR envelope, named for its four stages:
- Attack — the time it takes for the envelope to rise from zero to its peak level when a note is triggered. A short attack (1-5 ms) gives a sharp, percussive onset. A slow attack (200+ ms) produces a gradual swell.
- Decay — the time it takes to fall from peak level down to the sustain level. This is where the initial brightness or loudness of a note settles down.
- Sustain — not a time, but a level. This is the steady-state value held as long as the key remains pressed. A sustain of zero means the sound dies away completely during the decay phase, even while the key is held.
- Release — the time it takes to fall from the sustain level to zero after the key is released. Short release = the sound stops almost immediately. Long release = the note fades out gradually.
Amplitude Envelopes
The most fundamental use of an ADSR envelope is controlling volume — the amplitude of the audio signal over the life of a note. This is called an amplitude envelope (sometimes abbreviated VCA envelope, for Voltage-Controlled Amplifier in analog synths).
The amplitude envelope is what gives a sound its basic temporal shape:
- Pluck (guitar, marimba): very short attack, short decay, zero sustain, short release. The sound appears instantly and dies away quickly.
- Pad / string: slow attack, minimal decay, high sustain, long release. The sound fades in gently, holds as long as you want, and fades out smoothly.
- Organ: instant attack, no decay, full sustain, instant release. The sound is either fully on or fully off — like flipping a switch.
- Brass stab: short attack, moderate decay, moderate sustain, short release. A punchy onset that settles into a held tone.
Every synthesizer — hardware or software, simple or complex — has at least one amplitude envelope. It is the minimum viable control signal. Without it, there is no note shape at all.
Filter Envelopes
The same ADSR shape can be applied to the filter cutoff frequency instead of volume. This is where subtractive synthesis becomes truly expressive.
The filter envelope has an additional parameter: envelope amount (sometimes called depth or intensity). This controls how far the envelope pushes the cutoff away from its base position.
- Positive envelope amount: the cutoff rises above the base during the attack, then falls back. This gives a bright, percussive onset that mellows out — the classic acid bass sound, funk clav, or plucked string.
- Negative envelope amount: the cutoff dips below the base on attack and opens up over time. This creates a muffled start that gradually brightens — useful for evolving pads and atmospheric textures.
- Zero amount: the envelope has no effect and the cutoff stays fixed.
Low-Frequency Oscillators (LFOs)
An LFO is an oscillator running at a frequency too low to be heard — typically between 0.1 Hz and 20 Hz. Instead of producing audio, it produces a control signal that wobbles another parameter up and down at a steady rate.
Where an envelope produces a one-shot shape (triggered by a note), an LFO produces a continuous, repeating cycle. This creates periodic motion — things that pulse, shimmer, throb, and wobble.
The two parameters that define an LFO's behavior are rate (how fast it cycles, in Hz) and depth (how far it pushes the destination parameter). A sine LFO at 6 Hz with subtle depth on pitch creates natural-sounding vibrato. The same LFO at full depth on filter cutoff creates a dramatic wah effect.
Modulation Routing
Envelopes and LFOs are modulation sources — they produce control signals. The parameters they control (pitch, cutoff, amplitude, resonance, pulse width) are modulation destinations. The connection between a source and a destination is called a modulation route.
In modular synthesizers, these connections are made physically with patch cables — you can literally see the modulation routing as wires between modules. A digital synth or DAW plugin typically provides a modulation matrix: a grid where you assign any source to any destination with an adjustable amount.
- Envelope → Amplitude — note volume shape (every synth has this)
- Envelope → Filter cutoff — timbral evolution per note
- LFO → Pitch — vibrato
- LFO → Amplitude — tremolo
- LFO → Filter cutoff — wah / wobble
- LFO → Pulse width — pulse-width modulation (PWM), adds motion to pulse waves
- Velocity → Filter cutoff — play harder = brighter tone
- Aftertouch → Vibrato depth — press harder = more vibrato
The power of modular routing is that it is combinatorial. Two envelopes and two LFOs routed to five different destinations in different amounts can produce enormously complex, evolving sounds — all from a single oscillator. The sound design possibilities multiply with every new route.
Vibrato, Tremolo, and Filter Wobble
Three modulation effects appear so frequently that they have their own names:
Vibrato is an LFO modulating pitch. A sine wave at 5-7 Hz with a depth of a few cents (hundredths of a semitone) produces the natural vibrato that singers and string players use instinctively. Deeper vibrato becomes a siren-like pitch sweep. Vibrato adds warmth and expressiveness to sustained notes.
Tremolo is an LFO modulating amplitude. The volume pulses up and down rhythmically. At slow rates (2-4 Hz), this is the classic tremolo effect heard in surf guitar and electric pianos. At faster rates, it approaches a choppy, gated sound.
Filter wobble is an LFO modulating filter cutoff. At moderate rates, this produces a wah-wah effect. At faster rates synced to musical tempo, it becomes the quintessential dubstep wobble bass — the LFO opens and closes a resonant low-pass filter in time with the beat, creating that aggressive, rhythmic growl.
Key Takeaways
- Envelopes and modulation sources add time-varying behavior to synthesized sound — they are what make static oscillators sound like instruments.
- The ADSR envelope has four stages: Attack (time to peak), Decay (time to sustain level), Sustain (held level), Release (time to zero). Sustain is a level; the other three are times.
- An amplitude envelope shapes the volume contour of each note. Short attack + no sustain = pluck. Slow attack + high sustain = pad.
- A filter envelope drives the cutoff frequency over time. Positive amount = bright attack that mellows. This is the core of expressive subtractive synthesis.
- An LFO is a sub-audio oscillator (0.1-20 Hz) used as a continuous modulation source. LFO shapes include sine, triangle, square, and sample-and-hold.
- Modulation routing connects any source (envelope, LFO, velocity) to any destination (pitch, cutoff, amplitude). Modular synths use patch cables; software synths use modulation matrices.
- Vibrato = LFO on pitch. Tremolo = LFO on amplitude. Wobble = LFO on filter cutoff. Same mechanism, different target.
Try It — Envelope & LFO Lab
Adjust the ADSR envelope and LFO settings to see how they shape the amplitude and filter cutoff over time. The top canvas shows the combined envelope + LFO modulation curve. The bottom canvas shows the resulting waveform amplitude over a simulated note.
Envelopes and modulation are the expressive layer of synthesis. The oscillator provides the raw material, the filter sculpts the spectrum, but it is the envelope that gives each note a beginning, middle, and end — and the LFO that keeps the sound breathing between those boundaries.
The next article takes this further: now that we understand how filter cutoff changes over time, we can look at filter design for audio — how to build the low-pass, band-pass, and high-pass filters that actually respond to these control signals in real time.