mysimulator.uk
WHAT-IF UNIVERSEACOUSTICS LAB

ACOUSTICS · WHAT-IF LAB

When Air Changes: The Resonance of an Organ Pipe

One tube. One fixed tone. One changed parameter.

IN RESONANCE
PRESSURE FIELD · MODEL VIEW

The fixed tone is aligned with the pipe's fundamental resonance. A strong quarter-wave pattern builds.

LOCKED

LIVE READOUTS

What the pipe is doing

MODEL OUTPUT · SCALED WHAT-IF
Fundamental resonance440.0 HzTextbook match at 1.00×
Driver detuning0.0 HzFixed source: 440 Hz · standard A₄ tone
Relative response100.0 %Normalised single-mode model
Fundamental wavelength0.780 mλ₁ = c / f₁ · model output

EXPERIMENT VS THEORY

Does the model agree?

RK4 · FIXED STEP
Numerical experiment100.0%0.00% difference
Closed-form theory100.0%steady-state transfer function

The time-domain experiment has settled. The measured amplitude agrees with the analytic response.

NUMERICAL CROSS-CHECKS

Three independent checks

3 / 3 PASS
Discrete pipe eigenmodeFinite-difference grid vs quarter-wave equation
0.00%PASS
Free ring-down frequencyRK4 measurement vs damped closed form
0.00%PASS
Driven response amplitudeTime-domain measurement vs transfer function
0.00%PASS

Absolute percentage differences. Grid size, time step and damping are illustrative model settings.

THE SCIENCEEquations, assumptions and limitations

THE PIPE

A quarter-wave resonator

One end is closed and the other is open. The air cannot move at the closed end, so pressure variation is largest there. At the open end, pressure stays close to atmospheric pressure, giving a pressure node.

Effective lengthLeff = L + 0.6rApproximate open-end correction for a simple unflanged tube.
Allowed resonancesfn = (2n − 1)c / (4Leff)n = 1, 2, 3 …; only odd harmonics occur in this ideal closed-open pipe.

THE SOURCE

A fixed-frequency drive

The tone source stays at 440 Hz. The fundamental moves with sound speed, so the source can move away from resonance even though the pipe geometry does not change.

Single-mode motionẍ + (ω₀/Q)ẋ + ω₀²x = (ω₀²/Q) cos(ωdt)Normalised force; Q = 18 is an illustrative damping choice.
Steady response, relative to resonanceA/Ares = 1 / √([Q(1 − ρ²)]² + ρ²)ρ = ωd/ω₀. The displayed experiment integrates the motion with fixed-step RK4.

WHAT IS HELD FIXED

An honest, narrow what-if

  • Textbook reference: c = 343 m/s for dry air near 20 °C; the fixed source is the standard 440 Hz A₄ tone.
  • Illustrative geometry: 12 mm bore radius and 187.7 mm physical length, chosen for an effective quarter-wave length that resonates at the reference speed.
  • Illustrative model settings: Q = 18, a 48 kHz integration step rate and a 256-interval finite-difference check.
  • The what-if changes c only. Real changes to gas composition, temperature or pressure can also change density, acoustic impedance and losses.
  • The live response keeps the fundamental mode only. The mode overlay shows the ideal odd-mode shape, not a full broadband pipe simulation.

Independent educational simulation. Not affiliated with, endorsed by, or representative of any organ manufacturer or standards body.

Made with 🤖 ChatGPT