Logarithms and pitch

We hear pitch logarithmically: each octave doubles the frequency, so equal musical steps are equal ratios, not equal differences. Logarithms turn those ratios into sums — which is why cents, MIDI note numbers and the piano keyboard are all, in effect, logarithmic scales.

Also called: logarithmic pitch, log frequency; cents, MIDI numbers (English); Logarithmus, logarithmische Tonhöhe (German); échelle logarithmique (French); scala logaritmica (Italian).

The A’s of the piano: each octave doubles the frequency, but sounds like the same step.
NoteFrequency (Hz)MIDI number
A0 (lowest piano key)27.521
A15533
A211045
A322057
A444069
A588081
A6176093
A73520105

The ear is not a perfect logarithm machine: pitch perception bends at the extremes (the mel scale was proposed to describe it), and very high octaves sound "small". But across the musical range, equal ratios sound like equal steps — the basis of transposition, of melody recognized in any key, and of all tuning arithmetic.

History

John Napier published logarithms in 1614. Music theorists soon saw their use: Joseph Sauveur (1701) divided the octave into 43 mérides, each of 7 heptamérides — 301 units, chosen because the common logarithm of 2 is about 0.301 — and Euler (1739) measured intervals logarithmically. Gustav Fechner’s psychophysics (1860) made logarithmic perception a general law; Alexander Ellis’s cents (1885) became the standard unit.

Where the words come from

logarithm
Napier’s coinage, from Greek logos "ratio" + arithmos "number": the number that measures a ratio.

Questions

Why does the piano’s top octave seem to have so little space between notes?

In frequency the steps are huge — hundreds of hertz — but they are the same ratios as at the bottom. What shrinks is our pitch resolution and the instrument’s sustain; logarithmically, every octave is the same size.

Read with it

Sources