Web apps: Bain, Ratio to Cents; Matthew Yacavone, Xen-calc
See also: Mathematical Terms & Concepts
If we divide a
string of length L and fundamental frequency f
into segments; e.g.,
1/2 L, 1/3 L, 1/4 L, 1/5 L, etc.,
plucking those segments will produce the following frequencies, respectively:
2/1 f, 3/1 f, 4/1 f, 5/1 f, etc.
For more information
about the relationship between string length and pitch
interval, see the Wikipedia article Mersenne's
Laws. For more information about the relationship between pitch
and frequency see the Wikipedia article pitch
(music).
Reciprocal
relationship
Be sure to notice the inverse relationship between L and f
above; e.g., 1/2 & 2/1, 1/3 & 3/1, 1/4 & 4/1,
1/5 & 5/1, etc. In mathematics, the
reciprocal of x is
defined to be 1/x;
e.g., the reciprocal of 4/3 is
calculated:
For more information, see the Wikipedia article multiplicative inverse.
For more
information, see the Xenharmonic Wiki article interval.
For more
information, see the Wolfram MathWorld article Reduced
fraction or Wikipedia article Simplifying
(reducing) fractions.
Decimal
expansion
A fraction (n/d) may
also be represented as a decimal expansion, where we
divide the fraction's numerator (n) by its denominator (d)
as shown in the following examples:
2/1 = 2.0, 3/2 = 1.5, 4/3 = 1.333..., 5/4 = 1.25, etc.
For more
information, see Decimal
expansion in Wolfram MathWorld.
1:1
In tuning theory, the ratio 1:1 serves as a point of
reference. For example, it may be used to represent the unison
interval {XW} or the fundamental
of a harmonic series. Most often, it is used to represent the tonic
degree in a scale, and the other degrees in the scale are
expressed as a precise frequency ratio in relation to the prime unity
1:1 (Partch 1947). For more
information, see the Xenharmonic Wiki articles unison and scale, respectively.
Octave
reduction
In tuning theory, pitches and intervals are usually
expressed as ratios within the 1/1 to 2/1 octave; i.e., as
fractions under simplification and octave reduction {XW}.
Examples. The frequency ratios 1/1, 2/1, 3/1, 4/1 & 5/1 are equivalent to the following ratios under octave reduction, respectively:
1/1, 2/1,
3/2, 2/1 & 5/4
For more information, see the Xenharmonic Wiki article octave reduction.
2/1,
3/2, 4/3, 5/4, 6/5, 7/6, 8/7, 9/8, 10/9, etc.
For more information, see the Wikipedia article Superparticular ratio.
Pythagorean meansFor more information, see the Wikipedia article Pythagorean means.
In twelve-tone equal temperament (abbr. 12-tet; see also 12-edo, or 12ed2) {WP; XW}, the 2/1 octave is divided into 12 equal-sized intervals called semitones. The size of each semitone is equal to the twelfth root of two:
21/12 ≈ 1.059
As such, the chromatic scale may be represented using fractional powers of 2:
20/12, 21/12, 22/12, 23/12, 24/12, 25/12, 26/12, 27/12, 28/12, 29/12, 210/12, 211/12, 212/12
Simplifying the
fractional exponents we get:
1/1, 21/12, 21/6, 21/4, 21/3, 25/12, 21/2, 27/12, 22/3, 23/4, 25/6, 211/12, 2/1
Or we may use decimal expansions to specify the 12-tet chromatic scale:
1.0, 1.059, 1.122, 1.189, 1.260, 1.335, 1.414, 1.498, 1.587, 1.682, 1.782, 1.889, 2.0
Finally, here is the chromatic scale notated using EDO-step notation (n\n-EDO), where n is the nth step in n-EDO.
EDO is an abbreviation for equal division of the octave. For more information, see the Xenharmonic Wiki article EDO. For other important EDOs, see Marc Sabat's article Introduction to EDO tunings on the Ableton website.
The cent
is a logarithmic
unit of pitch interval proposed by the nineteenth-century English
mathematician A.J.
Ellis (1814-90). By definition, there are 1200 cents in a
2/1 octave and 100 cents in a 12-tet
semitone. To compare the size of two interval frequency ratios, we
will typically convert ratios to cents
(¢). The following formula will convert an interval
frequency ratio (f1/f2)
to cents (c):
c = 1200 log2 (f1/f2)
For example, rounding to
the nearest cent the ratio 3/2 is equivalent to 702¢, or more precisely:
1200 log2 (3/2) ≈ 701.995¢
The following mobile Web app will perform this calculation.
Calculator: Bain, Ratio to Cents
It rounding all cent
values to 3 decimal places, or nearest 1/1000 cent. Here is the
12-tet chromatic scale using cents, with the diatonic scale
degrees highlighted using bold type:
0, 100, 200,
300, 400, 500, 600, 700, 800, 900,
1000, 1100, 1200
For a multi-purpose
interval calculator/converter that can play any interval, see
Matthew Yacavone's Xen-calc.
For other interval size units, see the Xenharmonic Wiki article Interval size
measure.
A comma is a small difference that arises when a note is tuned in different ways. Here are some of the commas we will encounter in our study of tuning theory. For more information, see the Xenharmonic Wiki article comma.
Other commas {WP} (Gann 2019, pp. 35-36)
etc.
Again, the Web app Xen-calc can play any interval frequency ratio:
Matthew Yacavone, Xen-calc
Links
Huygens-Fokker Foundation: Centre for Microtonal Music {HFF} – https://mathworld.wolfram.com
Wikipedia {WP} – https://www.wikipedia.org
Wolfram MathWorld {MathWorld} – https://mathworld.wolfram.com
Xenharmonic Wiki {XW} – https://en.xen.wiki
References
See: BAIN
MUSC 726T Bibliography
Duffin, Ross W. 2006. "Just
Intonation in Renaissance Theory and Practice." Music Theory
Online 12/3. {MTO}
Gann, Kyle. 2019. The
Arithmetic of Listening: Tuning Theory and History for the
Impractical Musician. Urbana: University of Illinois Press. {GB}
Hero, Barbara and R. M.
Foulkrod, 1999. "The Lambdoma matrix and harmonic intervals." IEEE
Engineering in Medicine and Biology Magazine 18/2
(March-April 1999): 61–73. {Lambdoma.com}
Partch, Harry. 1974/1949. Genesis
of a Music, 2nd ed. New York: Da Capo Press. {GB}
Updated: Marcy 5, 2026