Template:Infobox ET: Difference between revisions
Jump to navigation
Jump to search
m Let Major 2nd stay |
removed all but the concise, indisputable parameters |
||
Line 20: | Line 20: | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Step size | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Step size | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Step size|{{{Step Size|}}}}}}''' | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Step size|{{{Step Size|}}}}}}''' | ||
}} | }} | ||
|- | |- | ||
Line 50: | Line 45: | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Semitones (A1:m2) | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Semitones (A1:m2) | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Semitones|{{{Semitones|}}}}}}''' | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Semitones|{{{Semitones|}}}}}}''' | ||
}} | }} | ||
|} | |} | ||
Line 69: | Line 50: | ||
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Step Size|}}} | | [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Step Size|}}} | ||
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Fifth Type|}}} | | [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Fifth Type|}}} | ||
| [[Category:Todo:normalize EDO parameters]]}}{{#if:{{#regex:{{{Step size|}}}|/[\d.]+(.*)/|\1}} | | [[Category:Todo:normalize EDO parameters]]}}{{#if:{{#regex:{{{Step size|}}}|/[\d.]+(.*)/|\1}} | ||
| [[Category:Todo:normalize EDO parameters]]}}</includeonly><noinclude> | | [[Category:Todo:normalize EDO parameters]]}}</includeonly><noinclude> | ||
Line 84: | Line 62: | ||
|- | |- | ||
| Prime factorization | | Prime factorization | ||
| Prime factorization of the equal temperament (e.g. 12 = 2<sup>2</sup> * 3) | | Prime factorization of the equal temperament (e.g. 12 = 2<sup>2</sup> * 3). Can be left blank if the EDO is prime. | ||
|- | |- | ||
| | | Step size | ||
| One step of the equal temperament in cents | | One step of the equal temperament in cents. | ||
|- | |- | ||
| Fifth type | | Fifth type | ||
| The best approximation of 3/2, in edosteps and in cents | | The best approximation of 3/2, in edosteps and in cents. If a fifth is the same as a fifth in a lower edo, then state that instead. | ||
|- | |- | ||
| Major 2nd | | Major 2nd | ||
Line 106: | Line 81: | ||
| Semitones | | Semitones | ||
| Size of the 3-limit augmented unison and minor second in edosteps, mapped indirectly. | | Size of the 3-limit augmented unison and minor second in edosteps, mapped indirectly. | ||
|} | |} | ||
Line 126: | Line 86: | ||
<nowiki>{{Infobox ET | <nowiki>{{Infobox ET | ||
| Prime factorization = 2<sup>3</sup> * 3 | | Prime factorization = 2<sup>3</sup> * 3 | ||
| Step size = 50¢ | | Step size = 50¢ | ||
| Fifth type = [[12edo]] | | Fifth type =14\24 = 700¢ = [[12edo]] | ||
| Major 2nd = 4\24 | | Major 2nd = 4\24 = 200¢ | ||
| Semitones = 2:2 | | Semitones = 2:2 | ||
}}</nowiki> | }}</nowiki> | ||
Line 142: | Line 97: | ||
<nowiki>{{Infobox ET | <nowiki>{{Infobox ET | ||
| Prime factorization = | | Prime factorization = | ||
| Step size = {{subst:#number_format:{{subst:#expr:1200/{{subst:#regex:{{subst:PAGENAME}}|/(\d+)-?EDO/i|\1}}}}|3}} | | Step size = {{subst:#number_format:{{subst:#expr:1200/{{subst:#regex:{{subst:PAGENAME}}|/(\d+)-?EDO/i|\1}}}}|3}} | ||
| Fifth type = | | Fifth type = | ||
| Major 2nd = | | Major 2nd = | ||
| Semitones = | | Semitones = | ||
}}</nowiki> | }}</nowiki> | ||
Revision as of 07:20, 18 December 2020
The template Infobox ET was built to help presenting basic information about EDOs in a unified form, to make them obvious by glance. Also the formatting of the wiki text itself is easier to read and improve when it is obviously structured by this template.
The templates supports the following parameters (highly requested parameters in bold):
Parameter | Meaning, usage hints |
---|---|
Prime factorization | Prime factorization of the equal temperament (e.g. 12 = 22 * 3). Can be left blank if the EDO is prime. |
Step size | One step of the equal temperament in cents. |
Fifth type | The best approximation of 3/2, in edosteps and in cents. If a fifth is the same as a fifth in a lower edo, then state that instead. |
Major 2nd | Size of the 3-limit major 2nd in edosteps and cents. Edosteps are mapped indirectly (so that 16-edo's M2 is 2\16 not 3\16). |
Minor 2nd | (To be removed) Size of the 3-limit minor 2nd in edosteps and cents. Edosteps are mapped indirectly. |
Augmented 1sn | (To be removed) Size of the 3-limit augmented unison 2nd in edosteps and cents. Edosteps are mapped indirectly. This is also the sharpness/flatness of the edo. |
Semitones | Size of the 3-limit augmented unison and minor second in edosteps, mapped indirectly. |
Usage example for 24edo:
{{Infobox ET | Prime factorization = 2<sup>3</sup> * 3 | Step size = 50¢ | Fifth type =14\24 = 700¢ = [[12edo]] | Major 2nd = 4\24 = 200¢ | Semitones = 2:2 }}
Empty (Step size is self-filling) template for copy & paste (to avoid copying wrong values from edo pages:
{{Infobox ET | Prime factorization = | Step size = {{subst:#number_format:{{subst:#expr:1200/{{subst:#regex:{{subst:PAGENAME}}|/(\d+)-?EDO/i|\1}}}}|3}} | Fifth type = | Major 2nd = | Semitones = }}