DEM AudioLinFIR Documentation
LinFIR

Room Analysis License


On this page

License Required: The Room Analysis window requires a valid LinFIR license.

The Room Analysis window tells what the measurements of a Room Calibration project say of the room itself, beside the response the global filters correct: how long its sound takes to die away in each octave band, at each listening position. A correction filter can lower a peak; it does not shorten a long decay over a whole band, which is the room's own and calls for acoustic treatment.


Accessing the Room Analysis

Menu: View → Room Analysis (Room Calibration mode)

The window opens in its own viewport. Cmd/Ctrl+W closes it. It reads every enabled measurement's raw impulse response, before its window, and is computed again whenever one changes (a new capture, an import, an undo). Its tabs: Reverberation (the reverberation times, the decay curves and the modes), Clarity (the energy ratios), Cepstrum (the cepstrum), Spread (the position spread) and Diagnostics (the diagnostics).

The Room Analysis window: the reverberation time of each position and their mean, the table of means, and one position's decay curves The Room Analysis window: the reverberation time of each position and their mean, the table of means, and one position's decay curves

Reverberation Time

The upper graph gives each position's reverberation time in the octave bands from 16 Hz to 8 kHz, in the colour of its measurement, and their mean (white), the arithmetic mean of the positions' times (ISO 3382-2). The table beside it gives the means; hovering a value gives each position's time, or why it has none. With a single position, there is no mean: the graph and the table give its times. Time chooses which reverberation time:

TimeRange of the decay curveNeeds the band over the noise by
EDT (early decay time)0 to −10 dB20 dB
T20−5 to −25 dB35 dB
T30−5 to −35 dB45 dB

Each is the time the straight line fitted to that range of the decay curve (least squares) takes to fall 60 dB. EDT follows what the ear hears of the reverberation while music plays, the early decay; T20 and T30 the later decay, which ISO 3382 calls the reverberation time. In a room whose decay is straight, the three agree; where they differ, the decay curve bends (see Decay Curves).

ISO 3382-1 reads 63 Hz to 8 kHz. The 16 Hz and 31.5 Hz bands are a subwoofer's octaves. In a room of a few tens of cubic metres they hold only its first modes, or none: under the lowest mode (c / 2L, 31 Hz for a room 5.5 m long), no standing wave rings; the room's pressure follows the cone, and what decays is the subwoofer's own response (its high-pass, its port, its equalization), with the room's leaks. A time there scatters widely from one position to the next (see How sure it is): read these bands with the modes, which give each mode's own decay. Above 8 kHz, the decay is mostly the air's absorption and the furnishings', and adds nothing the 8 kHz band does not show of how the room sounds.

Hovering a T30 in the table also gives the decay's curvature, 100 × (T30 / T20 − 1) % (ISO 3382-2, annex B): how much slower the late decay is than the early one. A straight decay reads 0 to 5 %; over 10 %, the decay bends - in the bass a mode ringing on after the rest, higher a coupled space (an alcove, a corridor through an open door) or the absorption all on one side - and its reverberation time is doubtful. The diagnostics list such bands.

A time is given only when the decay curve reaches the end of its range before the measurement's noise, and the band stands at least 10 dB more over the noise (ISO 3382-1). A table cell like 0.42 s (3/5) is a mean over the three positions of five that give that time; a hover text such as none: the band is 31 dB over the noise, 35 dB needed says why the others don't. A louder measurement, or a longer sweep, lowers the noise.

How it is computed

In each octave band:

  1. The band: the impulse response through the band's filter, a third-order Butterworth high-pass and low-pass at the band's edges, run backwards in time. The filter's own decay then falls before the direct sound instead of lengthening the room's: it stays out of the room's down to a bandwidth × reverberation time of 4, where a filter run forwards needs 16 (Jacobsen and Rindel). Under 4 - a short decay in the 16 to 63 Hz bands - the time is still given, its hover text saying it is lengthened by the band filter.
  2. The energy: the band's squared samples, from where they first come within 20 dB of their peak (the direct sound).
  3. The noise: Lundeby's method finds the measurement's noise floor and where the decay sinks into it, the crosspoint. A line is fitted to the energy, averaged over short intervals, down to 10 dB over the noise of the last tenth of the response; then, until the crosspoint settles, the intervals are made a fifth of the time the decay takes to fall 10 dB, the noise is read from 10 dB of decay past the crosspoint, the late decay's line is fitted between 20 and 5 dB over that noise, and the crosspoint is where it meets the noise. The band's peak, for its range over the noise, is read over 1 / its bandwidth at least (88 ms at 16 Hz): a narrow band's envelope rises and falls that slowly, and a shorter interval would take a swell for the decay's start.
  4. The decay curve: Schroeder's backward integral of the energy up to the crosspoint, plus the energy the late decay would still have had past it. The noise past the crosspoint is left out: the curve neither bends up into the noise nor drops at its end.

