AUD · Audio tools

Doppler Effect

Shareable link

Settings are written to the URL as you change them. Nothing differs from the defaults yet.

Oxyd To put the result on a track with other audio, Oxyd is a multitrack editor with the same effects. Open Oxyd

Drive a recording past the listener. The source travels a straight line at a constant speed, comes within a set distance, and carries on; the pitch, level, tone and position of what is heard are all computed from the distance between the two.

The pitch drop

Sound emitted while the source approaches has less far to travel with every wavefront, so the fronts arrive bunched up and the pitch is higher. After the pass they arrive spread out and the pitch is lower. The ratios are c / (c - v) and c / (c + v), with c = 343 m/s.

Speed Approach Departure Total drop
30 km/h +0.43 semitones -0.42 0.84
90 km/h +1.31 -1.22 2.53
160 km/h +2.40 -2.11 4.51
300 km/h +4.82 -3.77 8.58

The shift is not symmetric. The approach raises the pitch by more than the departure lowers it, and the gap widens with speed.

Closest distance

The full shift is only heard while the source is far away and moving almost straight at the listener. Near the pass the speed towards the listener falls through zero, and the pitch glides from high to low. Closest distance sets how long that glide takes: at 1 m and 90 km/h it is over in a fraction of a second, at 50 m it takes several seconds.

Where it passes

Passes at places the moment of closest approach as a share of the file: 50% is the middle. For a siren or an engine loop, the middle gives equal time arriving and leaving. For a single word or hit, put the pass on it.

Level, air and panning

Distance fade at 100 is the physical law, 6 dB quieter for each doubling of distance. That is a large range: a car 5 m away at the pass is 34 dB down ten seconds earlier. Lower values compress the range without touching the pitch, and 0 keeps the level constant.

The fade also dulls the sound with distance, the way air absorbs high frequencies first. Direction pans the source from one side to the other by its real bearing, so it sits hard left or right when far and sweeps through the centre quickly as it passes. A stereo file is folded to one point for this, since a passing source is one point. A mono file opens as two channels.

Limits

The path is a straight line and the speed is constant, so there is no braking, turning or orbiting. The source keeps its speed for 300 m either side of the pass and is slowed to a stop by 400 m, which keeps memory bounded on long files and is inaudible at that distance. At the highest speeds the approach raises frequencies above 16 kHz past what the file’s sample rate can hold, and a little of that folds back.

Pairing

For a pass in a street or a tunnel, add reverb after this stage so the space stays still while the source moves. The binaural panner places a source that stays put, and the another-room effect puts the whole thing behind a wall.

Frequently Asked Questions

It moves the sound in an audio file along a straight path past the listener. You set the speed, how close the source comes and where in the file it passes. The pitch is raised on the approach and lowered after, the level rises and falls with distance, the top end dulls far away, and the sound pans across the stereo field. It reads WAV, MP3, M4A, AAC, Ogg, Opus, FLAC, AIFF and WebM audio.

By c / (c - v) on the approach and c / (c + v) after, where c is 343 m/s and v is the speed towards the listener. At 90 km/h that is 7.9% up, then 6.8% down: about 1.3 semitones each way and 2.5 semitones between the two. At 300 km/h the approach is 4.8 semitones up.

It sets how fast the pitch falls. A source that passes 1 m away switches from high to low almost at once. One that passes 50 m away takes several seconds to glide down, because its speed towards the listener changes slowly.

No. Nothing is resampled or stretched to a target pitch. The file is read through a delay whose length is the distance to the source divided by the speed of sound, and the changing delay is what bends the pitch, as it does in air.

With Distance fade at 100 the source is as quiet as its distance says, and a minute before it passes at 90 km/h it is 1.5 km away. Lower Distance fade, raise the closest distance, or apply the effect to a region around the pass.

Explore Our Tools

Browse all tools