Template:Interval table: Difference between revisions

CompactStar (talk | contribs)
No edit summary
CompactStar (talk | contribs)
I might add a relative error threshold
Line 1: Line 1:
<includeonly>{{#invoke:Interval_table|interval_table|tuning={{{1|{{PAGENAME}}}}}|additional={{{additional|}}} }}</includeonly><noinclude>
<includeonly>{{#invoke:Interval_table|interval_table|tuning={{{1|{{PAGENAME}}}}}|additional={{{additional|}}} }}</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 [[inconsistent]] approximations), 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 [[inconsistent]]), and, for [[edo]]s, [[ups and downs notation]] (based on [[Template: Ups and downs note name]]).


== Parameters ==
== Parameters ==
Line 10: Line 10:
| additonal
| additonal
| Additional rows and columns that can be added to the table. Columns are separated by semicolons.
| Additional rows and columns that can be added to the table. Columns are separated by semicolons.
|-
| threshold
| Allows to change the relative error threshold from 50% (0.5 would be the default 50%).
|}
|}


Line 16: Line 19:
Result:
Result:
{{Interval table|12edo}}
{{Interval table|12edo}}
<pre>{{Interval table|12edo|threshold=0.2}}</pre>
Result:
{{Interval table|12edo|threshold=0.2}}


<pre>{{Interval table|13edo|additional=
<pre>{{Interval table|13edo|additional=