The apparent change in the frequency of sound due to the relative motion between the source and the observer is called the Doppler effect.
E.g.: The apparent frequency of the whistle of a train increases as it. approaches an observer on the platform and decreases when the train passes the observer.