Diamond tradeoff: Difference between revisions
Cmloegcmluin (talk | contribs) consolidate categories |
Cmloegcmluin (talk | contribs) →Example: remove confusing and possibly wrong reference to pseudoinverse here, simplify MathJax format, and clarify cancelation step |
||
Line 27: | Line 27: | ||
Here we will demonstrate the calculation of the diamond tradeoff tuning range for meantone. | Here we will demonstrate the calculation of the diamond tradeoff tuning range for meantone. | ||
Here is the mapping, | Here is the mapping, <math>M</math>: | ||
<math> | <math> | ||
Line 40: | Line 40: | ||
For each of these three diamond consonances, we want to find what generator is required in order that this pitch remains pure after tempering, or in other words, that it is an unchanged interval (sometimes called an [[eigenmonzo]]). And we want to know this for the situation where octaves are pure. | For each of these three diamond consonances, we want to find what generator is required in order that this pitch remains pure after tempering, or in other words, that it is an unchanged interval (sometimes called an [[eigenmonzo]]). And we want to know this for the situation where octaves are pure. | ||
Let's do it for 4/3 first. So, we prepare a matrix out of these two unchanged intervals, 2/1 and 4/3, and call it | Let's do it for 4/3 first. So, we prepare a matrix out of these two unchanged intervals, 2/1 and 4/3, and call it <math>U</math>: | ||
<math> | <math> | ||
Line 50: | Line 50: | ||
</math> | </math> | ||
One property of an unchanged interval of a tuning is that it is [https://mathworld.wolfram.com/Eigenvector.html eigenvector] of the projection matrix<ref>For now, the best explanation of projection matrices seems to be on the [[fractional monzo]]s page.</ref> for the tuning where the eigenvalue | One property of an unchanged interval of a tuning is that it is [https://mathworld.wolfram.com/Eigenvector.html eigenvector] of the projection matrix<ref>For now, the best explanation of projection matrices seems to be on the [[fractional monzo]]s page.</ref> for the tuning where the eigenvalue <math>λ</math> is 1. If the projection matrix is <math>P</math>, by the definition of eigenvectors, that means <math>P⋅U = λ⋅U</math>, or <math>P⋅U = 1⋅U</math>, or simply <math>P⋅U = U</math>. In other words, the projection matrix maps the interval to itself; it is unchanged by the tuning. Because we know what <math>U</math> is, we could solve for <math>P</math> now. But we don't want <math>P</math>; we want the generators. Fortunately, <math>P</math> is defined in terms of our desired generators, <math>G</math>, and our mapping, <math>M</math>, like this: <math>P = GM</math>. So if <math>P = G⋅M</math>, then we can substitute that in for <math>P</math>, and our equation will now be <math>G⋅M⋅U = U</math>. But we want to solve for our generators, so that's <math>G</math>. So if we right multiply both sides by the inverse of <math>(M⋅U)</math>, we get | ||
<math> | |||
G⋅M⋅U(MU)^{-1} = U(MU)^{-1} \\ | |||
G⋅\cancel{M⋅U}\cancel{(MU)^{-1}} = U(MU)^{-1} \\ | |||
G = U(MU)^{-1} | |||
</math> | |||
So with <math>MU</math> on the left side canceled out, the rest is busywork. | |||
We multiply <math>M⋅U</math>: | |||
<math> | <math> | ||
Line 70: | Line 78: | ||
</math> | </math> | ||
We take the inverse | We take the inverse <math>(M⋅U)^{-1}</math> (which in this case is the same): | ||
<math> | <math> | ||
Line 79: | Line 87: | ||
</math> | </math> | ||
Then find | Then find <math>G</math> which is <math>U⋅(M⋅U)^{-1}</math>: | ||
<math> | <math> | ||
Line 98: | Line 106: | ||
</math> | </math> | ||
Reading the columns from | Reading the columns from <math>G</math>, the first one confirms our period of 2/1, and the second column gives our generator 3/2. Which is unsurprising. In cents, that's 1200¢ × log₂(3/2) ≈ 701.955¢. The next unchanged interval will give a more interesting result. | ||
So let's do 5/4 now. We prepare a matrix out of these two unchanged intervals, 2/1 and 5/4, and call it | So let's do 5/4 now. We prepare a matrix out of these two unchanged intervals, 2/1 and 5/4, and call it <math>U</math>: | ||
<math> | <math> | ||
Line 110: | Line 118: | ||
</math> | </math> | ||
We multiply | We multiply <math>M⋅U</math>: | ||
<math> | <math> | ||
Line 128: | Line 136: | ||
</math> | </math> | ||
We take the inverse | We take the inverse <math>(M⋅U)^{-1}</math>: | ||
<math> | <math> | ||
Line 137: | Line 145: | ||
</math> | </math> | ||
Then find | Then find <math>G</math> which is <math>U⋅(M⋅U)^{-1}</math>: | ||
<math> | <math> | ||
Line 158: | Line 166: | ||
This tells us our generator is 5^(1/4). In cents, that's 1200¢ × log₂(5¹⸍⁴) ≈ 696.578¢. | This tells us our generator is 5^(1/4). In cents, that's 1200¢ × log₂(5¹⸍⁴) ≈ 696.578¢. | ||
Okay, one more unchanged interval to check: 6/5. We prepare a matrix out of these two unchanged intervals, 2/1 and 6/5, and call it | Okay, one more unchanged interval to check: 6/5. We prepare a matrix out of these two unchanged intervals, 2/1 and 6/5, and call it <math>U</math>: | ||
<math> | <math> | ||
Line 168: | Line 176: | ||
</math> | </math> | ||
We multiply | We multiply <math>M⋅U</math>: | ||
<math> | <math> | ||
Line 186: | Line 194: | ||
</math> | </math> | ||
We take the inverse | We take the inverse <math>(M⋅U)^{-1}</math>: | ||
<math> | <math> | ||
Line 195: | Line 203: | ||
</math> | </math> | ||
Then find | Then find <math>G</math> which is <math>U⋅(M⋅U)^{-1}</math>: | ||
<math> | <math> |