MY SIMULATOR FIELD LAB
WHAT-IF UNIVERSE ACOUSTICS
WHAT-IF UNIVERSE / ACOUSTICS

Bottle resonance: when the air changes its tune

A glass bottle is an acoustic resonator. Change only the speed of sound and watch its natural pitch move — while the bottle itself stays the same.

REAL-WORLD REFERENCE 343 m/s Textbook air at 20°C · scale 1.00×
LIVE MODEL

Inside the bottle

Near resonance
SCHEMATIC CUTAWAYNOT TO SCALE
Drag to shift the view
NATURAL PITCH MODEL 141.8 Hz Helmholtz frequency
DRIVE / NATURAL MODEL 1.00 × Source is tuned
AIR-PLUG MOTION MODEL 26.6 µm Peak displacement
CAVITY PRESSURE MODEL 0.31 Pa Peak acoustic pressure

Near resonance: the air plug moves strongly. The bottle geometry is unchanged.

MEASURED EXPERIMENT VS THEORY

Frequency sweep

NUMERICAL SWEEP PEAK 141.8 Hz
Steady-state model response Chosen drive frequency Peak vs damped theory: 0.0% difference

The numerical bench scans 121 frequencies and selects the strongest response. It is a computed experiment, not a physical microphone measurement.

NUMERICAL SANITY CHECKS

Does the model agree with itself?

4 independent checks
Textbook sound speed 0.06% difference Ideal-gas result vs 343.0 m/s
Acoustic circuit 0.00% difference Mass–compliance vs geometry formula
Fixed-step ring-down 0.00% difference RK4 integration vs closed form
Frequency sweep 0.00% difference Grid peak vs damped-oscillator theory
THE SCIENCEEquations, assumptions and limits

Helmholtz resonance

A bottle's neck contains a moving plug of air. The cavity compresses like a spring while the neck air supplies inertia. The natural frequency is

f₀ = c / (2π) √[A / (V Leff)]

A is the neck area, V is cavity volume, and Leff is neck length plus an approximate end correction of 1.7 times the neck radius.

Forced motion

The moving air plug is represented by a damped, driven oscillator:

m ẍ + b ẋ + kx = pA sin(ωt)

Here m = ρALeff, k = ρc²A²/V, and b = mω₀/Q. The animation integrates this equation with a fixed-step fourth-order Runge–Kutta method.

What the what-if changes

The slider scales the sound speed c from 0.5 to 3 times 343 m/s. Since f₀ is proportional to c, the natural pitch moves in direct proportion. If the source frequency is not retuned, the bottle can become strongly detuned even though its resonance still exists.

Simplifications

  • Air density is held at 1.204 kg/m³; only sound speed is changed.
  • The gas is treated as uniform, ideal and nondispersive.
  • The neck is a rigid cylinder; wall vibration and viscous boundary layers are omitted.
  • The end correction is approximate, and Q is an illustrative damping control.
  • Air-plug movement is exaggerated visually; readouts use modelled physical displacement.

An independent educational simulation for mysimulator.uk; not affiliated with instrument, glassware or audio-equipment manufacturers.

Made with 🤖 ChatGPT