What is attack in music?

What is attack?

Synthesis & Sound Design

The onset of a sound or the opening stage of a control envelope. In a typical ADSR envelope it rises from an initial level toward a peak, but the attack of an acoustic sound need not be a smooth rise or a single peak; a compressor uses attack for the response speed of its gain control.

What does attack mean?

Attack is the onset phase of a sound: the way it emerges from its initial state and establishes its audible presence. A struck or plucked sound often has a rapid, spectrally complex beginning, while a bowed, blown, or synthesized tone can enter more gradually. The onset helps identify the source and locate its timing, but it need not be a perfectly smooth rise or one simple peak.

In a synthesizer envelope, attack usually controls the movement from an initial level toward a peak after triggering. Applied to amplitude it shapes how quickly the sound enters; applied to filter cutoff or pitch it shapes the beginning of that parameter’s motion. The specified time, curve, starting level, and retrigger behavior determine the result. Two envelopes with the same displayed attack time can therefore feel different.

On a compressor, attack describes how quickly the gain-control process responds to a demand for reduction. It is not the duration of the input sound’s own onset, and it is not generally a period of completely unchanged gain followed by an abrupt switch to full compression. Detector design, program dependence, lookahead, and the manufacturer’s timing convention all affect the actual response.

An Idealized Exponential Rise

e(t)=1−e−t/τ,t≥0,τ>0e(t)=1-e^{-t/\tau},\qquad t\geq0,\quad\tau>0
t10–90=τln⁡9≈2.197τt_{10\text{–}90}=\tau\ln9\approx2.197\tau

ee is a normalized control value rising from 0 toward 1, tt and the time constant τ\tau are in seconds, and t10–90t_{10\text{–}90} is the time between reaching 10% and 90% of the final value. At one time constant, the value is about 63.2%; the mathematical curve approaches 1 asymptotically. This is one model of a smoothed rise, not a claim that every instrument or compressor uses it. Practical envelopes may use linear segments, thresholds, curve shaping, or finite endpoints, and a control labeled attack time need not equal τ\tau.

Examples related to attack

Common confusions and distinctions

Attack and transient overlap in usage, but transient is a broader term for a short-lived change and need not occur only at the beginning. An envelope’s decay stage follows its peak; a compressor’s release describes recovery from gain reduction. Neither is automatically the same as the natural decay of an acoustic instrument.

Back to the glossary