Dry-air reference at 20 °C · 0.00% difference
The singing bottle
Change the speed of sound. Keep the bottle and the note fixed. See when the air inside stops singing along.
At the reference speed, the bottle's natural frequency sits on the fixed tone. The neck air builds a large oscillation.
Speed of sound in the surrounding air
Does the model agree with itself?
Two independent frequency calculations · 0.00% difference
Time-domain experiment vs closed form · 0.00% difference
Measured phase lag vs closed form · 0.00% difference
The experiment starts from rest, integrates the driven oscillator, then measures its final eight cycles. Theory predicts the steady-state amplitude directly.
THE SCIENCEEquations · assumptions · limits +
Why a bottle has a note
A Helmholtz resonator is a cavity connected to the outside by a neck. The air in the neck behaves approximately like a moving mass; the compressible air in the cavity behaves like a spring. Their exchange of kinetic and compression energy creates a resonant frequency.
The real equations
c is the speed of sound, A is the neck cross-sectional area, V is the cavity volume, and Leff is the effective neck length including end correction. Only c changes in this experiment.
The neck displacement is integrated with fixed-step fourth-order Runge–Kutta (RK4). The steady-state comparison uses the closed-form driven-oscillator amplitude and phase.
What is held fixed
- Cavity volume: 0.68 L (illustrative geometry)
- Neck radius: 12 mm (illustrative geometry)
- Effective neck length: 41 mm (illustrative geometry)
- Driving tone: 220 Hz (illustrative test tone)
- Damping ratio: 0.040 (illustrative model value)
What the model leaves out
The bottle is treated as a compact, rigid-walled cavity with a lumped air plug. Real bottles have frequency-dependent losses, wall vibration, non-uniform neck flow, temperature gradients and a frequency-dependent end correction. The model is most trustworthy when the neck and cavity dimensions are small compared with the sound wavelength and the air motion is small.
The reference 343 m/s is the usual approximate speed of sound in dry air near 20 °C. It is a textbook reference, not a universal constant. The bottle dimensions, damping and 220 Hz drive are illustrative, not a claim about a measured bottle.
An independent educational simulation; not affiliated with any instrument manufacturer or scientific institution.