Sound spectrum in 3D

A 3D bar chart on a stand showing a harmonic spectrum, with bars shrinking from the fundamental to the fifth harmonic.Drag to turn

A sound wave is a pressure disturbance that travels through a medium such as air. A frequency spectrum shows which frequencies are present in a sound and how strong each one is.

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.

Common questions

Why do a piano and a violin sound different on the same note?

They share the same fundamental, but their harmonics have different strengths. Their attack and decay also differ. Together these give each its own timbre.

What is the difference between a harmonic and an overtone?

An overtone is any component above the fundamental. A harmonic is an overtone at a whole-number multiple of the fundamental. In some instruments, such as bells, overtones are not harmonic.

Does a higher frequency mean a faster wave?

No. In a given medium, sound of different frequencies travels at about the same speed. A higher frequency has a shorter wavelength instead.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.