If the source is moving, the wavelength of sound in air changes but does it change the duration for which the stationary observer hears the sound? Like say if the source moving at velocity $V$ emits sound for $T$ seconds, does the stationary observer also hear the sound for $T$ seconds only?
I tried solving by assuming the distance between moving source $s$ and stationary observer $o$ as $d$. The fist sound wave reaches the observer at $time = d/v$ where $v$ is the velocity of sound in air. The last sound wave emitted at $time = T seconds$ reaches the observer in $time = (d-VT)/v$ seconds. So the time duration for which the ‘o’ hears the sound comes out to be $T(v-V)/v$ seconds. But I think it’s incorrect. So, could someone please help me out with this ?
And also what happens to the time duration of hearing the sound if the observer is moving?