The Doppler effect (or Doppler shift) is the phenomenon of change in frequency of a wave (or other periodic event) for an observer moving relative to source pf wave. It is commonly heard when a vehicle sounding a siren or horn approaches, passes, and recedes from an observer.
If the velocity of the medium is zero then the formula become -