The Doppler effect is noticed when the pitch of a train whistle grows higher as the train approaches