Sound as a pressure wave
A vibrating object pushes air molecules together and then leaves them spread apart. These alternating regions of high and low pressure travel outward as a longitudinal wave. The air itself does not travel with the wave. Each molecule only moves back and forth around a resting position.
Frequency is the number of cycles per second, measured in hertz (Hz). It sets the pitch we hear. Amplitude is the size of the pressure swing and mainly sets loudness. Wavelength is the distance one cycle covers, and it equals the speed of sound divided by frequency.
From waveform to spectrum
A waveform plots pressure against time. A pure sine wave has one frequency and sounds plain, like a tuning fork. Most musical notes are more complex, because the source vibrates in several ways at once.
Fourier analysis shows that a repeating wave can be built from sine waves added together. A spectrum plots the strength of each of these components against frequency. A note from an instrument usually shows a lowest component, the fundamental, plus higher components called harmonics at whole-number multiples of it.
Worked example: the note A4
Take a note with a fundamental of 440 Hz, the usual concert pitch for A4. Its harmonics sit at 2 x 440 = 880 Hz, 3 x 440 = 1320 Hz and 4 x 440 = 1760 Hz. The spectrum shows peaks at these four frequencies.
The wavelength of the fundamental in air is found with the speed of sound. Taking 340 m/s as a round figure, 340 / 440 = about 0.77 m. The wavelength of the second harmonic is half of that, about 0.39 m. A flute and a clarinet can both play 440 Hz, yet their harmonic strengths differ, so their spectra and their timbres differ.
Common misconceptions
Loudness and pitch are often confused. Pitch follows frequency, while loudness follows amplitude, though perceived loudness also depends on frequency. A louder note keeps the same pitch.
Another error is to think sound travels as a transverse wave like a ripple on water. In air it is longitudinal. Also, timbre is not set by the fundamental. It depends largely on the relative strengths of the harmonics and on how the note starts and decays.
Where spectra appear
Audio editors and spectrum analysers display spectra so that engineers can adjust equalisation and find unwanted noise. Tuners estimate the fundamental frequency of a played note. Instrument makers study spectra to compare the tone of different designs.
Human hearing covers roughly 20 Hz to 20,000 Hz in young listeners, and the upper limit usually falls with age. Digital audio must sample at more than twice the highest frequency to be captured, which is why 44,100 samples per second is a common rate.
Key terms
- Frequency
- The number of wave cycles per second, measured in hertz (Hz).
- Amplitude
- The size of the pressure variation in a wave, linked mainly to loudness.
- Fundamental
- The lowest frequency component of a periodic sound, which usually sets the perceived pitch.
- Harmonic
- A component whose frequency is a whole-number multiple of the fundamental.
- Timbre
- The quality that distinguishes two sounds of the same pitch and loudness.
- Spectrum
- A plot of the strength of each frequency component in a sound.
