Skip to content

Waves and sound simulation

Doppler Effect Simulation

Try this: Before pressing Play on the default set-up (an ambulance at 30 m/s giving out a 500 Hz note), decide which listener will hear the higher note. Then press Play and check the Heard ahead and Heard behind cards once the sound reaches each of them.

Loading simulation…

Drive an ambulance or a train past two listeners and watch each wavefront spread from where the source was when it left. Read the note heard in front and behind, see why the gaps change, then switch to a galaxy to see blue-shift and red-shift in its spectrum.

In short

Why does a siren sound higher as it comes towards you?

A siren moving towards you chases each sound wave it gives out, so the next crest starts closer to the last one. The crests arrive more often, which you hear as a higher pitch; behind it they are spread out and the pitch is lower. Here you drive an ambulance or a train past two listeners and compare the notes heard ahead and behind.

Show symbols for

Predict first

Question 1 of 3

  1. Predict
  2. Run
  3. Check

An ambulance drives straight towards you at a steady 34 m/s. Its siren gives out a steady 500 Hz note. What do you hear while it is still coming towards you?

Try this

  1. Before pressing Play on the default set-up (an ambulance at 30 m/s giving out a 500 Hz note), decide which listener will hear the higher note. Then press Play and check the Heard ahead and Heard behind cards once the sound reaches each of them.
  2. Look at the circles once several have spread out. Where are they closest together? The Working box gives the gap ahead as (340 − 30) ÷ 500 = 0.620 m. Work out the gap behind yourself, then check it.
  3. Set Source speed to 0 and press Play. What do both listeners hear? Now drag it up to 250 m/s, far faster than any real ambulance or train, and play again. Watch how tightly the wavefronts crowd together in front.
  4. Change Frequency of the note to 1000 Hz. The picture on the stage looks the same, but the heard notes double. Use the still-air wavelength label to explain why.
  5. Pick Galaxy (light) from the Source menu and press Play. Compare the Seen ahead and Seen behind strips with the Laboratory strip. Which telescope sees red-shift, and which sees blue-shift?

A siren that leaves a trail of circles

The stage shows an ambulance, or a train, moving to the right along a straight road. It gives out one steady note. Every crest of the sound wave is drawn as a circle that grows from the point where the vehicle was at the moment that crest set off. One listener stands in front, the other behind. Press Play and the motion runs in very slow motion, so you can follow single crests across the screen.

The distances are drawn in wavelengths. The bar in the corner shows the wavelength the note would have if the vehicle stood still, which is 0.680 m for a 500 Hz note in air at 340 m/s.

Why the crests bunch up

Once a crest has left, it travels through the air at the speed of sound. It does not care how the vehicle moves afterwards. But the vehicle keeps going, so it sends the next crest from a point a little further along. In front, that point is closer to the crest that has just left, so the gaps shrink. Behind, the vehicle has moved away, so the gaps grow.

Shorter gaps, still moving at 340 m/s, pass the listener in front more often. More crests each second means a higher frequency, which sounds like a higher pitch. Behind, fewer crests arrive each second, so the pitch is lower. Neither note changes while the speed stays steady. The note in front does not creep upwards as the ambulance gets nearer; it just gets louder. You hear the familiar drop only at the moment it goes past.

Working out the new note

This step goes beyond GCSE and IGCSE. For a source moving at speed vsv_s towards a listener who is standing still, the heard frequency is f′=fv÷(v−vs)f' = f v \div (v - v_s). Moving away, the minus becomes a plus. With the default 500 Hz at 30 m/s, the listener in front hears 548 Hz and the one behind hears 459 Hz.

The two changes are not equal. Ahead, the bottom of the fraction shrinks towards zero as the source speeds up, so the pitch climbs ever more steeply. The model stops at 250 m/s, below the 340 m/s speed of sound. That is far faster than any ambulance (rarely above about 40 m/s) or passenger train (about 100 m/s at most), so the top speeds exaggerate the effect to make it easy to see. A source faster than sound would overtake its own waves and pile them into a shock wave, heard as a sonic boom.

The same effect in light

Choose the galaxy and the sound is replaced by light. A galaxy moving away from a telescope stretches every wave it sends that way, so each line in its spectrum appears at a longer wavelength than the same line measured in a laboratory. That is red-shift. A telescope it is moving towards sees the lines squeezed towards blue, which is blue-shift. For speeds well below the speed of light, the shift is Δλ=λv/c\Delta\lambda = \lambda v / c, also beyond GCSE.

Most distant galaxies are red-shifted, and the further away they are, the bigger the shift. That pattern is a key piece of evidence for an expanding universe. You can measure it yourself in the red-shift and expanding universe simulation. To hear how frequency sets pitch, try the sound waves and oscilloscope simulation.

Where this fits in your course

Red-shift of light from receding galaxies is in AQA GCSE Physics (4.8.2, separate physics only) and Cambridge IGCSE (6.2.3). The Doppler effect for sound, blue-shift and both formulas go beyond those courses, and the Punjab Class 10 book covers only the link between frequency and pitch. Treat the sound version as a way to understand red-shift, and as a preview of A-level waves.

Quiz

Check your understanding

8 questions

  1. 1.Which of these is the Doppler effect?
  2. 2.An ambulance with its siren on drives past you at a steady speed. What do you hear?
  3. 3.Compared with a still source, how are the waves in front of a moving source changed?
  4. 4.A source gives out a 500 Hz note and moves away from a listener at 40 m/s. The speed of sound is 340 m/s. What frequency does the listener hear? (The formula is beyond GCSE.)
  5. 5.Light from a distant galaxy is red-shifted. What does that mean?
  6. 6.An ambulance moves towards you. How fast do its sound waves travel towards you?
  7. 7.The hydrogen lines in a star's spectrum are at shorter wavelengths than in the laboratory. What does this tell you?
  8. 8.A source of 400 Hz moves at 20 m/s. The speed of sound is 340 m/s. How far apart are the crests directly in front of it?

For teachers

Embed it in your site or open it full-screen for the projector.

Next step

Transverse and longitudinal waves

The next simulation in waves and sound.