Sound Waves Simulation: Resonance & Doppler
Find the speed of sound with a resonance tube, hear a passing siren change pitch, and block noise with a barrier.
In a closed-end air column, consecutive resonance lengths are spaced by exactly half a wavelength (delta L = lambda / 2), letting you determine the speed of sound via v = f * lambda; meanwhile, motion between a sound source and listener shifts perceived frequency via the Doppler effect. In this interactive 3D sound waves simulation, students tune piston resonance tubes, measure passing sirens, and test barrier acoustics.
- 11 languages
- Laptop · tablet · phone
- Members
Create a free account to get 2 lifetime Free Lab Passes for any labs in the library. The course guide on this page stays free.

Inside this lab
- 1
Preview
- Driving question
- What you will predict
- Equipment and safety
- 2
Lab
- Lock in prediction
- Run the experiment, measure and replay
- Your notebook fills in as you go
- 3
Check
- Did the lab agree with you?
- Claim, evidence, reasoning
- Check questions and a printable lab report
How this sound waves simulation measures acoustics and Doppler shifts
Acoustic resonance in a piston tube and frequency shifts from a moving siren test two core behaviors of longitudinal sound waves (v = f * lambda). Locating successive resonant tube lengths cancels open-end corrections to yield accurate air-column wavelengths (lambda = 2 * (L_2 - L_1)), while tracking a moving siren distinguishes relative velocity effects from changes in emitted tone frequency.
Apparatus, safety notes, and step-by-step procedure
- Apparatus: 3D adjustable piston resonance tube with length ruler (
m), selectable frequency tone generator (384 Hzreference and additional tones), microphone/decibel peak indicator, moving-siren Doppler track with listener station, and acoustic barrier setup. - Safety note (for physical lab prep): In a classroom acoustics lab, keep tone-generator speaker volumes moderate to protect hearing and avoid striking glass or plastic resonance tubes with hard tuning forks.
- Open the 3D bench in Ideal mode on the resonance tube station at
20 deg C(v_ref = 343.2 m/s) and select the384 Hztone source. - Slide the piston slowly outward from
L = 0until you detect the first loud acoustic resonance peak (L_1) and record its exact length (m). - Continue sliding the piston outward to locate the second resonance peak (
L_2) and recordL_2(m). - Compute wavelength
lambda = 2 * (L_2 - L_1)(0.894 mideal reference at384 Hz), then calculate speed of soundv = f * lambdaand compare against343.2 m/s. - Repeat Steps 2–4 with at least two different tone frequencies (e.g.,
256 Hzand512 Hz) and verify thatlambdascales inversely withfwhilevstays constant. - Switch to the Doppler siren station, keep emitted frequency
f_sfixed, and record observed frequencyf_obsas the vehicle approaches and then recedes at a chosen speedv_s. - Increase vehicle speed
v_sin a second trial and verify that the frequency shift|f_obs - f_s|grows asymmetrically according tof_obs = f_s * v / (v -+ v_s). - Inspect the barrier/diffraction setup to compare how lower-frequency (longer-wavelength) vs. higher-frequency sound waves bend around obstacles.
Recording table and model reference data
Model reference data — run your own trials in the 3D lab. Values below reflect Ideal
20 deg Cair (v = 343.2 m/s) with a384 Hzsource.
| Trial | Independent Variable (Station, Frequency f, Motion) | Dependent Variable (Wavelength lambda / Observed f_obs) | Units | Observation |
|---|---|---|---|---|
| Ref 1 | Resonance tube, f = 384 Hz, 20 deg C | lambda = 0.894 m, delta L = 0.447 m, v = 343.2 m/s | Hz, m, m/s | Consecutive peaks separated by exact half-wavelength |
| Ref 2 | Doppler siren approaching at v_s = 20 m/s (f_s = 384 Hz) | f_obs = 407.8 Hz (shifted upward) | m/s, Hz | Compressed wavefronts raise perceived pitch |
| Ref 3 | Doppler siren receding at v_s = 20 m/s (f_s = 384 Hz) | f_obs = 362.9 Hz (shifted downward) | m/s, Hz | Stretched wavefronts lower perceived pitch |
| Your Trial | Record f, L_1, L_2 (or v_s, direction) | Record lambda, v = f*lambda, or f_obs | Hz, m, m/s | Subtract L_2 - L_1 to eliminate open-end correction |
Lab report outline (blank template)
- Title: State the acoustic phenomenon measured (speed of sound in an air column, Doppler shift, or diffraction).
- Purpose: Define how resonance spacing and moving-source frequencies test wave equations.
- Hypothesis: Predict how frequency changes resonance spacing and how source motion shifts observed pitch.
- Variables: Identify tone frequency, piston length, or siren velocity (independent); resonance positions
L_1, L_2andf_obs(dependent); air temperature and mode (controlled). - Data Table: Record
f (Hz),L_1 (m),L_2 (m),delta L (m),lambda (m),v (m/s), and Doppler speeds/frequencies. - Analysis & Calculation: Plot
lambdavs.1/f(slope= v), compute percent error vs.343.2 m/s, and compare measured Doppler frequencies againstf_s * v / (v -+ v_s). - Conclusion & Sources of Error: Explain why
L_2 - L_1is more accurate than4 * L_1, and analyze how Real-mode resonance peak width, temperature drift, or tube diameter affects accuracy.
Continue exploring waves and acoustics
Compare transverse string harmonics in Standing Waves on a String, see 2D wavefronts in Ripple Tank Waves, or visit Waves & Sound Labs.
Common questions
How do you measure the speed of sound using a closed resonance tube?
Find two consecutive loud resonance piston positions L_1 and L_2 for a known tone frequency f; their difference equals half a wavelength (lambda = 2 * (L_2 - L_1)), giving v = f * lambda.
Why should you subtract two resonance lengths instead of multiplying the first length by 4?
The pressure antinode sits slightly outside the open end of the tube (an end correction); subtracting L_2 - L_1 cancels the unknown end correction cleanly.
How does air temperature affect the speed of sound?
Sound travels faster in warmer air because air molecules move more rapidly; at 20 deg C the reference speed of sound is 343.2 m/s, rising roughly 0.6 m/s per degree Celsius.
Why does a passing siren sound higher pitched as it approaches and lower as it recedes?
An approaching source compresses successive wavefronts into shorter observed wavelengths (higher frequency), while a receding source stretches wavefronts into longer wavelengths (lower frequency).
Does the Doppler shift change the speed of sound in stationary air?
No. Sound wave speed through the medium is fixed by air temperature and properties; source motion changes wavelength and observed frequency while keeping wave speed constant.
Why is sound classified as a longitudinal mechanical wave?
Air particles oscillate back and forth parallel to the direction the wave travels, creating alternating compressions and rarefactions that require a material medium to propagate.


