What-if universe · acoustic physics

When Air Changes the Bottle's Song

A glass bottle becomes a musical resonator. Change the speed of sound, then listen with your eyes.

ILLUSTRATIVE PRESSURE FIELD · DRAG TO MOVE THE BOTTLE
The science · equations and limitations

A bottle's neck contains an oscillating plug of air; the compressible air in its body acts like a spring. For a Helmholtz resonator, f₀ = c/(2π) √[A/(V Lₑ)], with A = πr² and Lₑ = L + 1.7r (illustrative unflanged/flanged end-correction approximation). The model uses c = 343 m/s as its textbook reference at approximately 20 °C.

Driven displacement obeys ẍ + 2ζω₀ẋ + ω₀²x = F cos(ωdt). The steady-state magnification relative to static displacement is G = 1 / √[(1 − (ωd/ω₀)²)² + (2ζωd/ω₀)²]. The animation integrates this oscillator with fixed 1 ms RK4 steps; the pressure rings are an illustrative depiction, not a computational-fluid-dynamics solution.

The three checks independently calculate frequency from a numerical oscillator integration, a finite-difference eigenfrequency and a numerical period integral. They test the undriven linear model, not the bottle's physical manufacturing tolerances. The frequency shift is an imagined change of sound speed while bottle geometry and damping remain fixed. Real gases also change density, viscosity, temperature and other properties; the bottle approximation can fail for large necks, high amplitudes and frequencies near other cavity modes. No audio is generated. This exhibit is independent and not affiliated with any institution.

Made with 🤖 ChatGPT