The phenomenon where the sound of a whistle increases as a train approaches and decreases as it moves away is an example of Doppler effect. It occurs due to the relative motion between the source (train) and the observer (listener), ...
Home/sound of the whistle of an approaching train increases