But when I start moving, the sound waves in front of me get squisshed up, and the sound waves behind me get stretched out, and it' this change in the frequency that causes the change in the pitch as I pass and that is what the Dopler effect is. 