Tenney–Euclidean tuning: Difference between revisions
Wikispaces>xenwolf **Imported revision 237271335 - Original comment: **x** replaced by × (the HTML entity is ×)** |
Wikispaces>genewardsmith **Imported revision 238733329 - Original comment: ** |
||
| Line 1: | Line 1: | ||
<h2>IMPORTED REVISION FROM WIKISPACES</h2> | <h2>IMPORTED REVISION FROM WIKISPACES</h2> | ||
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br> | This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br> | ||
: This revision was by author [[User: | : This revision was by author [[User:genewardsmith|genewardsmith]] and made on <tt>2011-06-25 16:58:07 UTC</tt>.<br> | ||
: The original revision id was <tt> | : The original revision id was <tt>238733329</tt>.<br> | ||
: The revision comment was: <tt> | : The revision comment was: <tt></tt><br> | ||
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br> | The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br> | ||
<h4>Original Wikitext content:</h4> | <h4>Original Wikitext content:</h4> | ||
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;white-space: pre-wrap ! important" class="old-revision-html"> | <div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;white-space: pre-wrap ! important" class="old-revision-html">[[toc|flat]] | ||
Tenney-Euclidean tuning is a variant of [[TOP tuning]] which employs the [[Tenney-Euclidean metrics|TE norm]]. While there are theoretical arguments favoring TOP, the advantages of using a Euclidean norm provides a powerful argument in favor of TE tuning. | |||
=Temperaments= | |||
If we have k linearly independent [[Vals and Tuning Space|vals]] of dimension n, they will span a subspace of [[Vals and Tuning Space|tuning space]]. This subspace defines a regular temperament of rank k in the prime limit p, where p is the nth prime. Similarly, starting from n-k independent commas for the same regular temperament, the corresponding monzos span an n-k dimensional subspace of [[Monzos and Interval Space|interval space]]. Both the subspace of tuning space and the subspace of interval space characterize the temperament completely. | If we have k linearly independent [[Vals and Tuning Space|vals]] of dimension n, they will span a subspace of [[Vals and Tuning Space|tuning space]]. This subspace defines a regular temperament of rank k in the prime limit p, where p is the nth prime. Similarly, starting from n-k independent commas for the same regular temperament, the corresponding monzos span an n-k dimensional subspace of [[Monzos and Interval Space|interval space]]. Both the subspace of tuning space and the subspace of interval space characterize the temperament completely. | ||
A question then arises as to how to choose a specific tuning for this temperament, which is the same as asking how to choose a point (vector) in this subspace of tuning space which provides a good tuning. One answer to this is RMS tuning. | A question then arises as to how to choose a specific tuning for this temperament, which is the same as asking how to choose a point (vector) in this subspace of tuning space which provides a good tuning. One answer to this is RMS tuning. | ||
=TE tuning= | |||
If we put the (weighted) Euclidean metric on tuning space, leading to TE tuning space in weighted coordinates, it is easy to find the nearest point in the subspace to the JI point <1 1 ... 1|, and this closest point will define a tuning map which is called TE tuning (or TOP-RMS), a tuning which has been extensively studied by [[Graham Breed]]. We may also keep unweighted coordinates and use the TE norm on tuning space; in these coordinates the JI point is <1 log2(3) ... log2(p)|. The two approaches are equivalent. | If we put the (weighted) Euclidean metric on tuning space, leading to TE tuning space in weighted coordinates, it is easy to find the nearest point in the subspace to the JI point <1 1 ... 1|, and this closest point will define a tuning map which is called TE tuning (or TOP-RMS), a tuning which has been extensively studied by [[Graham Breed]]. We may also keep unweighted coordinates and use the TE norm on tuning space; in these coordinates the JI point is <1 log2(3) ... log2(p)|. The two approaches are equivalent. | ||
One way to find this tuning is to use k parameters times the vals, leading to a parametrization of the subspace, and then to find the nearest point by least squares, differentiating the square of the distance to the JI point and solving the resulting linear equations. Another is to use the [[http://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_pseudoinverse|Moore-Penrose pseudoinverse]]. | One way to find this tuning is to use k parameters times the vals, leading to a parametrization of the subspace, and then to find the nearest point by least squares, differentiating the square of the distance to the JI point and solving the resulting linear equations. Another is to use the [[http://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_pseudoinverse|Moore-Penrose pseudoinverse]]. | ||
=The pseudoinverse= | |||
If A is an m×n matrix with real entries, and if we denote the pseudoinverse by A`, then it is defined as the n×m matrix such that | If A is an m×n matrix with real entries, and if we denote the pseudoinverse by A`, then it is defined as the n×m matrix such that | ||
# AA`A = A. Hence, AA` maps the rows of A to itself and A`A the columns of A to itself. | # AA`A = A. Hence, AA` maps the rows of A to itself and A`A the columns of A to itself. | ||
| Line 35: | Line 37: | ||
* uA` is the nearest point to u in the subspace spanned by the rows of A; A`v is the nearest point to v in the space spanned by the columns of A. | * uA` is the nearest point to u in the subspace spanned by the rows of A; A`v is the nearest point to v in the space spanned by the columns of A. | ||
=Computing TE tuning using pseudoinverses= | |||
Suppose V is a matrix whose rows consist of vals in the weighted basis. No assumption need be made that the rows are linearly independent or that the vals are free of [Saturation|contorsion]. If J is the JI point, <1 1 ... 1|, then JV` gives the TE tuning in the sense that it gives (not necessarily independent) generators which correspond to the rows of V. How many of each generator to take to map a rational number contained in the prime limit in question is determined by applying the val corresponding to the generator to the rational number. | Suppose V is a matrix whose rows consist of vals in the weighted basis. No assumption need be made that the rows are linearly independent or that the vals are free of [Saturation|contorsion]. If J is the JI point, <1 1 ... 1|, then JV` gives the TE tuning in the sense that it gives (not necessarily independent) generators which correspond to the rows of V. How many of each generator to take to map a rational number contained in the prime limit in question is determined by applying the val corresponding to the generator to the rational number. | ||
| Line 42: | Line 44: | ||
We may find the same projection map starting from a list of weighted monzos rather than vals. If M is a rank n matrix whose rows are weighted monzos, and I is the nxn identity matrix, then P = I - M`M is the same projection map as V`V so long as the temperament defined by the vals is the same as the temperament defined by the monzos. Again, it is irrelevant if the monzos are independent or how many of them there are. | We may find the same projection map starting from a list of weighted monzos rather than vals. If M is a rank n matrix whose rows are weighted monzos, and I is the nxn identity matrix, then P = I - M`M is the same projection map as V`V so long as the temperament defined by the vals is the same as the temperament defined by the monzos. Again, it is irrelevant if the monzos are independent or how many of them there are. | ||
=Pure octaves TE tuning= | |||
If T = JP is the TE tuning map, then a corresponding pure-octaves map can be found by [[http://en.wikipedia.org/wiki/Scalar_multiplication|scalar multiplication]], T/T[1], where T[1], the first entry, is the tuning of 2. The justification for this is that T does not only define a point, but a line through the origin lying in the subspace defining the temperament, or in other words, a point in the linear subspace of projective space corresponding to the temperament, and hence is a projective object. Another way to say this is that T defines not only the closest point to J, but the closest direction in terms of angular measure between the line through T and the line through J. We may call pure-octaves Tenney-Euclidean tuning the [[POTE tuning]]. | If T = JP is the TE tuning map, then a corresponding pure-octaves map can be found by [[http://en.wikipedia.org/wiki/Scalar_multiplication|scalar multiplication]], T/T[1], where T[1], the first entry, is the tuning of 2. The justification for this is that T does not only define a point, but a line through the origin lying in the subspace defining the temperament, or in other words, a point in the linear subspace of projective space corresponding to the temperament, and hence is a projective object. Another way to say this is that T defines not only the closest point to J, but the closest direction in terms of angular measure between the line through T and the line through J. We may call pure-octaves Tenney-Euclidean tuning the [[POTE tuning]]. | ||
=The Frobenius projection map= | |||
We may also do the same things starting from unweighted vals. This leads to a different tuning, the [[Fractional monzos|Frobenius tuning]], which is perfectly functional but has less theoretical justification than TE tuning. However, if greater weight needs to be attached to the larger primes than TE tuning attaches, Frobenius tuning may be preferred; people who feel that larger primes require more tuning care than smaller ones may well prefer it. However the main value of unweighted vals is that the pseudoinverse and projection map have rational entries, so that the rows of the matrix are [[Fractional monzos|fractional monzos]]. The Frobenius projection map therefore, like the [[Wedgies and Multivals|wedgie]], defines a completely canonical object not depending on any arbitrary definition (eg how Hermite normal form or LLL reduction is specifically defined) which corresponds 1-1 with temperaments, and which does not depend on whether the monzos or vals from which it is computed are [[Saturation|saturated]]. It may be found starting either from a set of vals or a set of commas, since if Q is the projection map found by treating monzos in the same way as vals, P = I-Q is the same projection map as would be found if starting from a set of vals defining the same temperament. | We may also do the same things starting from unweighted vals. This leads to a different tuning, the [[Fractional monzos|Frobenius tuning]], which is perfectly functional but has less theoretical justification than TE tuning. However, if greater weight needs to be attached to the larger primes than TE tuning attaches, Frobenius tuning may be preferred; people who feel that larger primes require more tuning care than smaller ones may well prefer it. However the main value of unweighted vals is that the pseudoinverse and projection map have rational entries, so that the rows of the matrix are [[Fractional monzos|fractional monzos]]. The Frobenius projection map therefore, like the [[Wedgies and Multivals|wedgie]], defines a completely canonical object not depending on any arbitrary definition (eg how Hermite normal form or LLL reduction is specifically defined) which corresponds 1-1 with temperaments, and which does not depend on whether the monzos or vals from which it is computed are [[Saturation|saturated]]. It may be found starting either from a set of vals or a set of commas, since if Q is the projection map found by treating monzos in the same way as vals, P = I-Q is the same projection map as would be found if starting from a set of vals defining the same temperament. | ||
| Line 52: | Line 54: | ||
If the vals defining V are linearly independent, then P = V*(VV*)^(-1)V. I the rows of M are independent, then we likewise have P = I - M*(MM*)^(-1)M. | If the vals defining V are linearly independent, then P = V*(VV*)^(-1)V. I the rows of M are independent, then we likewise have P = I - M*(MM*)^(-1)M. | ||
=Examples= | |||
The val for 5-limit 12et is <12 19 28|. In weighted coordinates, that becomes v12 = <12 19/log2(3) 28/log2(5)| ~ <12.0 11.988 12.059|. If we take this to be a 1x3 matrix and take the pseudoinverse, we get the 3x1 matrix v12` ~ [|0.027706 0.027677 0.027842|]. Then P = v12`v12 is a projection map onto the one-dimensional subspace whose single basis vector is v12. We find that v12P equals v12; on the other hand, if we take the monzo for 81/80, which is |-4 4 -1> and monzo-weight it to <-4 4log2(3) - log2(5)| and multiply (either side, the matrix is symmetric) by P, we get the zero vector, corresponding to the unison. | The val for 5-limit 12et is <12 19 28|. In weighted coordinates, that becomes v12 = <12 19/log2(3) 28/log2(5)| ~ <12.0 11.988 12.059|. If we take this to be a 1x3 matrix and take the pseudoinverse, we get the 3x1 matrix v12` ~ [|0.027706 0.027677 0.027842|]. Then P = v12`v12 is a projection map onto the one-dimensional subspace whose single basis vector is v12. We find that v12P equals v12; on the other hand, if we take the monzo for 81/80, which is |-4 4 -1> and monzo-weight it to <-4 4log2(3) - log2(5)| and multiply (either side, the matrix is symmetric) by P, we get the zero vector, corresponding to the unison. | ||
| Line 79: | Line 81: | ||
This sends monzos for 50/49, 64/63 etc to the unison monzo, and vals for 10et, 12et and 22et to themselves. | This sends monzos for 50/49, 64/63 etc to the unison monzo, and vals for 10et, 12et and 22et to themselves. | ||
</pre></div> | </pre></div> | ||
<h4>Original HTML content:</h4> | <h4>Original HTML content:</h4> | ||
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;width:200%;white-space: pre-wrap ! important" class="old-revision-html"><html><head><title>Tenney-Euclidean Tuning</title></head><body>Tenney-Euclidean tuning is a variant of <a class="wiki_link" href="/TOP%20tuning">TOP tuning</a> which employs the <a class="wiki_link" href="/Tenney-Euclidean%20metrics">TE norm</a>. While there are theoretical arguments favoring TOP, the advantages of using a Euclidean norm provides a powerful argument in favor of TE tuning.<br /> | <div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;width:200%;white-space: pre-wrap ! important" class="old-revision-html"><html><head><title>Tenney-Euclidean Tuning</title></head><body><!-- ws:start:WikiTextTocRule:14:&lt;img id=&quot;wikitext@@toc@@flat&quot; class=&quot;WikiMedia WikiMediaTocFlat&quot; title=&quot;Table of Contents&quot; src=&quot;/site/embedthumbnail/toc/flat?w=100&amp;h=16&quot;/&gt; --><!-- ws:end:WikiTextTocRule:14 --><!-- ws:start:WikiTextTocRule:15: --><a href="#Temperaments">Temperaments</a><!-- ws:end:WikiTextTocRule:15 --><!-- ws:start:WikiTextTocRule:16: --> | <a href="#TE tuning">TE tuning</a><!-- ws:end:WikiTextTocRule:16 --><!-- ws:start:WikiTextTocRule:17: --> | <a href="#The pseudoinverse">The pseudoinverse</a><!-- ws:end:WikiTextTocRule:17 --><!-- ws:start:WikiTextTocRule:18: --> | <a href="#Computing TE tuning using pseudoinverses">Computing TE tuning using pseudoinverses</a><!-- ws:end:WikiTextTocRule:18 --><!-- ws:start:WikiTextTocRule:19: --> | <a href="#Pure octaves TE tuning">Pure octaves TE tuning</a><!-- ws:end:WikiTextTocRule:19 --><!-- ws:start:WikiTextTocRule:20: --> | <a href="#The Frobenius projection map">The Frobenius projection map</a><!-- ws:end:WikiTextTocRule:20 --><!-- ws:start:WikiTextTocRule:21: --> | <a href="#Examples">Examples</a><!-- ws:end:WikiTextTocRule:21 --><!-- ws:start:WikiTextTocRule:22: --> | ||
<!-- ws:end:WikiTextTocRule:22 --><br /> | |||
Tenney-Euclidean tuning is a variant of <a class="wiki_link" href="/TOP%20tuning">TOP tuning</a> which employs the <a class="wiki_link" href="/Tenney-Euclidean%20metrics">TE norm</a>. While there are theoretical arguments favoring TOP, the advantages of using a Euclidean norm provides a powerful argument in favor of TE tuning.<br /> | |||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule:0:&lt; | <!-- ws:start:WikiTextHeadingRule:0:&lt;h1&gt; --><h1 id="toc0"><a name="Temperaments"></a><!-- ws:end:WikiTextHeadingRule:0 -->Temperaments</h1> | ||
If we have k linearly independent <a class="wiki_link" href="/Vals%20and%20Tuning%20Space">vals</a> of dimension n, they will span a subspace of <a class="wiki_link" href="/Vals%20and%20Tuning%20Space">tuning space</a>. This subspace defines a regular temperament of rank k in the prime limit p, where p is the nth prime. Similarly, starting from n-k independent commas for the same regular temperament, the corresponding monzos span an n-k dimensional subspace of <a class="wiki_link" href="/Monzos%20and%20Interval%20Space">interval space</a>. Both the subspace of tuning space and the subspace of interval space characterize the temperament completely.<br /> | If we have k linearly independent <a class="wiki_link" href="/Vals%20and%20Tuning%20Space">vals</a> of dimension n, they will span a subspace of <a class="wiki_link" href="/Vals%20and%20Tuning%20Space">tuning space</a>. This subspace defines a regular temperament of rank k in the prime limit p, where p is the nth prime. Similarly, starting from n-k independent commas for the same regular temperament, the corresponding monzos span an n-k dimensional subspace of <a class="wiki_link" href="/Monzos%20and%20Interval%20Space">interval space</a>. Both the subspace of tuning space and the subspace of interval space characterize the temperament completely.<br /> | ||
<br /> | <br /> | ||
A question then arises as to how to choose a specific tuning for this temperament, which is the same as asking how to choose a point (vector) in this subspace of tuning space which provides a good tuning. One answer to this is RMS tuning.<br /> | A question then arises as to how to choose a specific tuning for this temperament, which is the same as asking how to choose a point (vector) in this subspace of tuning space which provides a good tuning. One answer to this is RMS tuning.<br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule:2:&lt; | <!-- ws:start:WikiTextHeadingRule:2:&lt;h1&gt; --><h1 id="toc1"><a name="TE tuning"></a><!-- ws:end:WikiTextHeadingRule:2 -->TE tuning</h1> | ||
If we put the (weighted) Euclidean metric on tuning space, leading to TE tuning space in weighted coordinates, it is easy to find the nearest point in the subspace to the JI point &lt;1 1 ... 1|, and this closest point will define a tuning map which is called TE tuning (or TOP-RMS), a tuning which has been extensively studied by <a class="wiki_link" href="/Graham%20Breed">Graham Breed</a>. We may also keep unweighted coordinates and use the TE norm on tuning space; in these coordinates the JI point is &lt;1 log2(3) ... log2(p)|. The two approaches are equivalent.<br /> | If we put the (weighted) Euclidean metric on tuning space, leading to TE tuning space in weighted coordinates, it is easy to find the nearest point in the subspace to the JI point &lt;1 1 ... 1|, and this closest point will define a tuning map which is called TE tuning (or TOP-RMS), a tuning which has been extensively studied by <a class="wiki_link" href="/Graham%20Breed">Graham Breed</a>. We may also keep unweighted coordinates and use the TE norm on tuning space; in these coordinates the JI point is &lt;1 log2(3) ... log2(p)|. The two approaches are equivalent.<br /> | ||
<br /> | <br /> | ||
One way to find this tuning is to use k parameters times the vals, leading to a parametrization of the subspace, and then to find the nearest point by least squares, differentiating the square of the distance to the JI point and solving the resulting linear equations. Another is to use the <a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_pseudoinverse" rel="nofollow">Moore-Penrose pseudoinverse</a>. <br /> | One way to find this tuning is to use k parameters times the vals, leading to a parametrization of the subspace, and then to find the nearest point by least squares, differentiating the square of the distance to the JI point and solving the resulting linear equations. Another is to use the <a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_pseudoinverse" rel="nofollow">Moore-Penrose pseudoinverse</a>. <br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule:4:&lt; | <!-- ws:start:WikiTextHeadingRule:4:&lt;h1&gt; --><h1 id="toc2"><a name="The pseudoinverse"></a><!-- ws:end:WikiTextHeadingRule:4 -->The pseudoinverse</h1> | ||
If A is an m×n matrix with real entries, and if we denote the pseudoinverse by A`, then it is defined as the n×m matrix such that<br /> | If A is an m×n matrix with real entries, and if we denote the pseudoinverse by A`, then it is defined as the n×m matrix such that<br /> | ||
<ol><li>AA`A = A. Hence, AA` maps the rows of A to itself and A`A the columns of A to itself.</li><li>A`AA` = A</li><li>A`A and AA` are symmetric matrices</li></ol><br /> | <ol><li>AA`A = A. Hence, AA` maps the rows of A to itself and A`A the columns of A to itself.</li><li>A`AA` = A</li><li>A`A and AA` are symmetric matrices</li></ol><br /> | ||
From these properties it can be deduced that<br /> | From these properties it can be deduced that<br /> | ||
<ul><li>If A is invertible, its inverse is A`</li><li>If A has rational entries, so does A`</li><li>A`` = A</li><li>The pseudoinverse of the transpose is the transpose of the pseudoinverse</li><li>AA` is the orthogonal projection map onto the space spanned by the columns of A</li><li>A`A is the orthogonal projection map onto the space spanned by the rows of A</li><li>I - A`A, where I is the identity matrix, is the orthogonal projection map onto the kernel, or null space, of A</li><li>If the rows of A are linearly independent, then A` = A*(AA*)^(-1), where A* is the transpose of A. This means the pseudoinverse can be found in this important special case by people who don't have a pseudoinverse routine available by using a matrix inverse routine.</li><li>uA` is the nearest point to u in the subspace spanned by the rows of A; A`v is the nearest point to v in the space spanned by the columns of A.</li></ul><br /> | <ul><li>If A is invertible, its inverse is A`</li><li>If A has rational entries, so does A`</li><li>A`` = A</li><li>The pseudoinverse of the transpose is the transpose of the pseudoinverse</li><li>AA` is the orthogonal projection map onto the space spanned by the columns of A</li><li>A`A is the orthogonal projection map onto the space spanned by the rows of A</li><li>I - A`A, where I is the identity matrix, is the orthogonal projection map onto the kernel, or null space, of A</li><li>If the rows of A are linearly independent, then A` = A*(AA*)^(-1), where A* is the transpose of A. This means the pseudoinverse can be found in this important special case by people who don't have a pseudoinverse routine available by using a matrix inverse routine.</li><li>uA` is the nearest point to u in the subspace spanned by the rows of A; A`v is the nearest point to v in the space spanned by the columns of A.</li></ul><br /> | ||
<!-- ws:start:WikiTextHeadingRule:6:&lt; | <!-- ws:start:WikiTextHeadingRule:6:&lt;h1&gt; --><h1 id="toc3"><a name="Computing TE tuning using pseudoinverses"></a><!-- ws:end:WikiTextHeadingRule:6 -->Computing TE tuning using pseudoinverses</h1> | ||
Suppose V is a matrix whose rows consist of vals in the weighted basis. No assumption need be made that the rows are linearly independent or that the vals are free of [Saturation|contorsion]. If J is the JI point, &lt;1 1 ... 1|, then JV` gives the TE tuning in the sense that it gives (not necessarily independent) generators which correspond to the rows of V. How many of each generator to take to map a rational number contained in the prime limit in question is determined by applying the val corresponding to the generator to the rational number.<br /> | Suppose V is a matrix whose rows consist of vals in the weighted basis. No assumption need be made that the rows are linearly independent or that the vals are free of [Saturation|contorsion]. If J is the JI point, &lt;1 1 ... 1|, then JV` gives the TE tuning in the sense that it gives (not necessarily independent) generators which correspond to the rows of V. How many of each generator to take to map a rational number contained in the prime limit in question is determined by applying the val corresponding to the generator to the rational number.<br /> | ||
<br /> | <br /> | ||
| Line 107: | Line 109: | ||
We may find the same projection map starting from a list of weighted monzos rather than vals. If M is a rank n matrix whose rows are weighted monzos, and I is the nxn identity matrix, then P = I - M`M is the same projection map as V`V so long as the temperament defined by the vals is the same as the temperament defined by the monzos. Again, it is irrelevant if the monzos are independent or how many of them there are.<br /> | We may find the same projection map starting from a list of weighted monzos rather than vals. If M is a rank n matrix whose rows are weighted monzos, and I is the nxn identity matrix, then P = I - M`M is the same projection map as V`V so long as the temperament defined by the vals is the same as the temperament defined by the monzos. Again, it is irrelevant if the monzos are independent or how many of them there are.<br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule:8:&lt; | <!-- ws:start:WikiTextHeadingRule:8:&lt;h1&gt; --><h1 id="toc4"><a name="Pure octaves TE tuning"></a><!-- ws:end:WikiTextHeadingRule:8 -->Pure octaves TE tuning</h1> | ||
If T = JP is the TE tuning map, then a corresponding pure-octaves map can be found by <a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Scalar_multiplication" rel="nofollow">scalar multiplication</a>, T/T[1], where T[1], the first entry, is the tuning of 2. The justification for this is that T does not only define a point, but a line through the origin lying in the subspace defining the temperament, or in other words, a point in the linear subspace of projective space corresponding to the temperament, and hence is a projective object. Another way to say this is that T defines not only the closest point to J, but the closest direction in terms of angular measure between the line through T and the line through J. We may call pure-octaves Tenney-Euclidean tuning the <a class="wiki_link" href="/POTE%20tuning">POTE tuning</a>.<br /> | If T = JP is the TE tuning map, then a corresponding pure-octaves map can be found by <a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Scalar_multiplication" rel="nofollow">scalar multiplication</a>, T/T[1], where T[1], the first entry, is the tuning of 2. The justification for this is that T does not only define a point, but a line through the origin lying in the subspace defining the temperament, or in other words, a point in the linear subspace of projective space corresponding to the temperament, and hence is a projective object. Another way to say this is that T defines not only the closest point to J, but the closest direction in terms of angular measure between the line through T and the line through J. We may call pure-octaves Tenney-Euclidean tuning the <a class="wiki_link" href="/POTE%20tuning">POTE tuning</a>.<br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule:10:&lt; | <!-- ws:start:WikiTextHeadingRule:10:&lt;h1&gt; --><h1 id="toc5"><a name="The Frobenius projection map"></a><!-- ws:end:WikiTextHeadingRule:10 -->The Frobenius projection map</h1> | ||
We may also do the same things starting from unweighted vals. This leads to a different tuning, the <a class="wiki_link" href="/Fractional%20monzos">Frobenius tuning</a>, which is perfectly functional but has less theoretical justification than TE tuning. However, if greater weight needs to be attached to the larger primes than TE tuning attaches, Frobenius tuning may be preferred; people who feel that larger primes require more tuning care than smaller ones may well prefer it. However the main value of unweighted vals is that the pseudoinverse and projection map have rational entries, so that the rows of the matrix are <a class="wiki_link" href="/Fractional%20monzos">fractional monzos</a>. The Frobenius projection map therefore, like the <a class="wiki_link" href="/Wedgies%20and%20Multivals">wedgie</a>, defines a completely canonical object not depending on any arbitrary definition (eg how Hermite normal form or LLL reduction is specifically defined) which corresponds 1-1 with temperaments, and which does not depend on whether the monzos or vals from which it is computed are <a class="wiki_link" href="/Saturation">saturated</a>. It may be found starting either from a set of vals or a set of commas, since if Q is the projection map found by treating monzos in the same way as vals, P = I-Q is the same projection map as would be found if starting from a set of vals defining the same temperament.<br /> | We may also do the same things starting from unweighted vals. This leads to a different tuning, the <a class="wiki_link" href="/Fractional%20monzos">Frobenius tuning</a>, which is perfectly functional but has less theoretical justification than TE tuning. However, if greater weight needs to be attached to the larger primes than TE tuning attaches, Frobenius tuning may be preferred; people who feel that larger primes require more tuning care than smaller ones may well prefer it. However the main value of unweighted vals is that the pseudoinverse and projection map have rational entries, so that the rows of the matrix are <a class="wiki_link" href="/Fractional%20monzos">fractional monzos</a>. The Frobenius projection map therefore, like the <a class="wiki_link" href="/Wedgies%20and%20Multivals">wedgie</a>, defines a completely canonical object not depending on any arbitrary definition (eg how Hermite normal form or LLL reduction is specifically defined) which corresponds 1-1 with temperaments, and which does not depend on whether the monzos or vals from which it is computed are <a class="wiki_link" href="/Saturation">saturated</a>. It may be found starting either from a set of vals or a set of commas, since if Q is the projection map found by treating monzos in the same way as vals, P = I-Q is the same projection map as would be found if starting from a set of vals defining the same temperament.<br /> | ||
<br /> | <br /> | ||
| Line 117: | Line 119: | ||
If the vals defining V are linearly independent, then P = V*(VV*)^(-1)V. I the rows of M are independent, then we likewise have P = I - M*(MM*)^(-1)M.<br /> | If the vals defining V are linearly independent, then P = V*(VV*)^(-1)V. I the rows of M are independent, then we likewise have P = I - M*(MM*)^(-1)M.<br /> | ||
<br /> | <br /> | ||
<!-- ws:start:WikiTextHeadingRule:12:&lt; | <!-- ws:start:WikiTextHeadingRule:12:&lt;h1&gt; --><h1 id="toc6"><a name="Examples"></a><!-- ws:end:WikiTextHeadingRule:12 -->Examples</h1> | ||
The val for 5-limit 12et is &lt;12 19 28|. In weighted coordinates, that becomes v12 = &lt;12 19/log2(3) 28/log2(5)| ~ &lt;12.0 11.988 12.059|. If we take this to be a 1x3 matrix and take the pseudoinverse, we get the 3x1 matrix v12` ~ [|0.027706 0.027677 0.027842|]. Then P = v12`v12 is a projection map onto the one-dimensional subspace whose single basis vector is v12. We find that v12P equals v12; on the other hand, if we take the monzo for 81/80, which is |-4 4 -1&gt; and monzo-weight it to &lt;-4 4log2(3) - log2(5)| and multiply (either side, the matrix is symmetric) by P, we get the zero vector, corresponding to the unison.<br /> | The val for 5-limit 12et is &lt;12 19 28|. In weighted coordinates, that becomes v12 = &lt;12 19/log2(3) 28/log2(5)| ~ &lt;12.0 11.988 12.059|. If we take this to be a 1x3 matrix and take the pseudoinverse, we get the 3x1 matrix v12` ~ [|0.027706 0.027677 0.027842|]. Then P = v12`v12 is a projection map onto the one-dimensional subspace whose single basis vector is v12. We find that v12P equals v12; on the other hand, if we take the monzo for 81/80, which is |-4 4 -1&gt; and monzo-weight it to &lt;-4 4log2(3) - log2(5)| and multiply (either side, the matrix is symmetric) by P, we get the zero vector, corresponding to the unison.<br /> | ||
<br /> | <br /> | ||