Template:Infobox ET: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
fixed alias parameter names
+diamond consistency and diamond monotonicity
Line 40: Line 40:
   {{!}} 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|{{{A1|}}}}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Augmented 1sn|{{{A1|}}}}}}'''
}}
|-
{{#if: {{{Diamond consistency|{{{Diamond consistency|}}}}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Diamond consistency
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Diamond consistency|{{{Diamond consistency|}}}}}}'''
}}
|-
{{#if: {{{Diamond monotonicity|{{{Diamond monotonicity|}}}}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Diamond monotonicity
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Diamond monotonicity|{{{Diamond monotonicity|}}}}}}'''
}}
}}
|}
|}
Line 70: Line 80:
| Augmented 1sn
| Augmented 1sn
| 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>)  
| 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>)  
|-
| Diamond consistency
| The odd limit diamond to which the edo is consistent.
|-
| Diamond monotonicity
| The odd limit diamond to which the edo is monotone.
|}
|}


Line 80: Line 96:
| Minor 2nd = 2\24 = 100¢
| Minor 2nd = 2\24 = 100¢
| Augmented 1sn = 2\24 = 100¢
| Augmented 1sn = 2\24 = 100¢
| Diamond consistency = 5
| Diamond monotonicity = 13
}}</nowiki>
}}</nowiki>


Line 92: Line 110:
| Minor 2nd =  
| Minor 2nd =  
| Augmented 1sn =  
| Augmented 1sn =  
| Diamond consistency =
| Diamond monotonicity =
}}</nowiki>
}}</nowiki>


== See also ==
== See also ==
* [[Template:Infobox Interval]]
* [[Template:Infobox Interval]]



Revision as of 12:18, 7 October 2021

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:

Parameter Meaning, usage notes
Prime factorization Prime factorization of the equal temperament (e.g. 12 = 22 × 3), even if prime per se (e.g. 17 (prime)).
Step size One step (1200/edo) of the equal temperament in cents (5 digits).
Fifth (Fifth type) The best approximation of 3/2, the perfect fifth (P5), in edosteps and in cents. (P5 := round(log2(3/2)*edo))
Major 2nd Size of the 3-limit major second (M2) in edosteps and cents. (M2 := 2*P5 - P8)
Minor 2nd Size of the 3-limit minor second (m2) in edosteps and cents. (m2 := 3*P8 - 5*P5)
Augmented 1sn Size of the 3-limit augmented unison (A1) in edosteps and cents. This is also the sharpness/flatness of the edo. (A1 := M2 - m2)
Diamond consistency The odd limit diamond to which the edo is consistent.
Diamond monotonicity The odd limit diamond to which the edo is monotone.

Usage example for 24edo:

{{Infobox ET
| Prime factorization = 2<sup>3</sup> × 3
| Step size = 50¢
| Fifth = 14\24 = 700¢
| Major 2nd = 4\24 = 200¢
| Minor 2nd = 2\24 = 100¢
| Augmented 1sn = 2\24 = 100¢
| Diamond consistency = 5
| Diamond monotonicity = 13
}}

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}}}}|5}}
| Fifth = 
| Major 2nd = 
| Minor 2nd = 
| Augmented 1sn = 
| Diamond consistency = 
| Diamond monotonicity = 
}}

See also

Todo:

Reach consensus on parameters, see discussion page!