What is adsr envelope in music?

What is adsr envelope?

Synthesis & Sound Design

A control envelope consisting of four stages: attack, decay, sustain and release. It describes how a parameter changes after a note is triggered, held and released.

What does adsr envelope mean?

An ADSR envelope is a control signal organized into attack, decay, sustain, and release. A note-on event normally begins the attack, the decay moves from the peak toward a held level, and note-off initiates the release. Applied to an amplifier, it shapes the level of a note; applied to filter cutoff, pitch, or another destination, the same contour shapes that parameter instead.

Attack, decay, and release normally describe durations or rates. Sustain normally specifies a level, not how long the note lasts. The performer or sequencer determines the held duration through the interval between note-on and note-off. Releasing a key during attack or decay can start release before the envelope ever reaches its sustain stage.

An ADSR diagram summarizes behavior rather than defining one exact circuit or algorithm. Segments may be linear, curved, or exponential-like, and some instruments specify rates rather than fixed times. Retriggering and legato settings can determine whether a new note starts a fresh envelope or continues an existing one. These details affect the sound even when two instruments display similar ADSR values.

One Idealized Linear ADSR Model

Eheld(t)={t/TA,0≤t<TA1−(1−S)(t−TA)/TD,TA≤t<TA+TDS,t≥TA+TDE_{\mathrm{held}}(t)=\begin{cases}t/T_A,&0\leq t<T_A\\1-(1-S)(t-T_A)/T_D,&T_A\leq t<T_A+T_D\\S,&t\geq T_A+T_D\end{cases}
E(toff+u)=Eoffmax⁡(1−uTR,0),u≥0E(t_{\mathrm{off}}+u)=E_{\mathrm{off}}\max\left(1-\frac{u}{T_R},0\right),\qquad u\geq0

The model starts from zero and normalizes the peak to 1. TAT_A, TDT_D, and TRT_R are positive attack, decay, and release times in seconds; SS is a sustain level between 0 and 1. The first expression describes the envelope only while the note remains held. At note-off time tofft_{\mathrm{off}}, EoffE_{\mathrm{off}} is the value reached at that instant, even if attack or decay is incomplete. The second expression then replaces the held contour and reaches zero after TRT_R seconds. Real envelopes may use different curves, rate controls, starting levels, or retrigger behavior; zero-time segments require an instantaneous transition rather than division by zero.

The Four Stages

Examples related to adsr envelope

Common confusions and distinctions

Release time starts at note-off, not automatically at the end of decay. Sustain is usually a level rather than a fourth time setting. An ADSR is a modulation source, not an audio waveform by itself; its audible result depends on the destination, modulation amount, and the sound being controlled.

Back to the glossary