Template:Infobox ET: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
m Let Major 2nd stay
TallKite (talk | contribs)
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|}}}}}}'''
}}
|-
{{#if: {{{Subgroup|}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Subgroup
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Subgroup|}}}'''
}}
}}
|-
|-
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|}}}}}}'''
}}
|-
{{#if: {{{Common uses|{{{Common Uses|}}}}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Common uses
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Common uses|{{{Common Uses|}}}}}}'''
}}
|-
{{#if: {{{Important MOS|{{{Important MOSes|}}}}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Important MOSes
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Important MOS|{{{Important MOSes|}}}}}}'''
}}
|-
{{#if: {{{Example composition|{{{Example Composition|}}}}}} |
  {{!}} colspan="2" style="text-align: center;" {{!}} Tuning showcase {{#if: {{{Composer}}} | (by {{{Composer}}}) }} <br> [[File:{{{Example composition|{{{Example Composition|}}}}}}|270px]]<br/>[[:File:{{{Example composition|{{{Example Composition|}}}}}}|sound info]] {{#if: {{{Score|}}} | <br> [[:File:{{{Score|}}}|score]] }}
}}
}}
|}
|}
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: {{{Common Uses|}}}
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Important MOSes|}}}
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Example Composition|}}}
| [[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.
|-
| '''Subgroup'''
| The [[JI subgroup]] that the equal temperament is a temperament of
|-
|-
| '''Step size'''
| 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. Type of fifth, for edos. (Some possiblities: mavila, 7edo, flattone, meantone, schismic, parapyth, archy, superpyth, 5edo, father). If the edo has more than one type, list all the types, separated by <code>&lt;br&gt;</code>. If a fifth is the same as a fifth in a lower edo, then state that instead.
| 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.  
|-
| Important MOS
| Important MOS types provided by the edo (but not by any subset), step sizes and number of L and s, period, and generator if the scale has multiple periods per octave; for multiple MOS types separate by <code>&lt;br&gt;</code>
|-
| Common uses
| Common compositional uses of the equal temperament
|-
| Example composition
| MP3 file name of the 1-minute example composition
|-
| ''Composer''
| (only when Example composition given) Composer of the 1-minute example composition
|-
| ''Score''
| (only when Example composition given) Score of the 1-minute example composition
|}
|}


Line 126: Line 86:
  <nowiki>{{Infobox ET
  <nowiki>{{Infobox ET
| Prime factorization = 2<sup>3</sup> * 3
| Prime factorization = 2<sup>3</sup> * 3
| Subgroup = 2.3.11.13.17.19
| Step size = 50¢
| Step size = 50¢
| Fifth type = [[12edo]] 14\24 700¢
| Fifth type =14\24 = 700¢ = [[12edo]]  
| Major 2nd = 4\24
| Major 2nd = 4\24 = 200¢
| Semitones = 2:2
| Semitones = 2:2
| Common uses = Hyperchromatic 12edo, Westernized maqam, semaphore
| Important MOS = semaphore 414144141 (generator: 5\24) <br> mohajira 3434343 (generator: 7\24) <br> mohajira 3313313313 (generator: 7\24)
| Example composition =
| Score =
}}</nowiki>
}}</nowiki>


Line 142: Line 97:
  <nowiki>{{Infobox ET
  <nowiki>{{Infobox ET
| Prime factorization =  
| Prime factorization =  
| Subgroup =
| 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 =  
| Common uses =
| Important MOS =
| Example composition =
| Score =
}}</nowiki>
}}</nowiki>



Revision as of 07:20, 18 December 2020

Infobox ET

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 = 
}}

See also

Todo:

Reach consensus on parameters, see discussion page!