$$\require{cancel}$$

# 14.1.2: Equal Temperament

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

Seems simple enough; start with a note at a given frequency, apply the multiplication rules to get the other notes in the scale. So multiplying by $$2$$ gives a note an octave higher, multiplying by $$3/2$$ a note in between, and so forth. What could go wrong?

We already know the rules for the Pythagorean scale do not give exactly the same frequencies as the rules for the Ptolemaic (or Just) Scale. Let's stick with Pythagoras and decide we want to fill in the notes between $$\text{C}$$ (at the modern day frequency of $$261.63\text{ Hz}$$) and $$\text{C}$$ an octave above ($$261.63\text{ Hz}\times 2 = 523.15\text{ Hz}$$). We start with $$261.63\text{ Hz}$$ and multiply by $$3/2$$ to get $$392.44\text{ Hz}$$ which is $$\text{G}$$. We take $$\text{G}$$ ($$392.44\text{ Hz}$$) and multiply by $$3/2$$ again to get $$588.67\text{ Hz}$$ which is an octave above so we divide by $$2$$ to get $$294.33\text{ Hz}$$ which is $$\text{D}$$. We can get $$\text{A}$$ at $$441.49\text{ Hz}$$ by multiplying $$294.33\text{ Hz}$$ by $$3/2$$. Multiplying by $$3/2$$ and dividing by $$2$$ gives $$331.12\text{ Hz}$$ which is $$\text{E}$$. Multiplying by $$3/2$$ gives $$496.69\text{ Hz}$$ which is $$\text{B}$$. Repeating this procedure (multiplying by $$3/2$$ and dividing by $$2$$ if it is outside the octave) two more times gives $$\text{F}^{\text{#}}$$ ($$\text{F}$$ sharp) and $$\text{C}^{\text{#}}$$ ($$\text{C}$$ sharp). So far so good.

