Operations on intervals: Difference between revisions
mNo edit summary |
|||
| Line 33: | Line 33: | ||
<math>\frac{1}{n} (1200 \log_2 r) = 1200 \log_2 (r^{1/n}).</math> | <math>\frac{1}{n} (1200 \log_2 r) = 1200 \log_2 (r^{1/n}).</math> | ||
There is another operation that can be called "logarithmic division", which is finding the ''perceptual'' ratio of two intervals. This is given by the base change operation: | |||
<math>\frac{1200 \log_2 r}{1200 \log_2 s} = \log_s r</math> | |||
=== Examples === | === Examples === | ||
# <math>2 \cdot 1200 \log_2 (4/3) = 1200 \log_2 ((4/3)^2) = 1200 \log_2 (16/9)</math> | # <math>2 \cdot 1200 \log_2 (4/3) = 1200 \log_2 ((4/3)^2) = 1200 \log_2 (16/9)</math> | ||
# <math>2 \cdot 1200 \log_2 (9/8) = 1200 \log_2 ((9/8)^2) = 1200 \log_2 (81/64)</math> | # <math>2 \cdot 1200 \log_2 (9/8) = 1200 \log_2 ((9/8)^2) = 1200 \log_2 (81/64)</math> | ||
# <math>\frac{1}{13} \cdot 1200 \log_2 (2/1) = 1200 \log_2 (2^{1/13})</math> | # <math>\frac{1}{13} \cdot 1200 \log_2 (2/1) = 1200 \log_2 (2^{1/13})</math> | ||
# <math>\frac{1200 \log_2 (81/64)}{1200 \log_2 (9/8)} = 1200 \log_{9/8) (81/64) = 2</math> | |||
== Logarithmic division == | == Logarithmic division == | ||
Revision as of 22:29, 18 December 2025
The following are common arithmetic operations on musical intervals. If you're unfamiliar with the operations, you're encouraged to verify the examples for interval operation rules with a calculator.
Stacking and unstacking
Stacking two intervals feels perceptually like we are adding two distances, but it corresponds to multiplying two frequency ratios. The logarithm function is the bridge between frequency space and pitch space:
for any two frequency ratios a and b. The above equation tells us that the sum of the size (in octaves) of a and the size (in octaves) of b is equal to the size in octaves of the product of two frequency ratios ab. Hence, stacking corresponds to multiplying frequency ratios in linear (frequency) space, and adding cent values in logarithmic (pitch) space.
To convert octaves to cents, we simply multiply both sides by 1200:
As a consequence, since the inverse operation of multiplication is division, dividing frequency ratios corresponds to subtracting their perceptual sizes:
Examples
Logarithmic multiplication
From the log rule
we see that stacking n copies of the ratio r corresponds to taking the nth power of r:
The analogous holds for dividing a ratio into n equal parts:
There is another operation that can be called "logarithmic division", which is finding the perceptual ratio of two intervals. This is given by the base change operation:
Examples
- Failed to parse (syntax error): {\displaystyle \frac{1200 \log_2 (81/64)}{1200 \log_2 (9/8)} = 1200 \log_{9/8) (81/64) = 2}
