The Physics of Waves and the Doppler Effect