What is envelope follower in music?

What is envelope follower?

Synthesis & Sound Design

A processor that tracks changes in the amplitude of an incoming audio signal and produces a corresponding control signal. It can be used to control filters, effects and other parameters dynamically.

What does envelope follower mean?

An envelope follower derives a changing control signal from the amplitude behavior of incoming audio. It removes or averages the rapid positive-and-negative oscillations and smooths the result so it can follow broader increases and decreases in level. That control can drive a filter, gain stage, effect parameter or other destination.

Peak-oriented followers commonly rectify the waveform and apply smoothing. RMS-oriented designs instead estimate squared amplitude over time and take a square root, producing a different response to sustained energy and transients. Attack and release determine how quickly the follower rises and falls; short times can track detail, while longer times create a steadier movement. Their calibration and detector structure vary between devices.

The derived shape can be mapped directly or inverted. A stronger input might open a filter, increase an effect send or reduce another signal’s gain. The follower itself does not have to process the audio audibly: it can be a control source whose musical result depends entirely on its mapping and scaling.

A Rectified One-Pole Follower

e[n]=αe[n−1]+(1−α)∣x[n]∣e[n]=\alpha e[n-1]+(1-\alpha)|x[n]|
α=e−1/(fsτ)\alpha=e^{-1/(f_s\tau)}

nn is an integer sample index, x[n]x[n] the input sample and e[n]≥0e[n]\geq0 the smoothed rectified-amplitude estimate, starting from e[−1]≥0e[-1]\geq0. The sample rate fs>0f_s>0 is in samples/s and the time constant τ>0\tau>0 is in seconds, giving 0<α<10<\alpha<1. For a constant step from zero to unit magnitude, e[n]=1−αn+1e[n]=1-\alpha^{n+1}; after approximately fsτf_s\tau samples the estimate has covered 1−e−1≈63.2%1-e^{-1}\approx63.2\% of the step. At 48,000 samples/s and τ=0.010\tau=0.010 s, α≈0.997919\alpha\approx0.997919 and the estimate reaches about 0.632 after 480 samples. An attack/release detector selects different positive time constants (and thus coefficients) according to whether ∣x[n]∣|x[n]| exceeds the previous estimate. This is one full-wave-rectified one-pole model, not universally equivalent to peak hold, RMS detection, or perceived loudness.

Examples related to envelope follower

Common confusions and distinctions

An envelope follower tracks level rather than directly identifying notes or pitch. It is different from a note-triggered ADSR generator and from a complete compressor, which also needs a gain-control rule and gain stage. Very fast following can retain waveform ripple and create modulation artifacts rather than a perfectly smooth outline.

Back to the glossary