Template:Infobox interval/doc: Difference between revisions
Harmonic entropy is now hidden by default |
m Update on terminology |
||
| Line 5: | Line 5: | ||
The template should be placed at the beginning of an interval page. There are three different ways to use this template: | The template should be placed at the beginning of an interval page. There are three different ways to use this template: | ||
* Small ratios: <code><nowiki>{{Infobox Interval}}</nowiki></code> (the ratio is inferred from page name), <code><nowiki>{{Infobox Interval|7/4}}</nowiki></code>, <code><nowiki>{{Infobox Interval|Ratio=7/4}}</nowiki></code>. | * Small ratios: <code><nowiki>{{Infobox Interval}}</nowiki></code> (the ratio is inferred from page name), <code><nowiki>{{Infobox Interval|7/4}}</nowiki></code>, <code><nowiki>{{Infobox Interval|Ratio=7/4}}</nowiki></code>. | ||
** When use this form? In most cases, whenever both numerator and denominator of the ratio are small enough to fit within Lua numbers as integers. You should not encounter any problems with integers up to {{nowrap| | ** When use this form? In most cases, whenever both numerator and denominator of the ratio are small enough to fit within Lua numbers as integers. You should not encounter any problems with integers up to {{nowrap| <sup>32</sup> − 1 }}, and you might happen to not encounter any problems when those are 2<sup>53</sup>. With larger numbers, you are almost guaranteed to get inaccurate results. | ||
* Large ratios: <code><nowiki>{{Infobox Interval|Ket=-2 0 0 1}}</nowiki></code>, <code><nowiki>{{Infobox Interval|Monzo=-2 0 0 1}}</nowiki></code>. | * Large ratios: <code><nowiki>{{Infobox Interval|Ket = -2 0 0 1}}</nowiki></code>, <code><nowiki>{{Infobox Interval|Monzo = -2 0 0 1}}</nowiki></code>. | ||
** In this form, '''Ratio''' (unless you specify it explicitly, in which case it will be printed as is) and most norms are omitted. | ** In this form, '''Ratio''' (unless you specify it explicitly, in which case it will be printed as is) and most norms are omitted. | ||
** When use this form? Whenever numerator or denominator are too large. | ** When use this form? Whenever numerator or denominator are too large. | ||
| Line 42: | Line 42: | ||
| Coefficients of the [[monzo]] notation, separated by whitespaces. Derived from '''Ratio''' or specified or omitted for irrational intervals. If you specify one for an irrational interval, [[Template: Monzo]] with the provided argument will be printed. | | Coefficients of the [[monzo]] notation, separated by whitespaces. Derived from '''Ratio''' or specified or omitted for irrational intervals. If you specify one for an irrational interval, [[Template: Monzo]] with the provided argument will be printed. | ||
|- | |- | ||
| [[ | | [[Subgroup monzo]] | ||
| | | | ||
| Shown instead of '''Factorization''' and '''Monzo''' when there is a sequence of 4 or more zeros in ket notation. Derived either from '''Ratio''' or '''Monzo''' or omitted for irrational intervals. | | Shown instead of '''Factorization''' and '''Monzo''' when there is a sequence of 4 or more zeros in ket notation. Derived either from '''Ratio''' or '''Monzo''' or omitted for irrational intervals. | ||
| Line 54: | Line 54: | ||
| Name(s) of the interval. Pages with missing values go into [[:Category:Todo:add interval name]]. You should not put any <code><nowiki><br></nowiki></code> tags between names here; it will be done automatically. | | Name(s) of the interval. Pages with missing values go into [[:Category:Todo:add interval name]]. You should not put any <code><nowiki><br></nowiki></code> tags between names here; it will be done automatically. | ||
|- | |- | ||
| [[ | | [[Kite's color notation|Color name]] | ||
| Color name | | Color name | ||
| Color name after Kite's [[color notation]] in the form: <code>written form, spoken form</code>. For color names see also [[Gallery of just intervals]]. Pages with missing values go into [[:Category:Todo:add color name]]. Default: omitted. | | Color name after Kite's [[color notation]] in the form: <code>written form, spoken form</code>. For color names see also [[Gallery of just intervals]]. Pages with missing values go into [[:Category:Todo:add color name]]. Default: omitted. | ||
| Line 66: | Line 66: | ||
| Currently implemented: [[superparticular interval|superparticular]] and [[square superparticular]] for small ratios, [[harmonic]]s and [[subharmonic]]s, including reduced ones, whether a ratio is [[octave reduction|reduced]]. | | Currently implemented: [[superparticular interval|superparticular]] and [[square superparticular]] for small ratios, [[harmonic]]s and [[subharmonic]]s, including reduced ones, whether a ratio is [[octave reduction|reduced]]. | ||
|- | |- | ||
| [[Tenney | | [[Tenney norm]] | ||
| | | | ||
| Derived from '''Ratio''' or '''Monzo''' or omitted. | | Derived from '''Ratio''' or '''Monzo''' or omitted. | ||
|- | |- | ||
| [[Weil | | [[Weil norm]] | ||
| | | | ||
| Derived from '''Ratio''' or omitted. | | Derived from '''Ratio''' or omitted. | ||
|- | |- | ||
| [[Wilson | | [[Wilson norm]] | ||
| | | | ||
| Derived from '''Ratio''', or omitted. | | Derived from '''Ratio''', or omitted. | ||