As the source approaches you, the sound waves are compressed, so the pitch of the sound is higher than what the source is actually emitting.
Then, after it passes you and begins moving away, the sound waves are stretched, so the pitch of the sound is lower than what the source is actually emitting.