Pluck a string and it doesn't vibrate at just one frequency โ it rings at a whole
series of them at once: the fundamental, then overtones at
2ร, 3ร, 4รโฆ that frequency. Your ear hears the fundamental as the pitch, while the
relative loudness of all the overtones gives the note its colour, or
timbre. That's why a flute and a violin playing the very same note
still sound nothing alike. Build your own recipe below โ and hear it.
1. The harmonic series โ build a tone from its overtones
A string fixed at both ends can only vibrate in whole-number modes:
1 bump (the fundamental, f), 2 bumps (2f), 3 bumps (3f), and so on. Each slider
sets how loud that harmonic is. The faint coloured curves are the individual modes; the bright
teal curve is their sum โ the actual waveform. Change the recipe and
the wave's shape changes, but its repeat length (the pitch) does not.
Pitch: 220 Hz (A3)
2. Why instruments differ โ same note, different recipe
Press a preset: each loads a characteristic harmonic mix and plays it. A
pure sine has only the fundamental. A flute
is nearly a sine plus a faint 2nd harmonic โ soft and round. A sawtooth
(bowed-string / brass-like) packs in every harmonic โ bright and buzzy. A
square / clarinet contains only the odd harmonics
(1, 3, 5, 7โฆ) โ hollow and woody. Left: the waveform. Right: the spectrum โ a bar per harmonic.
Pure sine โ fundamental only
3. The takeaway โ pitch vs. timbre, and the Fourier link
Three ideas tie it all together:
Pitch = the fundamental. The lowest frequency, f, sets the note you name (A, C, โฆ).
Adding overtones doesn't change it because they all share the same repeat period.
Timbre = the relative strength of the harmonics. Two tones with identical pitch but different
amounts of 2f, 3f, 4fโฆ sound like different instruments. That mix is the
instrument's fingerprint.
Harmonics sit at f, 2f, 3f, 4fโฆ โ exact integer multiples, because those are the only modes
that "fit" on a string clamped at both ends (whole numbers of half-waves).
The Fourier link. Any periodic sound โ no matter how complex its waveform โ is exactly equal to
a sum of sine harmonics. Building waves from sliders (scene 1) and naming the spectrum of an instrument
(scene 2) are the same operation: a Fourier series, run forwards and backwards.