Relative interval error: Difference between revisions
m →Linearity: correction |
More rework |
||
Line 22: | Line 22: | ||
<math>E_\text {r} = (A - nJ) \times 100\%</math> | <math>E_\text {r} = (A - nJ) \times 100\%</math> | ||
where J 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 b is given by | |||
<math>E_\text {r} \vec b</math> | <math>E_\text {r} \vec b</math> | ||
=== Example === | |||
Let us try finding the relative error of 6/5 in 19edo's patent val. We may first find the errors of 2/1, 3/1 and 5/1 in 19edo. They are 0, -11.43% and -11.66%, respectively. Since 6/5 = (2/1)(3/1) / (5/1), its error is 0 + (-11.43%) - (-11.66%) = 0.23%. That shows 19edo has fairly flat fifths and major thirds, yet they cancel out when it comes to minor thirds and results in a very accurate approximation. | |||
== 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 A = ''α''A<sub>1</sub> + ''β''A<sub>2</sub>, then | 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 A = ''α''A<sub>1</sub> + ''β''A<sub>2</sub>, then | ||
Line 54: | Line 56: | ||
It is somewhat applicable to direct approximation, too, but 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%. | It is somewhat applicable to direct approximation, too, but 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 == |