Decibels and exponential decay
The decibel as a scale of ratios, geometric sequences, the time constant, the sixty-decibel time, and the per-trip gain that produces it.
6 minutes read
1177 words
Contents9
Two sounds that differ by the same ratio sound the same distance apart, however loud they are. A scale for loudness therefore counts ratios rather than differences, and the decibel is that scale. Decay is what one ratio does when it is applied again and again.
Assumed knowledge
Arithmetic and powers. The logarithm, which is the exponent a base has to be raised to. The page uses base 10, written , and the natural logarithm to base , written .
The section on geometric sequences reads them as orbits, which iteration and orbits builds up. The last two sections use the echo loop of signals and samples .
Ground covered
Why loudness is measured on a scale of ratios. The decibel for amplitude and for power. Geometric sequences, and what they look like in decibels. Exponential decay and the time constant. The sixty-decibel time, and the per-trip gain that produces a wanted one. A smoother as a decay of the distance to its target.
A reader who can say what per-sample factor gives a 50-millisecond time constant at samples per second can skip the page.
Ratios, not differences
Turning an amplifier from 1 to 2 is a large change. Turning it from 100 to 101 is a small one, although both add 1. The ear judges the ratio, which is 2 in the first case and 1.01 in the second. The useful scale is therefore the one on which equal ratios are equal steps. Logarithms give it, because turns a ratio into a difference.
The decibel
For two amplitudes and the level of in decibels is
and for two powers and , power being energy per second, it is
The two agree, because power goes as the square of amplitude and . A level is always relative to something. In a digital signal the reference is full scale, an amplitude of 1, and the unit is then written dBFS.
| amplitude ratio | decibels |
|---|---|
Read the other way, a level is an amplitude ratio of . A trim control marked in decibels is applied by multiplying the signal by exactly that.
Geometric sequences
Take a number and multiply it by the same factor at every step.
At the sequence shrinks towards zero and never reaches it. On the decibel scale every step is the same size, decibels, so the level falls along a straight line. The number of steps needed to fall by a given ratio is
At and , which is sixty decibels, equation (4) gives steps.
Equation (3) is the orbit of under the map . That map has one fixed point at , and its derivative there is , so the fixed point attracts exactly when .
Exponential decay
Now let the steps be seconds apart, so that step happens at time . Equation (3) becomes
The second form uses and its logarithm because they make the constant come out simply. That constant is the time constant, the time the quantity takes to fall to of its value, a drop of decibels. After the quantity is at , and after at .
The formula also runs backwards. A process that should have a time constant of seconds, taking one step per sample at rate , needs the per-sample factor
A follower with a 50-millisecond attack at samples per second uses .
The sixty-decibel time
Reverberation is measured by the time a sound takes to fall by sixty decibels, a thousandth of its amplitude, written . Take the echo loop of signals and samples . A signal goes round a delay of samples and is multiplied by each time round. One trip takes seconds. In seconds the signal makes trips and is multiplied by . Setting that equal to and solving for gives
For a delay of samples at and a wanted of seconds, equation (7) gives , which is the example under equation (4). A longer delay makes fewer trips in the same time and needs a smaller to fall as far. That is how several delay loops of different lengths are made to fade together. Each one is given the that equation (7) returns for its own .
When the factor depends on frequency, so does . A room whose walls absorb treble more than bass has a shorter at high frequencies. A reverb copies that by making a filter rather than a number. The page on one-pole filters, shelves and all-passes is where those filters are built.1
Smoothers as decays
A control that jumps from one value to another clicks. The usual cure is to move the applied value a fixed fraction of the way towards the target on every step.
Subtract both sides from , and the distance still to go obeys
which is a geometric sequence with factor . A smoother is therefore a decay of its own error, with a time constant of steps, close to for small . At the error falls to in steps. At the time constant is steps. Equation (8) with a signal in place of the constant is the one-pole low-pass filter of the next page. Smoothing a control and filtering a signal are the same arithmetic.
Further reading
The decibel, its references and the units built on them.2
Exponential decay, the time constant and the half-life.3
Reverberation time and how it is measured in real rooms.1
-
Reverberation. Wikipedia. Retrieved 5 September 2026. https://en.wikipedia.org/wiki/Reverberation (opens in a new tab) ↩︎ ↩︎
-
Decibel. Wikipedia. Retrieved 5 September 2026. https://en.wikipedia.org/wiki/Decibel (opens in a new tab) ↩︎
-
Exponential decay. Wikipedia. Retrieved 5 September 2026. https://en.wikipedia.org/wiki/Exponential_decay (opens in a new tab) ↩︎