Template:Interval table/doc: Difference between revisions

BudjarnLambeth (talk | contribs)
m Examples: changed the threshold example so that it actually shows off the functionality
Overthink (talk | contribs)
updates
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{dochead}}
{{Dochead}}{{Substitute}}
The '''interval table''' template automatically generates a table of intervals for an [[equal division]] system. Like most of the manual interval tables on this wiki, it includes the step number, [[cent]]s, approximate [[JI]] [[ratio]]s (based on the [[patent val]] [[mapping]] and discarding those which are [[consistency|inconsistent]]), and, for [[edo]]s, [[ups and downs notation]] (based on [[Template: Ups and downs note name]]).
 
Pages using this template will be added to [[:Category: Todo:replace auto-generated table of intervals with manually curated table]], unless a value is entered for the <code>debug</code> parameter.
 
=== Parameters ===
=== Parameters ===
; <code>additonal</code>
; <code>additonal</code>
Line 5: Line 9:


; <code>max_error</code>
; <code>max_error</code>
: Changes the maximum error cutoff for approximate ratios in cents. The default is 2/5 of an edo step. If the tuning is not an edo (e.g. 12edf), then it will use 2/5 of an edo step of the same-numbered edo (e.g. 12edo).
: Not currently working. Changes the maximum error cutoff for approximate ratios in cents.
 
; <code>debug</code>
: Renders the table in wikitext with highlighting. The table still shows up as normal if <code>subst:</code> is used, except that the page will not be added to the hidden category.


=== Examples ===
=== Examples ===
<pre>{{Interval table|12edo}}</pre>
<pre>{{Interval table|12edo}}</pre>
Result:
Result:
{{Interval table|12edo}}
{{{{ROOTPAGENAME}}|12edo}}
 
<pre>{{Interval table|12edo|threshold=0.1}}</pre>
Result:
{{Interval table|12edo|threshold=0.1}}


<pre>{{Interval table|13edo|additional=
<pre>{{Interval table|13edo|additional=
Line 35: Line 38:


Result:
Result:
{{Interval table|13edo|additional=
{{{{ROOTPAGENAME}}|13edo|additional=
[[26edo]] names; Fox-Raven<br>Notation (J = 360Hz)
[[26edo]] names; Fox-Raven<br>Notation (J = 360Hz)
C; J
C; J
Line 53: Line 56:
}}
}}


<pre>{{Interval table|19edo}}</pre>
<pre>{{Interval table|13edt}}</pre>
Result:
Result:
{{Interval table|19edo}}
{{{{ROOTPAGENAME}}|13edt}}
 
 
<pre>{{Interval table|36edo}}</pre>
Result:
{{{{ROOTPAGENAME}}|36edo}}
 
<pre>{{Interval table|60edo}}</pre>
Result:
{{{{ROOTPAGENAME}}|60edo}}


<pre>{{Interval table|71edo}}</pre>
<pre>{{Interval table|71edo}}</pre>
Result:
Result:
{{Interval table|71edo}}
{{{{ROOTPAGENAME}}|71edo}}


<pre>{{Interval table|13edt}}</pre>
<pre>{{Interval table|84edo}}</pre>
Result:
Result:
{{Interval table|13edt}}
{{{{ROOTPAGENAME}}|84edo}}


=== See also ===
<pre>{{Interval table|108edo}}</pre>
* {{modlink}}
Result:
{{{{ROOTPAGENAME}}|108edo}}