Nearest just interval: Difference between revisions

Wikispaces>genewardsmith
**Imported revision 177732917 - Original comment: **
Wikispaces>genewardsmith
**Imported revision 177738501 - 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:genewardsmith|genewardsmith]] and made on <tt>2010-11-08 23:43:29 UTC</tt>.<br>
: This revision was by author [[User:genewardsmith|genewardsmith]] and made on <tt>2010-11-09 00:30:40 UTC</tt>.<br>
: The original revision id was <tt>177732917</tt>.<br>
: The original revision id was <tt>177738501</tt>.<br>
: The revision comment was: <tt></tt><br>
: 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">An irrational interval or ratio of frequencies given by a real number r has an infinite list of //nearest just intervals//; if r is rational, the list is finite, terminating in r. For arbitrary (including negative) real numbers this corresponds to what number theorists call //best rational approximations//. A ratio of integers p/q with q &gt; 0 and p and q relatively prime is a best rational approximation if there is no ratio m/n with n &lt; q which is a better approximation to r. If r is an interval of music it is positive, and both p and q are positive.  
<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">An irrational interval or ratio of frequencies given by a real number r has an infinite list of //nearest just intervals//; if r is rational, the list is finite, terminating in r. For arbitrary (including negative) real numbers this corresponds to what number theorists call //best rational approximations//. A ratio of integers p/q with q &gt; 0 and p and q relatively prime is a best rational approximation if there is no ratio m/n with n &lt; q which is a better approximation to r. If r is an interval of music it is positive, and both p and q are positive. Note that a nearest just interval is not necessarily nearest in logarithmic terms; 4/3 and 3/2 are the same distance in cents from sqrt(2) = 600 cents, but |4/3 - sqrt(2)| = .08088 whereas |3/2 - sqrt(2)| = 0.08479, which is larger.


Best rational approximations also arise in music theory logarithmically, as the best rational approximations to the logarithm base two of some number of interest such as 3/2 or 5^(1/4) is often of interest.
Best rational approximations also arise in music theory logarithmically, as the best rational approximations to the logarithm base two of some number of interest such as 3/2 or 5^(1/4) is often of interest.
Line 14: Line 14:
==Examples==
==Examples==
The 600-cent interval sqrt(2) (6 steps of [[12edo]], "Tritone") approximates following ratios:
The 600-cent interval sqrt(2) (6 steps of [[12edo]], "Tritone") approximates following ratios:
|| **freq. ratio** || **log([[Tenney Height]])** || **size** in cents || **"error"** in cents ||
|| **freq. ratio** || **log2([[Tenney Height]])** || **size** in cents || **"error"** in cents ||
|| ... || ... || ... || ... ||
|| ... || ... || ... || ... ||
||= 1 / 1 ||= 0.0 ||= 0.0 ||= 600.0||
||= 3 / 2 ||= 2.585 ||= 701.96 ||= 101.96 ||
||= 3 / 2 ||= 2.585 ||= 701.96 ||= 101.96 ||
||= 4 / 3 ||= 3.585 ||= 498.04 ||= 101.96 ||
||= 7 / 5 ||= 5.129 ||= 582.51 ||= 17.49 ||
||= 7 / 5 ||= 5.129 ||= 582.51 ||= 17.49 ||
||= 17 / 12 ||= 7.672 ||= 603.00 ||= 3.000 ||
||= 17 / 12 ||= 7.672 ||= 603.00 ||= 3.000 ||
Line 24: Line 26:
|| **freq. ratio** || **log([[Tenney Height]])** || **size** in cents || **"error"** in cents ||
|| **freq. ratio** || **log([[Tenney Height]])** || **size** in cents || **"error"** in cents ||
|| ... || ... || ... || ... ||
|| ... || ... || ... || ... ||
||= 1 / 1 ||= 0.0 ||= 0.0 ||= 300.0||
||= 6 / 5 ||= 4.907 ||= 315.64 ||= 15.64 ||
||= 6 / 5 ||= 4.907 ||= 315.64 ||= 15.64 ||
||= 13 / 11 ||= 7.160 ||= 289.21 ||= 10.79 ||
||= 19 / 16 ||= 8.248 ||= 297.51 ||= 2.49 ||
||= 19 / 16 ||= 8.248 ||= 297.51 ||= 2.49 ||
||= 25 / 21 ||= 9.036 ||= 301.84 ||= 1.84 ||
||= 25 / 21 ||= 9.036 ||= 301.84 ||= 1.84 ||
Line 30: Line 34:
</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">&lt;html&gt;&lt;head&gt;&lt;title&gt;Nearest just interval&lt;/title&gt;&lt;/head&gt;&lt;body&gt;An irrational interval or ratio of frequencies given by a real number r has an infinite list of &lt;em&gt;nearest just intervals&lt;/em&gt;; if r is rational, the list is finite, terminating in r. For arbitrary (including negative) real numbers this corresponds to what number theorists call &lt;em&gt;best rational approximations&lt;/em&gt;. A ratio of integers p/q with q &amp;gt; 0 and p and q relatively prime is a best rational approximation if there is no ratio m/n with n &amp;lt; q which is a better approximation to r. If r is an interval of music it is positive, and both p and q are positive. &lt;br /&gt;
<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">&lt;html&gt;&lt;head&gt;&lt;title&gt;Nearest just interval&lt;/title&gt;&lt;/head&gt;&lt;body&gt;An irrational interval or ratio of frequencies given by a real number r has an infinite list of &lt;em&gt;nearest just intervals&lt;/em&gt;; if r is rational, the list is finite, terminating in r. For arbitrary (including negative) real numbers this corresponds to what number theorists call &lt;em&gt;best rational approximations&lt;/em&gt;. A ratio of integers p/q with q &amp;gt; 0 and p and q relatively prime is a best rational approximation if there is no ratio m/n with n &amp;lt; q which is a better approximation to r. If r is an interval of music it is positive, and both p and q are positive. Note that a nearest just interval is not necessarily nearest in logarithmic terms; 4/3 and 3/2 are the same distance in cents from sqrt(2) = 600 cents, but |4/3 - sqrt(2)| = .08088 whereas |3/2 - sqrt(2)| = 0.08479, which is larger.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Best rational approximations also arise in music theory logarithmically, as the best rational approximations to the logarithm base two of some number of interest such as 3/2 or 5^(1/4) is often of interest.&lt;br /&gt;
Best rational approximations also arise in music theory logarithmically, as the best rational approximations to the logarithm base two of some number of interest such as 3/2 or 5^(1/4) is often of interest.&lt;br /&gt;
Line 44: Line 48:
         &lt;td&gt;&lt;strong&gt;freq. ratio&lt;/strong&gt;&lt;br /&gt;
         &lt;td&gt;&lt;strong&gt;freq. ratio&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt;
