The source producing sound and an observer both are moving along the direction of propagation of sound waves. If the respective velocities of sound, source and an observer are v, vs and v0, then the apparent frequency heard by the observer will be (n = frequency of sound)
When source and observer are moving in the direction of sound then the apparent frequency observed is