Piano Roll Theorymusic theory for producers
Start
0%
7.5Part 7, Sound and Theory

Equal Temperament: Why Thirds Are Out of Tune

After this lesson, you'll know why the twelve rows of your piano roll are all the same distance apart, what that choice costs the ear, and why your DAW's major third is very slightly out of tune.

14 min8 questions
View

In the lesson on harmonics, you saw that every note contains a series of neatly lined-up frequencies: two, three, four, five times the fundamental. These multiples are the source of the intervals that sound most pleasant to the ear. Yet your DAW doesn't use them as they are. It divides the octave into twelve perfectly equal semitones. This lesson explains why, and what you gain as well as what you lose.

Natural intervals

When two notes have frequencies in a simple ratio, their harmonics meet exactly, and the interval sounds calm, with no beating. A ratio of 2 to 1 gives the octave, for example 110 and 220 hertz. A ratio of 3 to 2 gives the perfect fifth, for example 220 and 330 hertz. A ratio of 4 to 3 gives the perfect fourth, 5 to 4 the major third and 6 to 5 the minor third. These are called pure, or natural, intervals.

Take the major third above A3, which vibrates at 220 hertz. The pure ratio puts it at 275 hertz. The fifth harmonic of the A, at 1,100 hertz, then lands exactly on the fourth harmonic of the third, also at 1,100 hertz. Nothing beats, and the third sounds perfectly settled.

D4C♯4277.2 Hz C♯C4B3A♯3A3220 Hz AG♯3
A major third on A. Pure, it would vibrate at 275 Hz; in your DAW, it vibrates at about 277.2 Hz.

The fifths don't close the circle

If pure intervals sound so good, why not tune the whole keyboard with them? Let's try. Start from C and go up by pure fifth after pure fifth: G, D, A, E, B, F♯, C♯, G♯, D♯, A♯, E♯, and the twelfth fifth should bring you back to B♯, that is, to a C, seven octaves higher. The math says otherwise.

Twelve pure fifths multiply the frequency by 1.5 twelve times in a row, which gives about 129.75. Seven octaves multiply it by 2 seven times in a row, which gives exactly 128. There's a small surplus of about 23.5 cents left over, called the Pythagorean comma. In other words, pure fifths never land exactly on the octave: somewhere, you have to cheat.

For centuries, musicians tried different ways of spreading out this cheat, called temperaments. Some kept very pure thirds in the common keys, at the cost of a few keys that were almost unplayable. The solution that won out for keyboards and for most Western music today is the most even-handed one: equal temperament.

Twelve perfectly equal semitones

Equal temperament divides the octave into twelve identical semitones. Each semitone multiplies the frequency by the twelfth root of 2, about 1.0595, and measures exactly 100 cents. The comma is shared out equally among the twelve fifths: each one is shortened by about 2 cents, and the circle closes exactly. All the keys then sound the same; only the pitch changes.

That's what makes your piano roll so convenient. You can select a loop and move it up three rows without anything changing color. A C major chord has exactly the same shape and the same sound as an F sharp major chord, just higher. Scales, Roman numerals, transposing a sample: everything you've learned in this course rests on this regular division.

What the ear loses

The price to pay is that, apart from the octave, no interval is exactly pure. The table compares each pure interval with its version in equal temperament. The fifths and fourths are almost perfect. The thirds and sixths, on the other hand, drift clearly away from their natural ratio.

IntervalPure ratioPure, in centsEqual temperamentDifference
Octave2/11,2001,2000
Perfect fifth3/2702.0700−2.0
Perfect fourth4/3498.0500+2.0
Major third5/4386.3400+13.7
Minor third6/5315.6300−15.6
Major sixth5/3884.4900+15.6
Minor sixth8/5813.7800−13.7
Pure intervals and their tempered versions, in cents. A positive difference means your DAW's interval is a little wider than the natural one.

So your DAW's major third is about 14 cents too wide. On A3, the pure third would vibrate at 275 hertz, whereas C♯4 vibrates at about 277.2 hertz. The harmonics that used to meet exactly now brush past each other a few hertz apart, and they beat, about eight to nine times per second. Listen to the difference with a sound rich in harmonics.

The tempered third has a small restlessness, a slight shimmer that the pure third doesn't have. For the fifth, the difference is almost imperceptible: its harmonics beat less than once per second. Don't let that worry you, though: our ears are used to equal temperament, and most listeners don't notice a thing.

Exercisetry it in your DAW too

In your synth, choose a sawtooth sound with no effects, and hold A3 and C♯4 together for several seconds. Listen to the shimmer. Then, on a second track that plays only the C♯4, lower the fine-tune by about 14 cents, and listen again. What happens? And what would happen if you then played an F sharp minor chord with this retuned C sharp?

D4C♯4C♯C4B3A♯3A3AG♯3

In the last lesson of this part, we move from the time of vibrations to the time of the track, translating tempo into milliseconds to set your delays, reverbs and LFOs.

Check your understanding

8 questions
1.
Which frequency ratio gives a pure perfect fifth?
2.
In equal temperament, how many cents does each semitone measure?
3.
Why can't you tune all twelve notes using only pure fifths?
4.
How does your DAW's major third compare with the pure major third?
5.
What advantage does equal temperament give a producer?
6.
A sawtooth pad holds an A major chord for eight bars, and you hear a slight shimmer, with no effects on it. Where does it most likely come from?
7.
You try an alternative tuning on your pad synth, but not on your piano or your bass. What are you risking?
8.
Above an A at 220 hertz, at what frequency does a pure major third vibrate?

A lesson is completed automatically at 70% on the quiz. You can also mark it yourself.

A question, a mistake, a word about this lesson? Write to us.

Your address is only used to reply to you.