A passing siren wails high as it races toward you, then drops to a lower groan the instant it sweeps past. Nothing about the siren itself changed β the source is moving, so the sound waves pile up ahead of it (shorter wavelength, higher pitch) and stretch out behind (longer wavelength, lower pitch). The two animations below show exactly how, and at the very end β what happens when the source outruns its own waves.
The source emits a ring at a steady beat. Each ring keeps expanding from the spot where the source was when it emitted β so as the source chases its own waves, the rings crowd together in front and fan out behind. Push the speed past the wave speed and the rings can no longer escape forward: their edges line up into a Mach cone (a sonic boom). Watch the observer on the right.
The same source flies left-to-right past a fixed listener. As it approaches, the observed frequency is f′ = f · v / (v − vs) (denominator shrinks → higher pitch); after it passes, the sign flips to v + vs (lower pitch). Drag the source speed and read the live numbers. Tap Hear it for a quick sweep at the pitch you'd actually hear.