Skip to main content
Physics

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. 1

    Preview

    • Driving question
    • What you will predict
    • Equipment and safety
  2. 2

    Lab

    • Lock in prediction
    • Run the experiment, measure and replay
    • Your notebook fills in as you go
  3. 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 Hz reference 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.
  1. Open the 3D bench in Ideal mode on the resonance tube station at 20 deg C (v_ref = 343.2 m/s) and select the 384 Hz tone source.
  2. Slide the piston slowly outward from L = 0 until you detect the first loud acoustic resonance peak (L_1) and record its exact length (m).
  3. Continue sliding the piston outward to locate the second resonance peak (L_2) and record L_2 (m).
  4. Compute wavelength lambda = 2 * (L_2 - L_1) (0.894 m ideal reference at 384 Hz), then calculate speed of sound v = f * lambda and compare against 343.2 m/s.
  5. Repeat Steps 2–4 with at least two different tone frequencies (e.g., 256 Hz and 512 Hz) and verify that lambda scales inversely with f while v stays constant.
  6. Switch to the Doppler siren station, keep emitted frequency f_s fixed, and record observed frequency f_obs as the vehicle approaches and then recedes at a chosen speed v_s.
  7. Increase vehicle speed v_s in a second trial and verify that the frequency shift |f_obs - f_s| grows asymmetrically according to f_obs = f_s * v / (v -+ v_s).
  8. 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 C air (v = 343.2 m/s) with a 384 Hz source.

TrialIndependent Variable (Station, Frequency f, Motion)Dependent Variable (Wavelength lambda / Observed f_obs)UnitsObservation
Ref 1Resonance tube, f = 384 Hz, 20 deg Clambda = 0.894 m, delta L = 0.447 m, v = 343.2 m/sHz, m, m/sConsecutive peaks separated by exact half-wavelength
Ref 2Doppler siren approaching at v_s = 20 m/s (f_s = 384 Hz)f_obs = 407.8 Hz (shifted upward)m/s, HzCompressed wavefronts raise perceived pitch
Ref 3Doppler siren receding at v_s = 20 m/s (f_s = 384 Hz)f_obs = 362.9 Hz (shifted downward)m/s, HzStretched wavefronts lower perceived pitch
Your TrialRecord f, L_1, L_2 (or v_s, direction)Record lambda, v = f*lambda, or f_obsHz, m, m/sSubtract L_2 - L_1 to eliminate open-end correction

Lab report outline (blank template)

  1. Title: State the acoustic phenomenon measured (speed of sound in an air column, Doppler shift, or diffraction).
  2. Purpose: Define how resonance spacing and moving-source frequencies test wave equations.
  3. Hypothesis: Predict how frequency changes resonance spacing and how source motion shifts observed pitch.
  4. Variables: Identify tone frequency, piston length, or siren velocity (independent); resonance positions L_1, L_2 and f_obs (dependent); air temperature and mode (controlled).
  5. Data Table: Record f (Hz), L_1 (m), L_2 (m), delta L (m), lambda (m), v (m/s), and Doppler speeds/frequencies.
  6. Analysis & Calculation: Plot lambda vs. 1/f (slope = v), compute percent error vs. 343.2 m/s, and compare measured Doppler frequencies against f_s * v / (v -+ v_s).
  7. Conclusion & Sources of Error: Explain why L_2 - L_1 is more accurate than 4 * 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.