The Doppler effect is best described as the