Fundamentals / Waves and oscillations / Acoustics

Which notes can a closed room sustain?

Apply rigid-wall conditions to the wave equation and predict the frequencies and shapes of standing sound waves.

Prerequisites Sinusoidal waves and partial derivatives.

From a pressure disturbance to a wave

A loudspeaker sweeps through a range of pitches in a closed room. At a few frequencies the pressure response depends strongly on where the listener stands. To predict those frequencies, first consider air at rest with uniform density \(\rho_0\) and sound speed \(c\). Let \(p\) be a small pressure disturbance and \(\mathbf u\) the particle velocity.

Pressure differences accelerate a parcel of air. Compression raises its density and, through the adiabatic relation \(p=c^2\rho'\), its pressure. Linear momentum and mass conservation therefore give

\[\rho_0\,\partial_t\mathbf u=-\nabla p,\]
\[\partial_t p=-\rho_0c^2\nabla\cdot\mathbf u.\]

Differentiate the pressure equation in time and substitute the velocity equation to obtain

\[\partial_{tt}p=c^2\nabla^2p.\]

A standing wave has a pressure shape \(P(\mathbf x)\) whose amplitude oscillates in time. Substituting \(p=P\cos(\omega t)\) gives

\[\nabla^2P+(\omega/c)^2P=0.\]

Fit a wave between rigid walls

At a fixed wall the normal air velocity stays zero, so momentum balance gives \(\partial_n P=0\). Along a box of length \(L_x\), a shape \(\cos(k_xx)\) has zero derivative at the first wall. The opposite wall requires \(\sin(k_x L_x)=0\), or \(k_x=n_x\pi/L_x\). Applying the same argument in the other directions gives products of three cosines and frequencies

\[f_{n_x n_y n_z}=\frac{c}{2}\sqrt{(n_x/L_x)^2+(n_y/L_y)^2+(n_z/L_z)^2}.\]

The indices are nonnegative integers. A zero index means uniform pressure along that direction. All three zero together give a static pressure offset. Uniform, lossless air and perfectly rigid walls give sharp resonances. In a real room, absorption also sets how long each note rings.

Locate the lowest note and its silent plane

Consider a box of \(1.0\times0.7\times0.5\) m filled with air at \(c=343\) m/s. The longest dimension allows the longest half-wave. The lowest positive frequency is

\[f_{100}=343/(2\times1.0)=171.5\,\mathrm{Hz}.\]

Its pressure shape is proportional to \(\cos(\pi x/L_x)\). The end walls have opposite pressure signs at each peak, and the midplane \(x=0.50\) m is a pressure node. A microphone on that plane can miss this mode entirely.

Tutorial on listening positions and room shape

1. Can a microphone distinguish two modes?

Find the frequency of mode \((1,1,0)\). Choose a point that detects this mode and a point where it vanishes but the lowest mode still has a strong signal.

Solution to the microphone placement

The frequency is

\[171.5\sqrt{1+(1/0.7)^2}=299.1\,\mathrm{Hz}.\]

The shape is proportional to \(\cos(\pi x/1.0)\cos(\pi y/0.7)\), independent of height. Both modes have a pressure maximum in magnitude at the corner \(x=y=0\). Move along the end wall to \(y=0.35\) m. The second factor vanishes while the lowest mode’s first factor stays at 1.

2. Split a shared resonance

Find two distinct axial modes at 343 Hz. Raise the ceiling from 0.50 m to 0.55 m while keeping the other dimensions fixed. What would a frequency sweep resolve?

Solution to the ceiling change

The original modes \((2,0,0)\) and \((0,0,1)\) fit two half-waves along \(x\) and one half-wave along \(z\), respectively. After raising the ceiling, the first remains at 343 Hz and the second falls to

\[343/(2\times0.55)=311.8\,\mathrm{Hz}.\]

The original shared frequency was a consequence of the room dimensions. A suitable source and microphone can now resolve two distinct peaks if losses are small enough.

Optional numerical comparison

In the rigid-box calculation, discard the spatially constant mode and compare the lowest positive frequency with 171.5 Hz. Use a 1% relative error as a first check. Inspect the corresponding pressure shape for a node at \(x=0.50\) m. Its overall sign and amplitude can vary with eigenvector normalisation. OneSimulation example of rigid-box modes.