The Doppler effect: hear the pitch change
When an ambulance races past, its siren seems to drop in pitch the moment it passes you, though the siren itself never changes. That is the Doppler effect: a moving source crowds its sound waves together in front of it and stretches them out behind. Here you can watch the wavefronts of a passing ambulance, train, race car or jet, drag observers around it and hear exactly what each of them hears, then speed up past the speed of sound to see the waves pile up into a Mach cone and hear the sonic boom. A source of sound drives past and sends out wavefronts, circles that grow at the speed of sound from where the source was when it sent them. Press Play to watch it in real time, Step and Back to move by a fiftieth of a pass, Reset to start the pass again. Pick an example, or set the source, its signal, its frequency, its speed (up to twice the speed of sound), a straight road or a round track and the air's temperature yourself. In front of the source the fronts crowd together and the pitch is higher (blue), behind it they spread out and the pitch is lower (red); above Mach 1 the fronts pile up into a Mach cone, and an observer hears nothing until the cone sweeps over with a sonic boom. Drag the observers, click the scene to move the one you hear, drag the source along its path or the pitch graph to pick a moment. The graph shows the pitch each observer hears over the whole pass. Switch Sound on to hear the siren as the marked observer hears it; Record films it with the sound.
How it works
- Press Play and watch the ambulance pass: each ring is a wavefront, centred where the ambulance was when it sent it. In front the rings crowd together (blue, a higher pitch), behind they spread apart (red, a lower pitch).
- Switch Sound on to hear the siren as the marked observer hears it: higher as it approaches, lower as it drives away, quieter far off. The pitch graph below shows the whole pass, with the drop where the source passes each observer.
- Drag the observers, click the scene to move the one you hear, or drag the source or the graph to pick a moment. Try the train horn, the race car, the beeping source whose beeps speed up too, or the race track, where the observer in the middle hears no change at all.
- Raise the speed past the speed of sound, or pick the sound barrier or Concorde: the fronts pile up into a Mach cone, an observer hears nothing until it sweeps over with a sonic boom, and then two sounds at once.
Why the pitch changes
A source of sound sends out f crests a second, and each crest travels at the speed of sound c from the place where the source was when it sent it. If the source moves towards you at a speed v, each crest starts a little closer to you than the one before, so the crests arrive bunched together: in front the wavelength shrinks to (c − v)/f and the pitch rises to f c/(c − v); behind, the wavelength grows to (c + v)/f and the pitch falls to f c/(c + v). A siren of 700 Hz passing at 30 m/s (108 km/h) is heard at 767 Hz as it comes and at 644 Hz as it goes, a drop of three semitones.
Off to the side
Someone standing beside the road hears only the part of the motion along the line between them and the source: f′ = f/(1 − v cos θ/c), where θ is the angle between the source's motion and that line, taken when the sound was sent. So the pitch slides smoothly from high to low, most quickly while the source is nearest: for the ambulance the drop takes about a second ten metres from the road, about ten seconds a hundred metres away. On a circular track an observer in the middle hears no change at all, because the car never comes nearer or goes further away.
Moving source or moving listener
The pitch also changes when you move towards a source that stands still, but not by quite the same amount: a listener moving at v hears f (c + v)/c, while a source moving at v is heard at f c/(c − v). At 30 m/s that is 9 % higher against 10 %. The two differ because sound travels through the air, and it matters which of the two moves through it. For light, which needs no medium, only the relative speed counts, and the relativistic Doppler formula takes over.
Faster than sound: the Mach cone and the sonic boom
When the source moves faster than sound it outruns its own waves, and the wavefronts touch a cone behind it whose half-angle μ satisfies sin μ = c/v = 1/M, where M is the Mach number: Concorde at Mach 2 trailed a cone of 30°. Nothing is heard in front of the cone. When it sweeps over you, the pressure jumps all at once: the sonic boom, usually a double bang from the nose and the tail. The boom is not a single event at the moment of breaking the sound barrier; it is dragged along the ground for as long as the aircraft flies faster than sound.
Frequently asked questions
What is the Doppler effect?
The change in the frequency of a wave when its source and the observer move relative to each other. A source coming towards you is heard at a higher pitch, one moving away at a lower pitch, because the crests of the wave arrive closer together or further apart than they were sent. It was described by the Austrian physicist Christian Doppler in 1842 and happens to sound, to light, to radar and to water waves.
Why does a siren sound lower after it passes?
Because the ambulance chases the sound it sends forwards and runs away from the sound it sends backwards. In front its sound waves are squeezed together, so more crests reach you each second and the pitch is higher; behind they are stretched, so fewer arrive and the pitch is lower. The siren itself plays the same notes all the time; only the waves between it and you change.
What is the formula of the Doppler effect for sound?
For a source moving at v straight towards a still observer the heard frequency is f′ = f c/(c − v), and moving away f′ = f c/(c + v), where c is the speed of sound, about 343 m/s in air at 20 °C. Off to the side, use the part of the velocity along the line to the observer: f′ = f/(1 − v cos θ/c). A moving observer hears f (c + v₀)/c, and when both move, f′ = f (c + v₀)/(c − v), with the speeds counted positive towards each other.
Does the pitch drop at the moment the source passes me?
Not exactly. The pitch slides down smoothly, the faster the closer you stand, and what you hear always comes from where the source was a moment ago, because sound takes time to reach you. When the ambulance is level with you, you still hear the higher pitch it sent while it was approaching; the middle of the drop arrives a little later. The app's sound paths show where each sound you hear was sent from.
What happens at and beyond the speed of sound?
At Mach 1 the source keeps up with its own waves, which pile up in front of it into a shock wave: the sound barrier. Faster than sound, the fronts form a Mach cone with sin μ = 1/M behind the source. An observer hears nothing until the cone passes, with a sonic boom, and then two sounds at once: one sent while the source was still approaching, and one that arrives backwards, the later sound first.
Can I use the picture?
Yes. Save gives a PNG at the size you choose, and the pencil opens the picture in the PictorX photo editor with the scene, the wavefronts, the Mach cone, the sound paths, the source, the observers, the pitch graph and the labels on layers of their own, and the caption as editable text. In the editor itself it is under Apps ▸ Science ▸ Physics ▸ Doppler Effect, where you pick the example, the source, its speed and the moment of the pass. Everything runs in your browser.
Doppler Effect: how do I record a video?
Press the red Record button in the playback bar: it films what the stage shows. Press it again to stop, and the video is saved to your device. Recording is free; you only need to sign in. Without a subscription the video carries a small PictorX logo in a corner. The button beside Record opens the video options: the shape (as shown, square, story 9:16 or wide 16:9), the length (until you stop, or 5, 10, 15 or 30 seconds for social media) and the file: MP4, WebM or an animated GIF. For the sound, choose the app's own sounds or one of three music tracks: calm, bright or beat.
Ready to try it?
Open PictorX in your browser — no install, no credit card required to start.
Go to Editor