Sound wave production occurs when a vibrating source disturbs the surrounding medium, causing particles to oscillate and create longitudinal waves that propagate through the medium. The frequency and amplitude of these vibrations determine the pitch and loudness of the sound, respectively, as perceived by a listener.