The Dopler effect is that observed frequency of light and sound waves was affected by the relative motion of the source and the detector.