Home▸Sound & Music▸Acoustic Resonance Lab: Standing Waves in a Tube (2D)

Acoustic Resonance Lab: Standing Waves in a Tube (2D)

2D standing-wave resonance simulator: sweep the driving frequency across a multi-mode resonance curve for a tube with closed-closed, open-open or closed-open ends and watch the standing wave lock onto each harmonic.

Sound & Music2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Acoustic Resonance Lab: Standing Waves in a Tube (2D) ↗ Open standalone

A one-dimensional tube of adjustable length, radius, gas, temperature and end conditions is simulated directly in the time domain (finite-difference solution of the linear acoustic equations). A loudspeaker drives it at a chosen frequency; a broadband pulse plus an FFT gives the true resonance curve, which is checked live against the closed-form mode frequencies, the measured Q and the speed of sound.

⚙ Under the hood

2D standing-wave resonance simulator: sweep the driving frequency across a multi-mode resonance curve for a tube with closed-closed, open-open or closed-open ends and watch the standing wave lock onto each harmonic.

standing wavestube resonanceacoustic modesharmonic seriesboundary conditions

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)