PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Waves & Sound

Other simulators in this category — or see all 35.

View category →
NewUniversity / research

Light Doppler & Redshift

EM vacuum Doppler: f/f₀ and z vs v/c; linear Δλ/λ ≈ v/c vs exact √(1+β)/√(1−β). Ties to spectral lines.

Launch Simulator
NewSchool

Room Reverberation (2D rays)

Specular rays in a shoebox plan; impulse response; RT60 vs Sabine. Absorption per bounce.

Launch Simulator
NewSchool

Active Noise Cancellation (1D)

Two tones same f: amplitudes and phase; RMS sum vs ideal π phase. Destructive interference demo.

Launch Simulator
NewUniversity / research

Beam Modal Analysis (Euler–Bernoulli)

First three bending modes: λ from BC; f ∝ (λ/L)²√(EI/μ). Pinned, cantilever, clamped.

Launch Simulator
NewSchool

Group & Phase Velocity

Two-wave beat: ω(k)=ck+αk²; v_g=Δω/Δk vs v_p=ω̄/k̄; envelope vs carrier.

Launch Simulator
NewSchool

Organ Pipe (harmonic series)

Open–open vs stopped: f_n formulas; pressure shape; table of modes; Web Audio.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Waves & Sound/Doppler Effect

Doppler Effect

The Doppler effect describes the change in frequency and wavelength of a wave for an observer moving relative to its source. This simulator visualizes and sonifies this phenomenon for sound waves, focusing on a moving source. As the source moves towards a stationary observer, the sound waves are compressed, leading to a higher observed frequency (pitch). As it moves away, the waves are stretched, resulting in a lower observed frequency. The core physics is governed by the Doppler shift equation for a moving source and stationary observer: f_observed = f_source * (v_sound / (v_sound ± v_source)), where the plus sign is used when the source moves away from the observer and the minus sign when it moves toward. The simulation simplifies the real world by assuming a constant speed of sound in a uniform medium, ignoring reflections, absorption, and the more complex Doppler effects from a moving observer. It renders a direct visualization of circular wavefronts, clearly showing their compression in front of and rarefaction behind the moving source. By interacting with the controls for source speed and frequency, students learn to connect the abstract equation to the intuitive concepts of wave compression, perceived pitch change, and the relative motion that causes them. This reinforces the wave nature of sound and the principle that frequency is not an intrinsic property of the source alone, but depends on the relative motion between source and observer.

Who it's for: High school and introductory undergraduate physics students studying wave properties, sound, or the Doppler effect. It is also valuable for educators demonstrating the principle in a classroom setting.

Key terms

  • Doppler Effect
  • Frequency Shift
  • Wave Compression
  • Pitch
  • Wavefront
  • Source Velocity
  • Observer
  • Speed of Sound

Source & medium

440 Hz
32
0.32
0.55 rad/s

Source oscillates along x (meters); observer fixed. Model uses c = 343 m/s. Ring spacing is tighter when the source approaches the observer.

Audio

Click “Enable sound” to hear the Doppler-shifted tone (browser autoplay policy).

Shortcuts

  • •Space or Enter — pause / resume
  • •R — reset

Measured values

f_obs (model)440.0Hz
c (air)343m/s

How it works

Stationary observer and a source in sinusoidal motion: the line-of-sight velocity component toward the observer shifts the perceived frequency. Concentric wavefronts are emitted from past source positions; spacing reflects wavelength changes. Optional audio follows f ≈ f₀ c/(c − v∥).

Key equations

f ≈ f₀ · c / (c − v∥), v∥ = v⃗ · r̂ (source → observer)
Plane wave / point-source approximation; v∥ clamped for stability.

Frequently asked questions

Why does the pitch change instantly when the source passes me?
The simulator models an instantaneous change for clarity, but in reality, the shift is continuous. As the source approaches, the pitch is steadily higher than the emitted frequency. The moment it passes you, the wavefronts reaching you transition from being compressed to being stretched, causing the pitch to drop continuously from high to low, not in a single step.
Does the Doppler effect only apply to sound?
No, the Doppler effect is a universal wave phenomenon. It applies to all waves, including light (causing redshift and blueshift in astronomy), water waves, and radar waves (used in speed guns). This simulator uses sound because the pitch change is easily audible and intuitive.
What is the difference between a moving source and a moving observer?
The equations and underlying physics differ slightly. For sound, the speed of the wave relative to the medium matters. A moving source compresses the wavefronts themselves, while a moving observer encounters wavefronts at a different rate due to their own motion. This simulator focuses on the moving source case, which is visually clearer.
Why doesn't the simulator show the sound getting louder as the source approaches?
This simulation isolates the frequency shift (the Doppler effect) from changes in intensity (loudness). While a real sound source does get louder as it approaches, that is related to the changing intensity of the wave, not the fundamental compression of wavelengths that defines the Doppler frequency shift.