Now we run into a problem. Because if we use this $$\text{C}^{\text{#}}$$ at $$279.39\text{ Hz}$$ and multiply by $$3/2$$ we get $$419.08\text{ Hz}$$ which is not a note on the scale! In fact it is so close to $$\text{A}^{\text{b}}$$ ($$\text{A}$$ flat) at $$412.42\text{ Hz}$$ that we probably would mistake it for $$\text{A}^{\text{b}}$$. Likewise if we do the procedure again we get $$314.31\text{ Hz}$$ which is very close to $$\text{E}^{\text{b}}$$ at $$310.08\text{ Hz}$$ but is not on this scale. In other words, the Pythagorean system of generating notes finds an infinite set of notes between $$\text{C}$$ at $$261.63\text{ Hz}$$ and the $$\text{C}$$ an octave above. The Pythagorean solution was to stop after five notes (a pentatonic scale) and not use any more. But the idea of using the simple mathematical rule of $$2/3$$ for generating more notes where all the notes harmonize doesn't work. The dilemma is that ratios of $$3:2$$ sound good to the ear but using a ratio of $$3:2$$ does not result in a closed, limited number of notes.

As music became more complicated, musicians started to want to switch keys during the piece of music. When a musician changes key they are essentially starting with a different note (say $$\text{B}$$ at $$496.67\text{ Hz}$$ in the Pythagorean scale) and using an octave based on that new starting point. But starting on a different note and applying the rule to generate the scale results in new notes which are not close to previous notes (it almost works in the Pythagorean scale but not in the Just temperament). If you have a musical instrument, say a piano, set up so that the notes correspond to a Just scale based on $$\text{F}$$ (the key of $$\text{F}$$) for example, changing to a key of $$\text{B}$$ isn't possible unless you add extra strings to the piano because there are new frequencies in the key of $$\text{B}$$. The new notes also do not harmonize with the old notes. To maintain the Just scale requires a different instrument, one tuned differently for each key you want to play in (or many extra strings).

This problem gets worse when you try to generate notes an octave above or below the initial octave using the rules; the higher octave doesn't harmonize with the lower octave if they are generated using the rules. Notes an octave above should be twice the frequency of the note in the lower octave but using the formula to generate the note doesn't give a frequency twice that of the lower octave. For singing and even violins, which can make any desired frequency (within a given range), this isn't a problem because the performer can just shift the note a little so that it sounds right. But for the piano, organ, flute and stringed instruments with frets this is a big problem because the notes are determined by the construction of the instrument and cannot be changed without re-tuning it. So it appears there is a choice between making instruments so they harmonize well in one octave and scale but not another; or have different instruments for each octave and each scale; or re-tune the instrument every time you want to change scales or octaves.

A scale system that tries to correct for the problem of being able to play in any key is called a temperament. The chosen starting note of a scale is called the tonic and a musical fifth consists of the tonic and the fifth note of the scale.

Historically several scale adjustments generically known as well-tempered scales were proposed and eventually the even-tempered scale won out (see Well versus Even Temperament). In this scale the frequencies between octaves are chosen to be equally spaced in which case the ratio between notes is $$1.059463$$ (the notes can be generated by multiplying or dividing by either $$2$$ and/or $$1.059463$$). This divides an octave into twelve notes. Another way to write this mathematically is $$f=f_{o}\times (2^{1/2})^{n}$$ where $$f_{o}$$ is generally chosen to be $$440\text{ Hz}$$ in modern times. $$2^{1/2} = 1.059463094\ldots$$ and each value of $$n$$ generates a new note.

Johann Sebastian Bach was the musician who managed to get the world to pay attention to alternative scales by writing music (this was in the 1700's) specifically to sound good for instruments tuned a certain way. Eventually most western cultures adopted the even-tempered scale (some other cultures did not which is why, for example, music from India often sounds very different than western music). Because the ratios between frequencies are not exactly $$3:2$$ or $$5:4$$ you can often hear chords where there is beating and dissonance. The chords also do not sound as pure as Pythagorean tuning because they are not exactly harmonic however the greater flexibility to change keys and to (almost) harmonize over several octaves makes equal temperament a useful compromise. Below is a diagram of the frequencies of various scale systems (temperaments).

Frequencies of Various Scale Systems
Pythagorean Just Major Mean-tone Werckmeister Equal-tempered
Note $$\text{Hz}$$ Note $$\text{Hz}$$ Note $$\text{Hz}$$ Note $$\text{Hz}$$ Note $$\text{Hz}$$
$$\text{C}$$ $$523.25$$ $$\text{C}$$ $$523.25$$ $$\text{C}$$ $$523.25$$ $$\text{C}$$ $$523.25$$ $$\text{C}$$ $$523.25$$
$$\text{B}$$ $$496.67$$ $$\text{B}$$ $$490.55$$ $$\text{B}$$ $$489.03$$ $$\text{B}$$ $$491.67$$ $$\text{B}$$ $$493.88$$
$$\text{B}^{\text{b}}$$ $$465.12$$ $$\text{B}^{\text{b}}$$ $$470.93$$ $$\text{B}^{\text{b}}$$ $$468.02$$ $$\text{B}^{\text{b}}\text{/A}^{\text{#}}$$ $$465.12$$ $$\text{B}^{\text{b}}\text{/A}^{\text{#}}$$ $$466.16$$
$$\text{A}$$ $$441.49$$ $$\text{A}$$ $$436.05$$ $$\text{A}$$ $$437.41$$ $$\text{A}$$ $$437.05$$ $$\text{A}$$ $$440.00$$
$$\text{A}^{\text{b}}$$ $$413.42$$ $$\text{A}^{\text{b}}$$ $$418.60$$ $$\text{A}^{\text{b}}$$ $$418.60$$ $$\text{A}^{\text{b}}\text{/G}^{\text{#}}$$ $$413.42$$ $$\text{A}^{\text{b}}\text{/G}^{\text{#}}$$ $$415.30$$
$$\text{G}$$ $$392.44$$ $$\text{G}$$ $$392.44$$ $$\text{G}$$ $$391.21$$ $$\text{G}$$ $$391.16$$ $$\text{G}$$ $$392.00$$
$$\text{F}^{\text{#}}$$ $$372.52$$ $$\text{F}^{\text{#}}$$ $$367.92$$ $$\text{F}^{\text{#}}$$ $$365.62$$ $$\text{G}^{\text{b}}\text{/F}^{\text{#}}$$ $$367.51$$ $$\text{G}^{\text{b}}\text{/F}^{\text{#}}$$ $$369.99$$
$$\text{F}$$ $$348.83$$ $$\text{F}$$ $$348.83$$ $$\text{F}$$ $$349.92$$ $$\text{F}$$ $$348.83$$ $$\text{F}$$ $$349.23$$
$$\text{E}$$ $$331.11$$ $$\text{E}$$ $$326.03$$ $$\text{E}$$ $$327.03$$ $$\text{E}$$ $$327.76$$ $$\text{E}$$ $$329.62$$
$$\text{E}^{\text{b}}$$ $$310.08$$ $$\text{E}^{\text{b}}$$ $$313.96$$ $$\text{E}^{\text{b}}$$ $$312.98$$ $$\text{E}^{\text{b}}\text{/D}^{\text{#}}$$ $$310.08$$ $$\text{E}^{\text{b}}\text{/D}^{\text{#}}$$ $$311.13$$
$$\text{D}$$ $$294.33$$ $$\text{D}$$ $$294.33$$ $$\text{D}$$ $$292.50$$ $$\text{D}$$ $$292.37$$ $$\text{D}$$ $$293.66$$
$$\text{C}^{\text{#}}$$ $$279.39$$ $$\text{C}^{\text{#}}$$ $$272.54$$ $$\text{C}^{\text{#}}$$ $$273.37$$ $$\text{D}^{\text{b}}\text{/C}^{\text{#}}$$ $$275.62$$ $$\text{D}^{\text{b}}\text{/C}^{\text{#}}$$ $$277.18$$
$$\text{C}$$ $$261.63$$ $$\text{C}$$ $$261.63$$ $$\text{C}$$ $$261.63$$ $$\text{C}$$ $$261.63$$ $$\text{C}$$ $$261.63$$

Table $$\PageIndex{1}$$: Frequencies of various scales, based on $$C_{4}=261.626\text{ Hz}$$.

Modern musical scales in western culture are different in one other way from older classical music. At the time of Bach the scales were based on the note $$\text{A}$$ being about $$415\text{ Hz}$$. In Handel's time the frequency of $$\text{A}$$ was $$422.5\text{ Hz}$$ and today it is $$440\text{ Hz}$$. This gradual shift upward was made possible by stronger materials for pianos and guitars which could withstand the greater tension in tighter strings.

As mentioned previously, the constraints of making a piano with a wide range of notes but is not too large requires using strings that are dense and under a great deal of tension. This makes them slightly nonlinear, meaning that the overtones are not exactly harmonic. If the piano was tuned in a precise mathematical way (using any of the scale systems) these an-harmonic overtones would not sound well when two notes an octave apart are played. What is generally done is to tune the piano by ear so that it sounds correct, starting with low notes and working up to higher pitches. The result of this process is that, for a modern piano, low notes are slightly flat (lower) while high notes are slightly sharp (higher). The figure below (called a Railsback curve) shows the difference from perfect tuning of a modern piano. Figure $$\PageIndex{1}$$

14.1.2: Equal Temperament is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Kyle Forinash and Wolfgang Christian via source content that was edited to conform to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.