S16 · Lesson 36 · Room and noise lab
Reverberation times from a noisy impulse response by Schroeder integration, how the noise floor biases T30 but not T20, equivalent and exceeded levels from a record of levels, noise dose under two criteria, and Sabine, Eyring and critical distance for a room with several surfaces
An acoustic consultant's day turns measurements into a handful of numbers: a room's reverberation time, a site's equivalent and exceeded levels, a worker's daily dose. Lessons 29 to 35 gave the definitions. In this lab you'll compute them from raw data, a synthetic impulse response with realistic fluctuations and a noise floor, a list of logged levels and a shift's exposure profile, and see where the definitions hide judgment calls.
- For a noise whose level, in decibels, is Gaussian with standard deviation σ, the solid curve is how far the equivalent level sits above the median, , and the dashed one how far sits above it, .
- Steady noise (small σ) has all three nearly equal. Fluctuating noise, like traffic with occasional trucks, has an equivalent level pulled well above the median by the loud moments.
- Task 2 computes these statistics from a logged record without assuming any distribution.
Predict
An impulse response with a 1.2 s reverberation time ends in noise 50 dB below its peak. What does a T30 fit report?
The backward integral adds the noise's energy to every point, bending the decay curve's lower part upward; at −35 dB, only 15 dB above the floor, the bend is already significant, so the fitted slope is too shallow and T30 comes out near 1.39 s in task 1's synthetic response. T20, stopping at −25 dB, gives 1.22 s.
Name it
What the lab computes
- Schroeder integration: the decay curve , and reverberation time from the least-squares slope s (dB/s) of the points between −5 and −35 dB (T30) or −5 and −25 dB (T20): T = −60/s.
- Level statistics: from N logged levels, , and the exceeded levels , and read from the sorted list.
- Dose: each period t at level L counts , with hours for NIOSH and for OSHA.
- Rooms: Sabine , Eyring , the room constant and the critical distance .
Check
Write decay_curve(h2) returning the Schroeder curve in dB, and rt(curve, dt, top=-5, bottom=-35) returning the reverberation time from the fit between those levels.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write level_stats(levels) returning (, , , ), with the sorted list's entry exceeded x% of the time (nearest rank).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write dose(profile, criterion) for a list of (level in dB(A), hours) and criterion "NIOSH" or "OSHA", returning percent.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write room(V, surfaces, m=0.0, Q=2) for a list of (area, α) returning (Sabine T, Eyring T, critical distance).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why does background noise make a measured reverberation time too long rather than too short?
Schroeder's decay curve at each moment is the energy still to arrive after it. Background noise adds a steady contribution that the backward integral accumulates as if it were sound still decaying, and that added energy matters more and more as the true decay sinks toward it. The lower part of the curve is therefore lifted, it falls more slowly than the room's real decay, and a straight line fitted there has a shallower slope, which means a longer reverberation time. Fitting a shorter range, higher above the floor, or subtracting the noise's estimated contribution before integrating, avoids the bias.