How sure it is

A room's impulse response is, past its first reflections, a random signal: two measurements a few centimetres apart give decays that differ by chance, the more so as the band is narrow and the decay short. For one impulse response, ISO 3382-2 puts the standard deviation of T20 at about 0.88 × T × √(1.19 / (B × T)), B being the band's width: for 0.5 s, about 7 % at 500 Hz, 3 % at 4 kHz, 20 % at 63 Hz, 29 % at 31.5 Hz, 40 % at 16 Hz. The mean of several positions is surer, and differences between the positions within those figures are chance, not the room. LinFIR's analysis was checked on simulated rooms whose decay is known, six of each: in every band, the mean T20 and T30 of the six fall within 3 % plus three standard deviations of such a mean, with a measurement noise 70 dB down, 40 dB down (T20 alone), or a response cut before the noise.


Room Modes

The table beside the decay curves lists the room's modes under 250 Hz: frequency, decay (T60) and level, under the room's reverberation above its modes (the mean T20 of the 250 Hz, 500 Hz and 1 kHz bands). A mode is a resonance of the room, a pole of its transfer function, and it is the same wherever the loudspeaker and the microphone stand (Haneda, Makino and Kaneda's common acoustical poles): only how loud it is changes from one position to the next. The positions are therefore fitted together:

  1. Each position's impulse response from 10 ms after its direct sound, up to one second long, kept below 350 Hz and decimated to about 1 kHz.
  2. The poles they share, by a subspace method (multichannel ESPRIT): their Hankel matrices side by side share one column space, whose leading vectors, shifted by one sample, give the poles.
  3. Spurious poles out: the fit is made with 8 to 80 poles, and a pole is kept when it comes back, at the same frequency (within 1 %) and decay (within 20 %), at most of the model sizes past the first it appears at (a stabilization diagram).
  4. Each mode's level: the positions fitted with the poles kept, its amplitude averaged over them, relative to the strongest mode's. Modes more than 40 dB under it, or too damped to ring (Q under 2.5, the loudspeaker's own response), are left out.

In bold, a mode that rings longer than the room above its modes, by 25 % at least (the two are read differently, and a mode that decays with the room can read up to some 20 % longer): the modes the Auto EQ's Room modes switch corrects. Graphs > Room modes draws them over the magnitude and phase graphs of the Measurements view (not over the filters' views, whose curves are the corrected response), a vertical line at each, dashed for those that ring longer; hovering a curve near one reads the mode.

The room's modes as vertical lines over the magnitude and phase graphs of a Room Calibration project The room's modes as vertical lines over the magnitude and phase graphs of a Room Calibration project

How well it finds them, on 60 simulated rectangular rooms (modes of rigid walls with decays from 0.2 to 1.2 s, a loudspeaker's high-pass, measurement noise 50 to 70 dB down), five positions each: 122 of the 138 modes under 120 Hz that no other mode crowds (3 Hz around) and that the positions hear were found, within 1 %, their decay within 4 % (median) and 16 % (nine in ten); 15 of the 546 modes reported under 120 Hz were none of the room's. One position alone found 105 of them, with twice as many false ones. Two modes closer than about 2 Hz read as one, and above 100–150 Hz, where the modes of a room overlap, they are fewer and less sure.


Decay Curves

The lower graph shows one position's decay curve in each band (Decay curves of chooses the position), with dashed over its range the line the chosen time is read from. A straight curve decays as one room; a curve that bends - steep at first, then slower - holds two decays, as a room with a reverberant part coupled to a damped one, or a band where a single room mode rings on after the rest. The curves stop at the crosspoint, where the measurement's noise begins.


Clarity

The Clarity tab gives each position's energy ratios band by band, from 125 Hz, and their mean (the arithmetic mean of each, as ISO 3382-1 averages them); Ratio chooses which the graph shows, the table gives the means of all four, and hovering a value gives each position's.

The Clarity tab: each position's C80 band by band, their mean, and the table of the four ratios The Clarity tab: each position's C80 band by band, their mean, and the table of the four ratios
RatioWhat it comparesReads
C50the energy of the first 50 ms after the direct sound against the rest, dBthe clarity of speech: over 0 dB, the early sound leads
C80the same with 80 ms, dBthe clarity of music
D50the first 50 ms's share of the whole, %the definition
Tsthe energy's centre of gravity in time, ms after the direct soundthe lower, the clearer

The early sound - the direct sound and the first reflections - gives the music its definition and its image; the late sound, the reverberation, its envelopment and its blur. A drier room, or a listening seat nearer the loudspeakers, raises C50, C80 and D50 and lowers Ts. Time 0 is the direct sound, where the broadband response first comes within 20 dB of its peak; each band's energy is counted from there, its late decay past the crosspoint extrapolated and the measurement's noise left out, as for the decay curves. A band gives its ratios when it stands 20 dB over the noise.

Not under 125 Hz: an octave filter's own response lasts about 1 / its bandwidth (22 ms at 63 Hz), and blurs the 50 ms limit. On simulated decays whose ratios are known, C50 and C80 read 1 to 2 dB high at 63 Hz, and within 0.7 dB from 125 Hz up, with the noise 70 or 40 dB down; one dB is about the smallest difference the ear notices.


Cepstrum

The Cepstrum tab shows where each position's reflections stand, and which the positions share.

The cepstrum of each position of a room and their mean The cepstrum of each position of a room and their mean

A reflection g times the direct sound, arriving τ later, ripples the spectrum with a period of 1/τ: its logarithm carries g·cos(2πfτ). The cepstrum, the inverse Fourier transform of the logarithm of the magnitude, turns that ripple into a peak at the delay τ. The graph shows it doubled, so that the peak reads as the reflection's level relative to the direct sound (0.3: a reflection 10.5 dB under it), negative when the reflection comes back inverted; smaller echoes of it follow at 2τ and 3τ. A flutter echo between two parallel walls makes a row of evenly spaced peaks. The loudspeaker's own response and the room's modes stay at the lowest delays (the first 0.3 ms are not drawn). Hovering a curve reads the delay, the extra path it means (at 343 m/s) and the level.

Each position's cepstrum is drawn faint, in its measurement's colour, from its impulse response 1 ms before its direct sound to 100 ms after it, faded out over its last fifth, up to 50 ms of delay. Their mean (thick) keeps the reflections the positions share at their height, and averages out those that move from one position to the next; its peaks 0.1 or higher are marked. A single position is drawn alone, in its colour, its peaks marked.

How to Read It

The horizontal axis is the delay after the direct sound. Multiply it by 0.343 to get how much farther the reflection travelled than the direct sound, in metres (the hover text does it):

DelayExtra pathA surface that far, for instance
0.5–1 ms0.2–0.35 ma desk, a console, a shelf under the loudspeaker
1–2.5 ms0.35–0.85 mthe floor (loudspeaker and ears at the usual heights, 2.5–4 m apart)
3–5 ms1–1.7 mthe ceiling, a side wall near the loudspeaker
5–15 ms1.7–5 mthe wall behind the listener, the far side wall

To find the surface, look for the one that makes the sound travel that much farther: the path from the loudspeaker to the surface and on to the microphone, against the straight one. Example: woofer 0.8 m up, ears 1.1 m up, 3 m apart: by the floor the path is √(3² + 1.9²) = 3.55 m, straight it is √(3² + 0.3²) = 3.02 m: 0.54 m farther, a peak at 1.6 ms.

The vertical axis is the reflection's level, relative to the direct sound, as a ratio:

PeakReflectionIts dips in the response
0.7−3 dB−10.5 dB
0.5−6 dB−6 dB
0.3−10.5 dB−3 dB
0.2−14 dB−2 dB
0.1−20 dB−0.9 dB

A hard surface near the loudspeaker (a floor without carpet, a desk) often reads 0.3 to 0.7; a treated or distant one, under 0.1. A reflection reads negative when it comes back inverted, which a real surface seldom does: a negative peak is usually an echo of another one (below).

The shape of a peak tells the band the reflection lives in. A sharp peak, one or two samples wide, is a reflection over the whole band: a hard, flat surface. A broad, lower hump is a reflection over part of it only: a surface that absorbs the treble (a curtain, a sofa), or that the loudspeaker radiates towards only in the bass and the midrange (behind it, beside it). The narrower the band, the wider and lower the hump: a reflection of the bass alone spreads out of sight (see below).

Peaks that are not reflections:

  • The echo of a strong reflection: a reflection g at τ also makes a smaller, negative peak −g²/2 at 2τ, +g³/3 at 3τ. A peak of 0.5 at 3 ms comes with −0.125 at 6 ms.
  • The meeting of two reflections: reflections a at τa and b at τb make a negative peak −a·b at τa + τb. Of 0.5 at 2 ms and 0.4 at 5 ms: −0.2 at 7 ms.
  • The first millisecond: the loudspeaker's own response (its crossover, its drivers' ringing) and the room's modes, which are not echoes, gather at the shortest delays; the first 0.3 ms are not drawn, and what stands up to about 1 ms is to be read with care.

A row of evenly spaced peaks, positive, slowly decreasing, is a flutter echo: the sound bouncing between two parallel, hard walls. Their spacing T gives the walls' distance, 0.343 × T / 2 metres (T in ms): peaks every 11.7 ms, walls 2 m apart.

The positions and their mean. The mean is the thick curve, its eight strongest peaks of 0.1 or more marked. A peak in the mean is a reflection every position hears as late: a surface near the loudspeaker (the floor, the ceiling above it, a desk) more than one near the listener. A peak in some positions only moves with them: a surface near the listening area, a side wall, the wall behind the sofa. A position whose cepstrum stands out from the others is worth a look: a microphone near a surface, a measurement disturbed.

With the energy-time curve. The Energy-Time Curve shows the same reflections in time, as the sound arrives; the cepstrum gives each one's level as a ratio, apart from the direct sound's own decay, and separates reflections that the energy-time curve shows overlapped with it. A peak in both, at the same delay, is a reflection beyond doubt.

What it does not show: a reflection with a short delay that lives only in the bass. The wall behind a loudspeaker is reached by its back radiation, which fades above a few hundred hertz: its reflection leaves less than one period of ripple where it exists, and the delay cannot be resolved finer than about the inverse of that band, while the floor, the ceiling and the side walls arrive within the same few milliseconds. Tested on 200 simulated rooms with four positions each, the positions' cepstra found the wall behind the loudspeaker in 2 to 15 of them, whatever the band read.


Boundary Interference

A dip at the same frequency at every listening position comes from the loudspeaker's side: the sound a surface near it (the wall behind it, the floor, a side wall) sends back cancels its own there, wherever one listens, or the loudspeaker's own response. The room's own dips move from one position to the next (the cancellations between its modes depend on where the microphone is), so a dip they all share stands out. A loudspeaker's boundary interference falls under 200–300 Hz; a correction filter cannot fill it: moving the loudspeaker, or treating the surface, does.

Each position's magnitude, from its whole impulse response, smoothed over 1/12 octave, is compared with its own trend (smoothed over an octave); a frequency between 30 and 300 Hz is a common dip where the positions are on average 6 dB or more under their trend, each the lowest within ±5 % of it, and none less than 3 dB. Graphs > Boundary interference draws them over the magnitude and phase graphs of the Measurements view.

A dip tells that a surface near the loudspeaker is at work, not which one: a surface between a quarter and 0.4 of a wavelength away makes a dip there (a quarter where the direct sound dominates, 0.4 for the loudspeaker's power in the room). The loudspeaker's distances, in the diagnostics, tell which.

How sure: on 40 simulated rectangular rooms (their modes, five positions, the loudspeaker 0.25 to 1.2 m from the wall behind it), a common dip fell where the wall behind would put one in 28 of them, where frequencies drawn at random would in about 14; 88 % of the common dips fell where one of the loudspeaker's surfaces would put one, against 65 % at random.


Reflection-Free Zone

A control room keeps its first 15 to 20 ms free of reflections within 20 dB of the direct sound - the reflection-free zone of Davis and D'Antonio - by sending the early reflections away from the listening seat: the ear then hears the recording's own space rather than the room's. At each position, the diagnostics give the first reflection that comes within 20 dB of the direct sound in its first 20 ms (from 0.5 ms after it, the loudspeaker's own response ending there), read on its energy-time curve: its delay, its level and how much farther it travelled. Graphs > Reflection-free zone draws, under each position's energy-time curve, a dashed line 20 dB under its direct sound for its first 20 ms: a reflection should stay under it.

The energy-time curves of a room, each with the dashed line of its reflection-free zone 20 dB under its direct sound The energy-time curves of a room, each with the dashed line of its reflection-free zone 20 dB under its direct sound

The floor's reflection (1 to 2.5 ms) and a desk's are the usual ones; a listening room rarely keeps the whole zone free, but the fewer and the weaker the reflections in it, the clearer the image.


Position Spread

The Spread tab shows how much the listening positions' responses differ, frequency by frequency: their standard deviation, in dB, each position's magnitude (from its impulse response 5 ms before its direct sound to a second after it, the room's steady state) smoothed over 1/6 octave and set to its own level (less its mean between 200 Hz and 2 kHz, so that a position nearer the loudspeaker, louder throughout, does not count as different). It needs two positions.

The standard deviation of the positions' responses, high in the bass, low above a few hundred hertz The standard deviation of the positions' responses, high in the bass, low above a few hundred hertz

Where the spread is low, a correction made on the positions' average holds for all of them. Where it is high - under a small room's Schroeder frequency, where each position hears the modes with its own weights and its own dips between them - it holds for none of them exactly: correct there the peaks the positions share (the modes, which the Auto EQ's Room modes switch targets), not the dips. Moving the listening area, or treatment, brings the positions together. The diagnostics list the ranges where they differ by over 3 dB.


Schroeder Frequency

Under the Schroeder frequency, 2000 × √(T / V) Hz (T the room's reverberation time in seconds, V its volume in cubic metres), the room's modes stand apart and rule its response; above it, they overlap so densely that the sound field is diffuse. In a room of 50 m³ with 0.4 s, it falls at 180 Hz. Under it, each position hears its own response and a filter acts on the peaks the positions share; above it, the response changes little from one position to the next, and treatment, not a filter, changes the room's sound.

LinFIR computes it with the room's T20 above its modes (250 Hz to 1 kHz) once the room's dimensions are given in the diagnostics: the diagnostics give it first, the table of modes under the room's T20, the Spread tab as a line, and Graphs > Schroeder frequency draws it over the magnitude and phase graphs of the Measurements view.


Diagnostics

The Diagnostics tab lists, a line each, what the measurements tell of the room; hovering a line says how it reads.

The diagnostics of a room: modes that ring long, a boundary interference, the bass reverberation The diagnostics of a room: modes that ring long, a boundary interference, the bass reverberation
  • The Schroeder frequency, first, with the room's dimensions.
  • Modes that ring longer than the room above its modes (by 25 % at least, at most 20 dB under the strongest mode), the longest first.
  • Boundary interference: the dips every position has.
  • Reflections at least 15 dB under the direct sound and 0.5 to 20 ms after it, which at least four positions in five have within ±0.25 ms (read on each position's energy-time curve): a surface every position hears as late, the floor, the ceiling, a desk.
  • The reflection-free zone: how many positions have a reflection within 20 dB in their first 20 ms, each one's first in the hover text, or that none has.
  • Curved decays: a band whose mean curvature is over 10 %.
  • Position spread: the ranges, at most three, where the positions differ by over 3 dB (Position Spread).
  • Bass reverberation: an octave band under 250 Hz whose T20 is twice the room's above its modes or more. Under the room's lowest mode (from its dimensions; blind, the 16 Hz band), it is put down to the subwoofer's own decay, which its filters change, rather than to the room.

Boundary interference, shared reflections and the position spread are read across the positions: with a single one, they are not looked for.

Room and Loudspeaker

The fields above the diagnostics, both optional, make them precise; without them, the diagnostics are read blind. Each group has its switch; both are saved with the project.

Room dimensions (m): Length, Width and Height, inside the room, wall to wall and floor to ceiling. They describe a rectangular room: for a room of another shape, give the rectangle that holds most of it (the modes named are then approximate, and some are said to match none). Each mode is named after the room's mode nearest it, within 2 % (1.5 Hz at least), computed for rigid walls:

  • axial, (n, 0, 0) and its kind: a standing wave between two parallel walls, the distance between them given; the strongest and longest kind, the first to treat;
  • tangential, (n, m, 0): between four walls;
  • oblique, (n, m, l): between all six.

The three numbers count the half wavelengths along the length, the width and the height: (1, 0, 0) is the lowest mode of the length, (0, 2, 0) the second of the width. A mode no rectangular room of these dimensions has near it is said so: the room's shape, its openings, or a resonance of something in it.

Loudspeaker distances (m), from the loudspeaker that plays the bass (the subwoofer, with one), its woofer's centre:

  • Wall behind: to the wall behind it, straight back;
  • Side wall: to the nearest side wall;
  • Floor: from the floor up to the woofer's centre.

A boundary interference is then put down to the surface between 0.22 and 0.4 wavelength from the loudspeaker at its frequency (from where the reflection arrives half a period late to where it lowers the loudspeaker's power most): the wall behind at 0.85 m makes one between 90 and 160 Hz. When two of them could make it, both are named; when none, the line says so: another surface near the loudspeaker (a corner, furniture), or its own response.