The Dopler effect is illustrated by the sound of a passing train.