The motion of either the listener or the source of a sound causes