S1634 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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?

Name it

Excitation signals

A maximum-length sequence (MLS) is a binary pseudorandom sequence of length L=2N−1 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 10log⁡L over a single impulse of the same peak, about 48 dB for N = 16, and averaging K periods adds 10log⁡K. 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,

E(t)=∫t∞h2(τ)dτ

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 C80=10log⁡(E0–80/E80–∞) compares early to late energy around 80 ms (music), and the definition D50=E0–50/Etotal the fraction in the first 50 ms (speech). For an ideal exponential decay the energy falls as e−13.8t/T, so C80=10log⁡(e1.105/T−1).

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
  1. Decay rate. slope=30dB/0.75s=40dB/s
  2. Reverberation time. The time to fall 60 dB is 60/40=1.5s
  3. 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.
  4. 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 C80 does an ideal exponential decay give for reverberation times of 1 s and 2 s?

Show the solution
  1. Clarity of an exponential decay. C80=10log⁡(e13.82×0.08/T−1)
  2. T = 1 s. C80=10log⁡(e1.105−1)=+3.1dB
  3. T = 2 s. C80=10log⁡(e0.553−1)=−1.3dB
  4. 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
  1. Number of periods. Averaging K periods raises the range by 10 log K, so 10 dB needs K=10
  2. Length of a period. 215−1=32,767samples=0.68s
  3. Total time. Ten periods take 6.8 s, plus one period at the start to let the room reach steady state.
  4. 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 C80 does it give?

(b)

What definition D50?

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 e−13.8t/T.

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°.

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?

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.