S16 · Lesson 34 · Measuring impulse responses
Measuring a room's or a system's impulse response with maximum-length sequences and exponential sweeps, the signal-to-noise gain they bring, Schroeder's backward integration and reverberation times from T20 and T30, the noise floor's effect, and clarity and definition from the energy's arrival time
A balloon pop or a starter pistol shows a room's reverberation, but a measurement engineer wants the whole impulse response, from which reverberation time, clarity, frequency response and echo structure all follow. Clapping is too weak and too uneven; modern systems play long, carefully designed signals through a loudspeaker and recover the impulse response by correlation or deconvolution, gaining tens of decibels over background noise. The analysis that turns that response into numbers has its own subtleties, mostly about the noise that every measurement ends in.
- The curve is Schroeder's energy decay curve, the backward integral of a measured impulse response's square, for a room with the reverberation time on the slider and a background noise floor some decibels below the response's start.
- With no noise, the curve falls in a straight line at 60 dB per reverberation time. Noise adds energy that the backward integral accumulates, bending the late part of the curve.
- Reading the slope between −5 and −25 dB (T20) stays clear of the noise far longer than reading it to −60 dB would.
Predict
A room's decay is measured with a maximum-length sequence of order 16 at 48 kHz. What's the longest reverberation the measurement can capture without the response wrapping around?
The sequence repeats every = 65,535 samples, 1.37 s at 48 kHz, and the recovered response is periodic with that period: any energy still arriving after 1.37 s folds back onto the start. The sequence must be longer than the room's decay to well below the noise floor, so concert halls need order 17 or 18.
Name it
Excitation signals
A maximum-length sequence (MLS) is a binary pseudorandom sequence of length whose circular autocorrelation is an impulse; cross-correlating the recorded response with it recovers the impulse response, periodic with period L. Its energy spread over L samples gives a signal-to-noise gain of over a single impulse of the same peak, about 48 dB for N = 16, and averaging K periods adds . It assumes a perfectly linear, time-invariant system; loudspeaker distortion appears as spurious spikes.
An exponential sine sweep rises in frequency exponentially over its duration; deconvolving it compresses the response into an impulse, and harmonic distortion products land at negative times, separated cleanly from the linear response. Its energy is concentrated at each frequency in turn, so it tolerates distortion and drift better than an MLS.
Schroeder's backward integration
The energy remaining in the response after time t,
is the ensemble-average decay that a noise burst cut off at t = 0 would give, without averaging many bursts. Its level in decibels, normalized to the start, falls in a straight line for an exponential decay, at 60 dB per reverberation time T.
Reverberation times and the noise floor
A real response ends in background noise, which the integral accumulates as if it were sound. Fitting the slope between −5 and −25 dB (T20) or −5 and −35 dB (T30) and extrapolating to 60 dB avoids the noisy tail, provided the peak-to-noise range exceeds about 35 or 45 dB; the integration is also stopped where the response meets the noise.
Clarity and definition
From the same response, the clarity compares early to late energy around 80 ms (music), and the definition the fraction in the first 50 ms (speech). For an ideal exponential decay the energy falls as , so .
Worked example
A decay curve falls 30 dB between −5 and −35 dB in 0.75 s. What reverberation time does T30 report, and what peak-to-noise range should the measurement have had?
Show the solution
- Decay rate.
- Reverberation time. The time to fall 60 dB is
- Range needed. To keep the −35 dB point clear of the noise's bend, the response should start at least about 45 dB above the noise floor.
- What provides it. An MLS of order 16 provides about 48 dB from one period, and averaging four periods adds 6 dB more.
Answer T30 reports 1.5 s, and the measurement needed at least about 45 dB of peak-to-noise range.
Worked example
What clarity does an ideal exponential decay give for reverberation times of 1 s and 2 s?
Show the solution
- Clarity of an exponential decay.
- T = 1 s.
- T = 2 s.
- What halls aim for. Halls for symphonic music aim for about −2 to +2 dB, enough reverberance without blurring fast passages; speech rooms want more early energy, and real rooms' early reflections shift the figure from the ideal decay's.
Answer +3.1 dB for a 1 s reverberation time and −1.3 dB for 2 s.
Worked example
How many MLS periods must be averaged to raise a measurement's peak-to-noise range from 40 to 50 dB, and how long does that take at order 15 and 48 kHz?
Show the solution
- Number of periods. Averaging K periods raises the range by 10 log K, so 10 dB needs
- Length of a period.
- Total time. Ten periods take 6.8 s, plus one period at the start to let the room reach steady state.
- Other ways. Each step up in sequence order instead doubles the length and gives 3 dB, so averaging and longer sequences trade against each other; in a noisy hall an exponential sweep of the same length usually does better.
Answer ten periods, which take 6.8 s at order 15 and 48 kHz, plus one period to reach steady state.
Check
A maximum-length sequence of order 16 is played at 44.1 kHz.
(a)
What is its period, the longest decay it can capture without wrap-around?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
What signal-to-noise gain does one period give over a single impulse of the same peak?
Check
A decay curve falls 20 dB, from −5 to 20 + 5 dB below the start, in 0.2 s.
(a)
What reverberation time does the slope give?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
An ideal exponential decay has reverberation time 1.5 s.
(a)
What clarity does it give?
(b)
What definition ?
Check
A measurement reaches 30 dB of peak-to-noise range from one period, and needs 45 dB.
(a)
How many periods must be averaged?
Check
A room with reverberation time 0.8 s is measured with a peak-to-noise range of 40 dB.
(a)
After how long does the response sink into the noise?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
Why is an exponential sine sweep often preferred to a maximum-length sequence for measuring loudspeakers and halls?
Check
A room's ideal energy decay is .
Step 1
What level, in dB relative to the start, does the decay curve reach at time t?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the early-to-late energy ratio, in dB, for a boundary at t?
Explain why
Why does Schroeder's backward integration give a smooth decay curve from a single impulse response, when one noise-burst decay is always ragged?
A noise burst cut off abruptly leaves a decay whose fine detail depends on the particular random signal; each repetition looks different, so engineers once averaged many. Schroeder showed that the average of infinitely many such decays equals the energy of the room's impulse response remaining after each moment, the backward integral of its square. Integrating from the end toward the start sums every later reflection, smoothing out the fluctuations without any averaging, so one measured impulse response gives the ensemble-average decay directly.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.