Relative interval error: Difference between revisions
m Removing from Category:Measure using Cat-a-lot |
Styling improvements, basically |
||
Line 1: | Line 1: | ||
''This article is about the error of intervals measured in relative cents. For the relative error of temperaments, see [[Tenney-Euclidean temperament measures #TE simple badness]].'' | : ''This article is about the error of intervals measured in relative cents. For the relative error of temperaments, see [[Tenney-Euclidean temperament measures #TE simple badness]].'' | ||
The '''relative error''' of an [[interval]] in an [[edo]] is the interval's error in cents divided by the cents of an edostep, or equivalently stated, the error in [[relative cent]]s. | The '''relative error''' of an [[interval]] in an [[edo]] is the interval's error in cents divided by the cents of an edostep, or equivalently stated, the error in [[relative cent]]s. | ||
Line 7: | Line 7: | ||
== Computation == | == Computation == | ||
=== In direct approximation === | === In direct approximation === | ||
To find the relative error of any [[JI]] ratio in direct approximation: | To find the relative error ''e'' of any [[JI]] [[ratio]] in direct approximation: | ||
<math>e (n, r) = (\ | <math>e (n, r) = (\operatorname{round} (n \log_2 r) - n \log_2 r) \times 100\%</math> | ||
where ''n'' is the edo number and ''r'' is the | where ''n'' is the edo number and ''r'' is the ratio in question. | ||
The unit of relative error is ''relative cent'' or ''percent''. | The unit of relative error is ''relative cent'' or ''percent''. | ||
With direct approximation via the ratio's cents, the relative error ranges from -50% to +50%. With a val mapping via [[patent val]] or other vals, it can be | With direct approximation via the ratio's cents, the relative error ranges from -50% to +50%. With a [[val]] mapping via [[patent val]] or other vals, it can be greater. | ||
=== In val mapping === | === In val mapping === | ||
Given ''n''-edo equipped with ''p''-limit val | Given ''n''-edo equipped with ''p''-limit val V = {{val| ''v''<sub>1</sub> ''v''<sub>2</sub> … ''v''<sub>π (''p'')</sub> }}, the relative error map E<sub>r</sub> of each prime harmonic is given by | ||
<math>E_\text {r} = ( | <math>E_\text {r} = (V - nJ) \times 100\%</math> | ||
where J = {{val| 1 log<sub>2</sub>3 … log<sub>2</sub>''p'' }} is the [[JIP]]. | where J = {{val| 1 log<sub>2</sub>3 … log<sub>2</sub>''p'' }} is the [[JIP]]. | ||
Thanks to the [[Monzos and interval space|linearity of the interval space]], the relative error for any monzo | Thanks to the [[Monzos and interval space|linearity of the interval space]], the relative error for any monzo m is given by | ||
<math>E_\text {r} \vec | <math>E_\text {r} \cdot \vec m</math> | ||
=== Example === | === Example === | ||
Line 32: | Line 32: | ||
== Linearity == | == Linearity == | ||
In val mapping, the relative error space {E<sub>r</sub>} is linear. That is, if ''n'' = ''αn''<sub>1</sub> + ''βn''<sub>2</sub> and | In val mapping, the relative error space {E<sub>r</sub>} is linear. That is, if ''n'' = ''αn''<sub>1</sub> + ''βn''<sub>2</sub> and V = ''α''V<sub>1</sub> + ''β''V<sub>2</sub>, then | ||
<math> | <math> | ||
E_\text {r} = ( | \begin{align} | ||
= ((\alpha | E_\text {r} &= (V - nJ) \times 100\% \\ | ||
= \alpha ( | &= ((\alpha V_1 + \beta V_2) - (\alpha n_1 + \beta n_2)J) \times 100\% \\ | ||
= \alpha E_\text {r1} + \beta E_\text {r2} | &= \alpha (V_1 - n_1 J) \times 100\% + \beta (V_2 - n_2 J) \times 100\% \\ | ||
&= \alpha E_\text {r1} + \beta E_\text {r2} | |||
\end{align} | |||
</math> | </math> | ||
For example, the relative error map of 26edo using its 5-limit patent val is | |||
<math>E_\text {r, 26} = \langle \begin{matrix} 0.00\% & -20.90\% & -37.01\% \end{matrix} ]</math> | <math>E_\text {r, 26} = \langle \begin{matrix} 0.00\% & -20.90\% & -37.01\% \end{matrix} ]</math> | ||
That of 27edo | That of 27edo using its 5-limit patent val is | ||
<math>E_\text {r, 27} = \langle \begin{matrix} 0.00\% & +20.60\% & +30.79\% \end{matrix} ]</math> | <math>E_\text {r, 27} = \langle \begin{matrix} 0.00\% & +20.60\% & +30.79\% \end{matrix} ]</math> | ||
As 53 = 26 + 27, the relative | As 53 = 26 + 27, the relative error map of 53edo using its 5-limit patent val is | ||
<math>E_\text {r, 53} = \langle \begin{matrix} 0.00\% & -0.30\% & -6.22\% \end{matrix} ]</math> | <math>E_\text {r, 53} = \langle \begin{matrix} 0.00\% & -0.30\% & -6.22\% \end{matrix} ]</math> | ||
Line 55: | Line 57: | ||
We see how the errors of a sharp tending system and a flat tending system cancel out each other by the sum, and result in a much more accurate equal temperament. | We see how the errors of a sharp tending system and a flat tending system cancel out each other by the sum, and result in a much more accurate equal temperament. | ||
It is somewhat applicable to direct approximation | It is somewhat applicable to direct approximation, but with some quirks. If the error exceeds the range of -50% to +50%, it indicates that there is a discrepancy in val mapping and direct approximation. In this case, you need to modulo the result by 100%. | ||
== See also == | == See also == |