Doppler Effect Model

A siren van emits spherical wavefronts; count them at two observers and watch the Mach cone form above M = 1.

Switch to 2D

Presets

Playback

Things to try

  1. Press Motorway: the pitch heard at A drops as the van passes, by about 16 % between approach and recession.
  2. Raise M towards 1: the fronts pile up ahead (wavelength shrinks as 1 - M).
  3. Choose Mach 2: a cone forms; its half-angle reads 30 degrees.
  4. Drag observer A or B on the ground and compare the counted and theoretical pitch.

Source and medium

Camera

Layers

Quality

Model check

The science

What is modelled

A point source emits a short pulse every 1/f0 while moving at constant speed v along a straight road through a still, uniform medium. Each pulse spreads as a sphere at the wave speed c, centred where it was emitted. The ground rings and translucent shells are those spheres; nothing is faked. The scene runs in slow motion (the emission rate is divided by 100 so that wavefronts can be counted by eye); only the ratios M = v/c and f/f0 matter.

Moving source, still observer

f = f0 / (1 − M cosφ), where φ is the angle between the velocity and the line to the observer at the moment of emission (the retarded bearing, not the bearing you see now). Head-on: f = f0/(1−M); receding: f = f0/(1+M); the ratio is (1+M)/(1−M). Wavelength ahead is λ0(1−M), behind λ0(1+M) with λ0 = c/f0.

Retarded time

The emission event heard at time T solves c (T − te) = |xobs − xs(te)|. For a source on the x axis this is a quadratic in the delay τ: (v² − c²)τ² + 2 v Dx τ + |D|² = 0, with D the vector from the source to the observer now. Below Mach 1 there is exactly one positive root. The instantaneous frequency is f0 dte/dT.

Mach cone

For M > 1 the spheres are enclosed by a cone of half-angle α = arcsin(1/M). Behind the cone surface the medium is disturbed; ahead of it nothing is heard, and there are two retarded points inside, so the simple formula is not shown there (the page says so instead of printing a wrong number).

Four checks on the page

1) Wavefronts counted at an observer against the time average of the closed form over the same window (Simpson rule). 2) A central difference of the arrival time against the closed form at four bearings. 3) The cone half-angle read from the leading edge of 3000 emitted disks against arcsin(1/M). 4) The live spacing of the newest fronts ahead against (c−v)/f.

Honest simplifications

Still, loss-free, non-dispersive medium; no wind; a point source; no amplitude change (intensity, the Mach shock overpressure and the real sonic-boom N-wave are not modelled); observers are at rest. Speeds used by the presets: c = 343 m/s is the textbook value for air near 20 °C (speed of sound in dry air, about 331.3 + 0.606 · T[°C] m/s) and 1480 m/s a typical value for fresh water near 20 °C; both are typical values, not exact constants. The sound option plays a pure tone at the theoretical frequency heard at A (clamped to 40 to 4000 Hz).

Loading model...
Loading Blender model...
Frequency ratio versus bearing at emission
History: counted vs theory at A and B
Head-on and receding pitch versus Mach number
Made with 🟠 Blender · Three.js