Template:Infobox ET: Difference between revisions
m remove comment |
Remove alternative parameter names. Simplify description. Replace parameter name "Fifth type" by "Fifth" |
||
Line 12: | Line 12: | ||
|+ '''{{PAGENAME}}''' | |+ '''{{PAGENAME}}''' | ||
|- | |- | ||
{{#if: {{{Prime factorization| | {{#if: {{{Prime factorization|}}} | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Prime factorization | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Prime factorization | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Prime factorization| | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Prime factorization|}}} ''' | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Step size| | {{#if: {{{Step size|}}} | | ||
{{!}} 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| | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Step size|}}}''' | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Fifth | {{#if: {{{Fifth|{{{Fifth type|}}}}}} | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Fifth | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Fifth | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Fifth | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Fifth|{{{Fifth type|}}}}}}''' | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Major 2nd| | {{#if: {{{Major 2nd|}}} | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Major 2nd | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Major 2nd | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Major 2nd| | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Major 2nd|}}}''' | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Minor 2nd| | {{#if: {{{Minor 2nd|}}} | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Minor 2nd | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Minor 2nd | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Minor 2nd| | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Minor 2nd|}}}''' | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Augmented 1sn| | {{#if: {{{Augmented 1sn|}}} | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Augmented 1sn | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Augmented 1sn | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Augmented 1sn| | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Augmented 1sn|}}}''' | ||
}} | }} | ||
|} | |} | ||
</div><includeonly><!-- this includeonly section is for changing parameter names to regular form --> | </div><includeonly><!-- this includeonly section is for changing parameter names to regular form -->{{#if: {{{Fifth type|}}} | ||
| [[Category:Todo:normalize EDO parameters]]}}</includeonly><noinclude> | | [[Category:Todo:normalize EDO parameters]]}}</includeonly><noinclude> | ||
The template '''Infobox ET''' was built to help presenting basic information about [[EDO]]s 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 template '''Infobox ET''' was built to help presenting basic information about [[EDO]]s 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 | The templates supports the following parameters: | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 61: | Line 54: | ||
|- | |- | ||
| 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) | ||
|- | |- | ||
| Step size | | Step size | ||
| One step of the equal temperament in cents. | | One step (1200/edo) of the equal temperament in cents (3 decimal places). | ||
|- | |- | ||
| Fifth | | Fifth | ||
| The best approximation of 3/2, in edosteps and in cents. | | (<s>Fifth type</s>) The best approximation of 3/2, the perfect fifth (P5), in edosteps and in cents. (<code>P5 := round(log2(3/2)*edo)</code>) | ||
|- | |- | ||
| Major 2nd | | Major 2nd | ||
| Size of the 3-limit major | | Size of the 3-limit major second (M2) in edosteps and cents. (<code>M2 := 2*P5 - P8</code>) | ||
|- | |- | ||
| | | Minor 2nd | ||
| | | Size of the 3-limit minor second (m2) in edosteps and cents. (<code>m2 := 3*P8 - 5*P5</code>) | ||
|- | |- | ||
| | | Augmented 1sn | ||
| Size of the 3-limit augmented unison | | Size of the 3-limit augmented unison (A1) in edosteps and cents. This is also the sharpness/flatness of the edo. (<code>A1 := M2 - m2</code>) | ||
|} | |} | ||
Line 86: | Line 76: | ||
| Prime factorization = 2<sup>3</sup> * 3 | | Prime factorization = 2<sup>3</sup> * 3 | ||
| Step size = 50¢ | | Step size = 50¢ | ||
| Fifth | | Fifth = 14\24 = 700¢ | ||
| Major 2nd = 4\24 = 200¢ | | Major 2nd = 4\24 = 200¢ | ||
| | | Minor 2nd = 2\24 = 100¢ | ||
| Augmented 1sn = 2\24 = 100¢ | |||
}}</nowiki> | }}</nowiki> | ||
Line 97: | Line 88: | ||
| 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 | | Fifth = | ||
| Major 2nd = | | Major 2nd = | ||
| | | Minor 2nd = | ||
| Augmented 1sn = | |||
}}</nowiki> | }}</nowiki> | ||