&lt;/td&gt;
         &lt;td&gt;&lt;strong&gt;log(&lt;a class="wiki_link" href="/Tenney%20Height"&gt;Tenney Height&lt;/a&gt;)&lt;/strong&gt;&lt;br /&gt;
         &lt;td&gt;&lt;strong&gt;log2(&lt;a class="wiki_link" href="/Tenney%20Height"&gt;Tenney Height&lt;/a&gt;)&lt;/strong&gt;&lt;br /&gt;
&lt;/td&gt;
&lt;/td&gt;
         &lt;td&gt;&lt;strong&gt;size&lt;/strong&gt; in cents&lt;br /&gt;
         &lt;td&gt;&lt;strong&gt;size&lt;/strong&gt; in cents&lt;br /&gt;
Line 59: Line 63:
&lt;/td&gt;
&lt;/td&gt;
         &lt;td&gt;...&lt;br /&gt;
         &lt;td&gt;...&lt;br /&gt;
&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td style="text-align: center;"&gt;1 / 1&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;0.0&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;0.0&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;600.0&lt;br /&gt;
&lt;/td&gt;
&lt;/td&gt;
     &lt;/tr&gt;
     &lt;/tr&gt;
Line 67: Line 81:
&lt;/td&gt;
&lt;/td&gt;
         &lt;td style="text-align: center;"&gt;701.96&lt;br /&gt;
         &lt;td style="text-align: center;"&gt;701.96&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;101.96&lt;br /&gt;
&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td style="text-align: center;"&gt;4 / 3&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;3.585&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;498.04&lt;br /&gt;
&lt;/td&gt;
&lt;/td&gt;
         &lt;td style="text-align: center;"&gt;101.96&lt;br /&gt;
         &lt;td style="text-align: center;"&gt;101.96&lt;br /&gt;
Line 126: Line 150:
&lt;/td&gt;
&lt;/td&gt;
         &lt;td&gt;...&lt;br /&gt;
         &lt;td&gt;...&lt;br /&gt;
&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td style="text-align: center;"&gt;1 / 1&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;0.0&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;0.0&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;300.0&lt;br /&gt;
&lt;/td&gt;
&lt;/td&gt;
     &lt;/tr&gt;
     &lt;/tr&gt;
Line 136: Line 170:
&lt;/td&gt;
&lt;/td&gt;
         &lt;td style="text-align: center;"&gt;15.64&lt;br /&gt;
         &lt;td style="text-align: center;"&gt;15.64&lt;br /&gt;
&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td style="text-align: center;"&gt;13 / 11&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;7.160&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;289.21&lt;br /&gt;
&lt;/td&gt;
        &lt;td style="text-align: center;"&gt;10.79&lt;br /&gt;
&lt;/td&gt;
&lt;/td&gt;
     &lt;/tr&gt;
     &lt;/tr&gt;