Pitch is not organized in a linear
scale.
If pitch were organized
in a linear scale, then life would be simple. Then the difference in
frequency between C4 and D4 would be exactly the same as the difference in
frequency between, say, G5 and A5. Then the difference in frequency between
C4 and C5 would be exactly the same as the difference in frequency between
C5 and C6.
Instead, C4 is 261.9 Hz.
C5 is 523.2 Hz., and
C6 is 1046 Hz.
That is, C5 is twice the
frequency of C4. C6 is twice the frequency of C5.
Here's a chart showing the equal-tempered
notes between 440 Hz and 880 Hz. Notice that the distance between each successive
note gets larger and larger.

What is constant between each interval
is the ratio between the two notes. That is, if multiply the frequency
of A4 by X number, you get A#4. If you multiply A#4 by the same number, you
get B4. In other words, it is a geometric progression.
The following chart should help
make this clear. The difference between the frequencies gets greater as we
go up the scale. But the ratio remains the same.
|
|
Frequency
|
|
Freq.
Difference
|
Ratio
(Higher/Lower)
|
|
A4
|
440.0 |
|
|
|
|
|
|
 |
26.2
|
1.05946
|
|
A#4
|
466.2 |
|
|
|
|
|
|
 |
27.7
|
1.05946
|
|
B4
|
493.9 |
|
|
|
|
|
|
 |
29.4
|
1.05946
|
|
C5
|
523.2 |
|
|
|
|
|
|
 |
31.1
|
1.05946
|
|
C#5
|
554.4 |
|
|
|
|
|
|
 |
33.0
|
1.05946
|
|
D5
|
587.3 |
|
|
|
|
|
|
 |
34.9
|
1.05946
|
|
D#5
|
622.2 |
|
|
|
|
|
|
 |
37.0
|
1.05946
|
|
E5
|
659.2 |
|
|
|
|
|
|
 |
39.2
|
1.05946
|
|
F5
|
698.4 |
|
|
|
|
|
|
 |
41.5
|
1.05946
|
|
F#5
|
740.0 |
|
|
|
|
|
|
 |
44.0
|
1.05946
|
|
G5
|
784.0 |
|
|
|
|
|
|
 |
46.6
|
1.05946
|
|
G#5
|
830.6 |
|
|
|
|
|
|
 |
49.4
|
1.05946
|
|
A5
|
880.0 |
|
|
|
|
|
|
|
|
|
What is a "Straight"
Glissando?
Let's say we want to make a straight
glissando from 400 Hz to 800 Hz. A straight glissando would mean that all
parts of the pitch range between 400 Hz and 800 Hz would get "equal treatment"
-- that is, we wouldn't hear any part of the pitch range more than any other.
At first it sounds easy! Just make
a straight line between 400 Hz and 800 Hz over the duration of a note, right!?
No. If we make a mathematically
straight line between 400 Hz and 800 Hz, we don't actually get a straight
glissando.
You might think of it this way:
there is more distance mathematically between notes near 800 Hz than at 400
Hz. Therefore, with our straight line, pitch will be perceived to move more
slowly as it approaches 800 Hz.
It's kind of like driving from
the city out into the country on the highway. You are going at a constant
70 miles per hour, but the towns keep occurring further and further apart.
Here's the visual. On the left
is our straight line from 400 Hz to 800 Hz. On the right, we see the logarithm
of the line, showing us the actual resulting pitch curve as we perceive it
in "pitch space". Notice is takes off fast from 400 Hz and then
gets shallower and slower as it approaches 800 Hz.
 |
 |
|
Mathematical
Straight Line Controlling Frequency
|
The Perceptual
Result is a Curve in Pitch Space
|
t
How do we get around this?
Here's one's way to think about
it: if a mathematically straight line gives us an upward-bowed curve
in pitch space, maybe a mathematically downward-bowed curve will result
in a straight line in pitch space.
This would be like driving from
the city out into the country on the highway, but instead of going a constant
70 miles per hour, you start slow and keep going faster and faster such that
the towns come by at the same rate even though they are further and further
apart. (Don't try this at home.)
Here's the visual. On the left
is an exponential curve from 400 Hz to 800 Hz. By taking a logarithm of the
line, we see the perceptual result: a straight line in pitch space!
 |
 |
|
Exponential
Line Controlling Frequency
|
The Perceptual
Result is a Straight Line in Pitch Space
|
Calculating Equal Tempered Intervals
The most common tuning system use
in Western music is 12-tone equal tempered tuning. That means that one octave
is divided into 12 equally spaced intervals in pitch space.
Recall that an octave involves
a doubling of frequency: A4=440, A5=880. One might be tempted to guess that
a point half-way in the octave (D#5) would be half way between these two values.
But given the exponential nature of the pitch space, this would be terribly
wrong!
To account for the exponential
space, we use this formula:

Given m, the number of scale
steps we want to move, this formula will return the multiplier that corresponds
to that interval. We multiply that value by the frequency of our starting
note to find the frequency of our new note.
Here's an example for jumping from
A4 to D#5 as posed above. D# is 6 semitones (scale steps) above A, so m
= 6:

A4 is 440 Hz. So D#5 will be
440 * 1.4142135623730961 = 622.25396744
This also works downward. Let's
look at it in LISP this time:
? (* 440 (expt 2 (/ -6 12)))
311.1269837220809
It is easy to alter the formula
to create divisions of the octave other than twelve: just replace the 12 with
the desired number.