Home next page
Profile  Writing  Projects  Music  Games
SmokeyVW  Strategies  9/11  Couple of Drops  How We Hear  Heart  Sheryl Crow  Peter Gabriel  Linkin Park
Contents  Just Tuning  12-Tone  Intervals  Partials  Bells  Rhythm  Applications

scalesAlternative Tuning and How We Hear


STANDARD 12-TONE SCALE

The standard 12-tone scale, also called the equal tempered scale, was invented to solve the problems with just tuning. It forces the frequency ratios between all the notes to be constant. This allows freely modulating between keys.

There is a trade-off in this scheme. None of the intervals is precisely correct (except octaves). Fifths are slightly off-tune. Thirds are actually quite a bit off-tune.

notefrequency (Hz)pitch (cents)
B 493.8831100
A# Bb466.1641000
A 440.0000900
G# Ab415.3050800
G 391.9950700
F# Gb369.9940600
F 349.2280500
E 329.6280400
D# Eb311.1270300
D 293.6650200
C# Db277.1830100
C 261.6260000

The rules we want to follow are:

  • The octave interval must be exactly 2/1.
  • There must be 12 chromatic notes per octave.
  • The ratio of the frequencies of two adjacent notes must be a constant. We can compute a full octave of frequencies like this:
    freq(A#) = freq(A) x R
    freq(B) = freq(A#) x R
    freq(C) = freq(B) x R
    freq(C#) = freq(C) x R
    freq(D) = freq(C#) x R
    freq(D#) = freq(D) x R
    freq(E) = freq(D#) x R
    freq(F) = freq(E) x R
    freq(F#) = freq(F) x R
    freq(G) = freq(F#) x R
    freq(G#) = freq(G) x R
    freq(A') = freq(G#) x R
    
    or by combining all of them:
    2 x freq(A) = freq(A) x R x R x R x R x R x R x R x R x R x R x R x R
    
    this can be rewritten in exponential form:
    2 x freq(A) = freq(A) x R^12
    
    and we can solve for R:
    R^12 = 2 x freq(A) / freq(A)
    
    R^12 = 2
    
    R = 2^(1/12)
    
    In other words, the ratio is the twelfth-root of two. The note A above middle-C is defined to be 440 Hz. From that, all the other pitches can be computed.

    Just to check that it works, let's try comparing two different major third intervals. The ratio of the frequencies of C and E should be the same as the ratio of the frequencies of E and G#.

    329.628 / 261.626 = 1.260
    415.305 / 329.628 = 1.260
    
    It works!

    MAPPING THE PIANO KEYBOARD TO FREQUENCY

    We can define the value n as the number of chromatic steps above A. Negative numbers would mean the number of steps below A. This equation lets you compute the frequency of any note:
    freq(n) = 440 x 2^(n/12)
    

    MAPPING FREQUENCY TO THE PIANO KEYBOARD

    By solving the previous equation we obtain the equation that lets you compute the note from a frequency:
    n = 12 * log(freq(n) / 440) / log(2)
    

    LOGARITHMIC VIEW

    It might be argued that human hearing perceives pitch on a logarithmic scale. The same interval in any octave is in some sense the same size. If we plot the frequencies of a scale on a log graph, we do indeed find that equal intervals appear the same size on the graph. This is because division is like subtraction in the logarithmic mapping.
    log(A/B) = log(A) - log(B)
    
    The log of the frequency is plotted on the vertical axis in the following diagram. The equal tempered notes are shown and you can see that the vertical distance for any interval will always be the same. The just tuned notes are also shown.

    logarithmic frequency so intervals are the same size

    A notation system based on this idea is described by David Canright.

    CENTS

    A single chromatic step can be divided into 100 smaller steps called cents. This is a convenient unit to describe alternate tunings in reference to equal tempered tuning. One cent is just barely beyond the perception of the best trained musical ear.

    If you are planning to experiment with alternate tunings using a synthesizer, you are likely to find that the synthesizer pitch adjustment is expressed in cents. Another possibility is that you will need to control pitch bending to retune notes. MIDI pitch bend messages have 14 bits (16384 unique values) that control bending of +/- 2 chromatic steps (400 cents). This means you have control down to less than 1/40 of a cent - more than enough!

    COMMA

    The comma is the error, or discrepancy, between two different ways of creating the same interval. The Pythagorean comma points out the problem that perfect fifths don't fit exactly into 7/12 of an octave. Imagine you step through 12 fifths, each with exactly a 3/2 ratio:
    1x(3/2)x(3/2)x(3/2)x(3/2)x(3/2)x(3/2)x(3/2)x(3/2)x(3/2)x(3/2)x(3/2)x(3/2)
    = 531441/4096
    
    This ratio should be the same as 7 octaves. So we compute stepping through 7 octaves, each with exactly a 2/1 ratio:
    1x(2/1)x(2/1)x(2/1)x(2/1)x(2/1)x(2/1)x(2/1)
    = 128/1
    
    We can rewrite the ratio with the same denominator for easy comparison.
    128/1 = 524288/4096 (not the same as 531441/4096)
    
    The discrepancy of about 1.36% is the Pythagorean comma. This points out that just tuning has a problem with its intervals adding up correctly.

    Another way to view the equal tempered scale is to think of the Pythagorean comma being distributed evenly across all the pitches; each pitch is slightly wrong, but the intervals add up consistently.

    Thirds are even worse. Three major thirds should equal an octave.

    1x(5/4)x(5/4)x(5/4) = 125/64
    
    One octave written with same denominator would be
    1x(2/1) = 128/64
    
    The major third comma is about 2.4% - very noticeable even to the untrained ear. Again, we can view the equal tempered scale as having the major third comma being distributed evenly across all the pitches; each pitch is a bit off, but the intervals add up consistently.

    The out-of-tune major third is probably the worst feature of the 12-tone scale. But we are immersed in music tuned this way and our ears have become trained to accept it. A just tuned major third sounds slightly wrong at first, but after just a little while, it sounds great. Returning to the equal tempered major third then sounds rather jarring.

    This document is ©2003 by Bill Grundmann.


    Next Page
    Table of Contents
    Return to Bill Grundmann's Music Page
    next page  Home