In Doppler effect, when a source moves towards a stationary observer, the apparent increase in frequency is due to