Get a free upgrade to WaveStack Modulate for iOS with code MODULATELAUNCH Free upgrade: MODULATELAUNCH

Music Guides

The Harmonic Series

Almost every pitched sound you have heard is a stack of sine waves at whole-number multiples of one frequency. This page lets you build that stack one harmonic at a time and listen to what each one does, then compare where those harmonics fall against the twelve notes of a keyboard.

Sound starts when you press a button. Use headphones or full-range speakers if you can, because the lowest fundamental on offer is 55 Hz.

Two terms first

Equal temperament is the tuning almost every keyboard, guitar and synth uses. It cuts the octave into twelve equal steps, and that evenness is what lets one instrument play in any key without being retuned. It is usually written 12-TET, for twelve-tone equal temperament, and it is the grid this page keeps comparing things to.

A cent is a hundredth of one of those steps, so an octave is 1200 cents and a semitone is 100. It is the unit for saying how far apart two pitches are, and it works at any register, where a gap counted in hertz does not. On a sustained tone most people begin to hear a difference somewhere around 5 to 10 cents. The harmonic series does not line up with equal temperament, and this page uses cents to measure how far each harmonic falls from it.

One sine at a time

Every row is one sine wave. Turn them on from the top down and the timbre changes while the pitch stays the same, because the fundamental stays at the same frequency and each harmonic added above it changes only the balance of frequencies in the tone.

Waveform: the sum over two periods of the fundamental
Spectrum: one line per harmonic, at its frequency and level

n On Frequency Nearest note Interval Off 12-TET Listen alone
1 110.00 Hz A2 Fundamental exact
2 220.00 Hz A3 Octave exact
3 330.00 Hz E4 Perfect fifth +2¢
4 440.00 Hz A4 Octave exact
5 550.00 Hz C♯5 Major third -14¢
6 660.00 Hz E5 Perfect fifth +2¢
7 770.00 Hz G5 Harmonic seventh -31¢
8 880.00 Hz A5 Octave exact
9 990.00 Hz B5 Major second +4¢
10 1100.00 Hz C♯6 Major third -14¢
11 1210.00 Hz D♯6 Half-sharp fourth -49¢
12 1320.00 Hz E6 Perfect fifth +2¢
13 1430.00 Hz F6 Neutral sixth +41¢
14 1540.00 Hz G6 Harmonic seventh -31¢
15 1650.00 Hz G♯6 Major seventh -12¢
16 1760.00 Hz A6 Octave exact

Switch harmonic 1 off and leave the rest running. The pitch does not move. Your ear reconstructs the fundamental from the spacing of what is left, which is how a small speaker with no low end still sounds like it is playing a bass note. With the levels set to 1/n, sixteen sine waves add up to something close to a sawtooth, which is where a sawtooth oscillator's buzz comes from. Overtone is this table as a module, with eight harmonics and a switch on each.

Every repeating waveform a synth plays can be described as a set of harmonic levels like this one. In WaveStack's interactive guide, How wavetables work, you can draw a single cycle and watch its harmonics change as you draw, then see how wavetable synths move between whole sets of them. The synthesis guide's chapters on waveforms and harmonics and overtones play each standard waveform with its harmonics drawn, and build a tone from its harmonics with controls for brightness.

Why a string does this

A string fixed at both ends can only hold a wave that has a node at each end. One half wavelength fits, and so do two, three, four and onward, but nothing in between. Each of those modes vibrates at its own frequency, and because each one fits a whole number of half wavelengths into the same length, those frequencies are whole-number multiples of the lowest. The series follows from the string having a fixed length with both ends held still.

1 fundamental
2 2×
3 3×
4 4×
5 5×
6 6×

The dots are nodes, where the string stays still. The second mode has one in the middle, which is why touching a string at its midpoint and plucking it gives you the octave.

What one string actually does

The six modes above all happen on one string at the same time, and its actual motion is their sum. A plucked string starts as the triangle you pulled into it. When you let go, the corner of that triangle splits into two kinks that run back and forth between the ends, and the string stays made of straight segments between them.

The string's shape never looks like a sawtooth, even though the sound it makes can be close to one. The sound you hear comes from the force the string exerts on the bridge, and that force follows the slope of the string where it meets the bridge rather than its displacement. The amplitudes of a plucked string's modes fall off as 1/n2, which gives a shape made of straight segments and corners. Taking the slope multiplies each mode by n, which leaves 1/n, the same levels as the sawtooth you built in the table at the top of this page, so the lower trace is close to a sawtooth while the string above it is not.

Drag the pluck toward the middle and harmonics drop out of the lower trace. A mode that has a node at the point where you plucked is not excited at all, which is why plucking a guitar over the 12th fret, halfway along the string, removes the even harmonics and sounds hollow, and plucking close to the bridge sounds thin and bright.

A bowed string moves in a simpler pattern. The bow drags the string and lets it snap back once per cycle, so the string takes up two straight segments with a kink circling between them, and the force at the bridge is very nearly a true sawtooth. That is why bowed string models start from one.

