Waves, sound & Doppler lab
Watch waves move, find the speed of sound, hear and see the Doppler effect, add decibels and work out the notes of strings and pipes.
How to use
- Waves: type two of speed, frequency and wavelength to get the third. The picture shows the wave moving, slowed down.
- Speed of sound: choose air (with its temperature) or another material to get the speed, the wavelength of a tone, and distances from echoes and thunder.
- Doppler: set the pitch a source sends and how fast it and you move. See the rings bunch up, hear a pass-by, or type the pitch you heard coming and going to estimate a speed.
- Decibels: add several sound levels and see how loud they are further away.
- Strings & pipes: find the notes an instrument of a given length plays, and the beats between two close tones.
Keyboard and touch
| Enter in a box | Work out the result |
| Tab then Enter | Use the lab buttons, Play/Pause and Hear it pass |
Tips
- Count the seconds between lightning and thunder and divide by 3 for kilometres (by 5 for miles).
- Two equal sounds together are only 3 dB louder, not twice the decibels. Ten times the power is +10 dB.
- In open air a sound drops about 6 dB each time the distance doubles.
- A siren passing at 30 m/s (108 km/h) drops about three semitones, a minor third.
- A pipe closed at one end sounds an octave lower than an open pipe of the same length and plays only odd harmonics; that is why a clarinet sounds different from a flute.
- Sound is faster in warm air: about 0.6 m/s more for each degree Celsius.
- Hear it pass plays quietly; turn your volume down first if you use headphones.
About this lab
Speed of sound in air is c = √(γRT/M) for dry air (γ = 1.4, M = 28.9644 g/mol), which gives 343.2 m/s at 20 °C; humidity raises it slightly. Other materials use typical handbook values (longitudinal waves in solids). The Doppler shift is f′ = f (c + vlistener) ÷ (c − vsource) for motion along the line between them, still air; above the speed of sound the shock cone has half-angle arcsin(c/v).
Decibel levels add as powers: L = 10 log₁₀ Σ 10Li/10; distance uses the inverse-square law for a small source in open air (no echoes or absorption). Reference levels are 10⁻¹² W/m² and 20 µPa. Strings use v = √(tension ÷ mass per metre) and fₙ = n v ÷ 2L; pipes ignore the small end correction, so real pipes sound a little lower. Note names use A4 = 440 Hz equal temperament.