MY SIMULATOR / SOUND LAB
INTERACTIVE PHYSICS EXHIBIT
WHAT-IF UNIVERSE ACOUSTICS

When Air Changes: The Bottle That Stops Singing

Change the speed of sound. Keep the bottle. Discover why a familiar tone can suddenly miss its favourite resonance.

LIVE ACOUSTIC MODEL
A hollow bottle, one moving air plug
RUNNING
HERO OBJECT · HOLLOW BOTTLE
DRAG TO REPOSITION
AIR-PLUG MOTION / CAVITY PRESSURE
BOTTLE RESONANCE MODEL
165.6Hz
Natural frequency
SOUND SPEED TEXTBOOK REF × SCALE
343.0m/s
Reference: 343 m/s at 20°C
AIR-PLUG MOTION SIMULATED
0.00mm
Instantaneous displacement
RESONANT WAVELENGTH MODEL
2.07m
Sound speed ÷ resonance
WHAT IS HAPPENING?

The source is close to the bottle's natural rhythm. The air plug moves strongly while the bottle's geometry stays fixed.

MEASURED EXPERIMENT

Time-domain test vs theory

NUMERICAL RUN

A fixed-step simulation measures the steady air-plug motion under your selected source tone, then compares it with the analytic driven-oscillator response.

Measured amplitude0.45 mm
Theory amplitude0.45 mm
Difference0.0%
At resonance
MODEL INTEGRITY

Three independent numerical checks

3 / 3 PASS
01PASS

Mass–spring reconstruction

Air-plug mass and cavity stiffness reproduce the Helmholtz equation independently.

0.000% difference Closed-form cross-check
02PASS

Numerical period

Fixed-step RK4 free oscillation is compared with the analytic period.

0.001% difference Brute-force integration
03PASS

Energy conservation

Velocity-Verlet integration checks bounded energy error in an undamped test.

0.04% maximum drift Conservation check over 20 cycles

Pass thresholds are numerical tolerances, not experimental uncertainty. Percent differences are recalculated when the model settings change.

THE PHYSICSThe science behind the bottle
HELMHOLTZ RESONANCE · TEXTBOOK MODEL
fH = c2π √AV Leff

c is sound speed; A = πr² is neck area; V is cavity volume; and Leff = L + 1.7r is the approximate effective neck length, including end correction.

DRIVEN AIR-PLUG MOTION · LINEAR MODEL
ẍ + 2ζωHẋ + ωH²x = ad sin(ωdt)

The numerical experiment integrates this equation with fixed-step fourth-order Runge–Kutta. Its steady response is compared with the analytic forced-oscillator amplitude.

What stays stable

The bottle's dimensions, neck area, cavity volume and end-correction model do not change when the speed slider moves. The resonance remains a resonance, and its frequency scales linearly with sound speed.

Where the mismatch appears

The source tone is an independent setting. If it stays fixed while the resonator's preferred frequency moves away, the air-plug response becomes smaller. Retuning the source restores a strong response.

Model boundaries. This is a lumped-parameter approximation: the cavity pressure is treated as uniform, the neck air moves as one plug, the bottle walls are rigid, and motion is small and linear. The 1.7r end correction is approximate. The speed slider changes the medium's effective bulk modulus K = ρc² while holding density fixed; it is a controlled what-if, not a claim that ordinary air can be changed independently of temperature or composition. Bottle dimensions and drive strength are illustrative, not measurements of a particular bottle.

An independent educational simulation; not affiliated with a bottle manufacturer or scientific institution.

Made with 🤖 ChatGPT