Where they land on a keyboard

Equal temperament cuts the octave into twelve equal steps of 100 cents each, and the harmonic series is spaced by whole-number ratios instead. Below, the vertical lines are the twelve-tone grid over four octaves and the marks are the harmonics. The octaves agree exactly and the fifths are about 2 cents apart, but the 7th harmonic is 31 cents below the nearest key, the 11th is 49 cents below and the 13th is 41 cents above, so all three fall between the pitches a keyboard in equal temperament can play.

fundamental+1 oct+2 oct+3 oct+4 oct 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Red marks are more than 25 cents from the nearest tempered note, amber more than 10.

Written on a staff, the lower part of the series is the set of notes a bugle plays, since a bugle has no valves and can only sound the harmonics of its one length of tube. The steps between harmonics get smaller going up: an octave, then a fifth, then a fourth, then a tone from the 8th to the 9th, and by the 15th to the 16th the step is close to a semitone.

𝄞 𝄢 1 2 3 4 ♯ ↓14 5 6 ↓31 7 8 9 ♯ ↓14 10 ♯ ↓49 11 12 ↑41 13 ↓31 14 ♯ ↓12 15 16

Harmonic numbers run along the foot. An arrow marks every harmonic more than 10 cents from the note it is written as, with the distance in cents. The 7th, 11th, 13th and 14th are more than 25 cents from any equal-tempered pitch, so writing them as ordinary notes already rounds them to the nearest key.

True harmonics against equal temperament

Switch the tuning control in the tool above to hear this, or use the two buttons here. Both play harmonics 1 to 16: the first at exact whole-number multiples of the fundamental, and the second with each one rounded to the nearest note on a keyboard.

1
exact
2
exact
3
+2¢
4
exact
5
-14¢
6
+2¢
7
-31¢
8
exact
9
+4¢
10
-14¢
11
-49¢
12
+2¢
13
+41¢
14
-31¢
15
-12¢
16
exact

Deviation from the nearest equal-tempered note, in cents. The track spans a quarter tone either way.

The tempered version shifts slowly over time as it sustains, and the waveform display shows why. True harmonics are whole-number multiples, so their sum repeats exactly at the fundamental's period and the trace on the display above holds still. Tempered harmonics are not whole-number multiples, so their sum never quite repeats and the trace keeps drifting sideways.

Equal temperament lets a single fixed-pitch instrument play in every key, and in exchange every interval except the octave differs slightly from the whole-number ratio it stands in for. The harmonic series is a physical property of a vibrating string or air column, and it is present whatever tuning system the instrument is set to.

Where this model stops

A real string is stiff, and stiffness makes its higher modes vibrate slightly faster than a whole-number multiple would. The effect is called inharmonicity, and it is why piano tuners stretch the tuning: the octaves of a real piano are tuned slightly wider than an exact 2:1 ratio to match the piano's own sharp harmonics. It is strongest on short thick strings, so the bass strings of a small upright piano show more of it than those of a concert grand.

Bells, metal bars and drum membranes depart from the series much further. Their modes are set by their two- or three-dimensional shape rather than by a length of string, and those modes are not whole-number multiples at all. That is why their components are usually called partials rather than harmonics, and why a bell can sound like it has no single pitch. The Kit drum model uses these modes: it solves a struck membrane mode by mode, with frequency ratios like 1, 1.59, 2.14, 2.30 rather than 1, 2, 3, 4.

Common questions

What is the harmonic series?

When a string or an air column vibrates, it does not only vibrate along its whole length. It also vibrates in halves, thirds, quarters and so on, all at the same time. Those extra modes sound at whole-number multiples of the lowest frequency, so a 110 Hz string also produces 220, 330, 440 Hz and upward. That stack of whole-number multiples is the harmonic series, and the relative levels of its members are a large part of what makes one instrument sound different from another.

What is the difference between a harmonic and an overtone?

They are numbered differently. The first harmonic is the fundamental itself, so the nth harmonic is n times the fundamental frequency. Overtones are counted above the fundamental, so the first overtone is the second harmonic. Partial is the general word for any component of a tone, whether or not it is a whole-number multiple.

Why are some harmonics out of tune with a piano?

Equal temperament divides the octave into twelve equal steps, which cannot land exactly on whole-number frequency ratios. The octaves (harmonics 2, 4, 8 and 16) agree exactly, the fifths are about 2 cents apart, but the 7th harmonic is 31 cents below the nearest tempered note, the 11th is 49 cents below and the 13th is 41 cents above. Those three have no close equivalent on a keyboard.

Do real instruments follow the harmonic series exactly?

Strings and air columns follow it closely but not exactly. A real string has stiffness, so its higher modes are slightly sharp of whole-number multiples. This is called inharmonicity, and it is strongest on short, thick strings such as the lowest strings of a piano. Bells, bars and drum membranes depart from the series much further, which is why their components are usually called partials rather than harmonics.