The Doppler Effect, Music and Resonance
Explain why a passing siren changes pitch, how strings and pipes make musical notes, and how resonance can shatter a glass or tune a radio.
Welcome back!
Step 1 of 10Learn
The siren that changes its tune
Stand by a road as an ambulance races past with its siren on. As it approaches, the siren sounds higher; the moment it passes, the pitch drops. The siren itself never changed. What changed was how the waves reached you.
This is the Doppler effect. When a sound source moves toward you, each new compression is emitted a little closer to you than the last. The waves bunch up in front of the source: shorter wavelength, higher frequency reaching your ear. Behind a moving source, the waves are stretched out: longer wavelength, lower frequency.
The same thing happens if you move toward a stationary source, and it happens with all waves, not just sound:
- Police radar guns bounce microwaves off cars and measure the frequency shift to find speed.
- Doppler weather radar detects rain moving toward or away from the station and can spot rotating storms.
- Doctors use Doppler ultrasound to measure blood flow.
- Astronomers measure the Doppler shift of light from stars and galaxies. Light from objects moving away is shifted toward red (redshift), which is how we discovered that the universe is expanding.
Step 2 of 10Practice · Choose one
A train blows its horn at a steady frequency of 400 Hz while moving away from you. What do you hear?
Step 3 of 10Compare
The Doppler effect: coming vs going
| Aspect | Source moving toward you | Source moving away |
|---|---|---|
| Wave crests | Bunched up in front | Stretched out behind |
| Wavelength you receive | Shorter | Longer |
| Frequency you hear | Higher than the source | Lower than the source |
| Example | Approaching siren sounds high | Departing siren drops in pitch |
| Light version | Blueshift | Redshift (used to show galaxies moving away) |
Step 4 of 10Learn
How instruments make notes
A guitar string is fixed at both ends. When you pluck it, waves race back and forth and interfere to form a standing wave. The ends can't move, so they are nodes. The simplest pattern, the fundamental or first harmonic, has one loop in the middle, and its wavelength is twice the string's length:
λ = 2L, so f = v / 2L
where v is the speed of waves along the string (not the speed of sound in air).
That formula explains every guitar technique:
- Shorter string → higher note. Pressing a fret shortens the vibrating length. Halving the length doubles the frequency, raising the note one octave.
- Tighter string → higher note. Tuning pegs increase tension, which increases v.
- Heavier string → lower note. Thick bass strings carry waves more slowly.
The string also vibrates in two loops, three loops and so on at the same time (harmonics at 2f, 3f...). The mix of harmonics gives each instrument its timbre.
Wind instruments work the same way with a column of air: a longer tube gives a lower note, which is why a tuba is huge and a piccolo is tiny.
Step 5 of 10Explore
String note explorer
The graph shows the fundamental frequency f = v / 2L of a string against its length L (in meters). Change the wave speed on the string, which rises when you tighten it.
- Note from a 0.65 m guitar string
- 254 Hz
- Same string pressed at its midpoint (0.325 m)
- 508 Hz
Step 6 of 10Practice · Work it out
A violin string 0.32 m long carries waves at 282 m/s. What is the frequency of its fundamental note, in Hz?
Step 7 of 10Learn
Resonance
Push a child on a swing. Small pushes at just the right moment, once per swing, build up a big motion. Push at random times and nothing much happens. Every object has natural frequencies at which it vibrates most easily. When something drives it at one of those frequencies, the vibrations build up dramatically. That's resonance.
Examples:
- A singer holding a note at a wine glass's natural frequency can make it vibrate so strongly that it cracks. It needs a loud, precise note, but it has been done.
- A guitar's hollow body resonates with the strings, making the sound much louder than the strings alone.
- Soldiers traditionally break step when crossing bridges so their marching rhythm doesn't match a natural frequency of the structure.
- Tuning a radio means adjusting a circuit so it resonates at the frequency of one station and ignores others.
Engineers must design buildings, bridges and aircraft so that wind, traffic or engines don't drive them at a natural frequency. The famous 1940 collapse of the Tacoma Narrows Bridge is often linked to resonance, although the full explanation involves wind-driven twisting called flutter.
Step 8 of 10Note
Step 9 of 10Practice · Select all that apply
Which of these are examples of resonance? Select all that apply.
Select all that apply.
Step 10 of 10Practice · Fill in the blanks
Fill in the blanks
Pressing a guitar string at its midpoint halves the vibrating length, which the frequency and raises the note by one .
Lesson complete!