Template:Interval table: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
BudjarnLambeth (talk | contribs)
ArrowHead294 (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>{{#invoke:Interval_table|interval_table|tuning={{{1|{{PAGENAME}}}}}|additional={{{additional|}}}|max_error={{{max_error|35}}}} }}</includeonly><noinclude>
<includeonly>{{#invoke:Interval table|interval_table
| tuning={{{1|{{PAGENAME}}}}}
| additional={{{additional|}}}
| max_error={{{max_error|35}}}
}}</includeonly><noinclude>
The '''interval table''' template automatically generates a table of intervals for an [[EPD|equal pitch 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]]).
The '''interval table''' template automatically generates a table of intervals for an [[EPD|equal pitch 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]]).


== Parameters ==
{{doc}}
{|class="wikitable"
|-
! Paramater
! Description
|-
| additonal
| Additional rows and columns that can be added to the table. Columns are separated by semicolons.
|-
| max_error
| 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).
|}
 
== Examples ==
<pre>{{Interval table|12edo}}</pre>
Result:
{{Interval table|12edo}}
 
<pre>{{Interval table|12edo|threshold=0.2}}</pre>
Result:
{{Interval table|12edo|threshold=0.2}}
 
 
<pre>{{Interval table|13edo|additional=
[[26edo]] names; Fox-Raven<br>Notation (J = 360Hz)
C; J
Cx/Dbb; J#/Kb
D; K
Dx/Ebb; L
E; L#/Mb
Ex/Fb; M
F#; M#/Nb
Gb; N
G#; O
Ab; O#/Pb
A#; P
Bb; Q
B#/Cbb; Q#/Jb
C; J
}}</pre>
 
Result:
{{Interval table|13edo|additional=
[[26edo]] names; Fox-Raven<br>Notation (J = 360Hz)
C; J
Cx/Dbb; J#/Kb
D; K
Dx/Ebb; L
E; L#/Mb
Ex/Fb; M
F#; M#/Nb
Gb; N
G#; O
Ab; O#/Pb
A#; P
Bb; Q
B#/Cbb; Q#/Jb
C; J
}}
 
<pre>{{Interval table|19edo}}</pre>
Result:
{{Interval table|19edo}}
 
<pre>{{Interval table|71edo}}</pre>
Result:
{{Interval table|71edo}}
 
<pre>{{Interval table|13edt}}</pre>
Result:
{{Interval table|13edt}}
 
[[Category:Templates]]
 
</noinclude>
</noinclude>

Revision as of 18:15, 20 May 2024

The interval table template automatically generates a table of intervals for an equal pitch division system. Like most of the manual interval tables on this wiki, it includes the step number, cents, approximate JI ratios (based on the patent val mapping and discarding those which are inconsistent), and, for edos, ups and downs notation (based on Template: Ups and downs note name).

Template:Doc