Template:Infobox ET: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Simply use "consistency" and "monotonicity" and show "consistency limit" and "monotonicity limit" instead
(Re-)implement semitones parameter
Line 35: Line 35:
   {{!}} 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|{{{m2|}}}}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Minor 2nd|{{{m2|}}}}}}'''
}}
|-
{{#if: {{{Semitones|}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Semitones (A1:m2)
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Semitones|}}}'''
}}
}}
|-
|-
Line 72: Line 77:
|-
|-
| Major 2nd
| Major 2nd
| Size of the 3-limit major second (M2) in edosteps and cents. (<code>M2 := 2*P5 - P8</code>)  
| Size of the major second (M2) in edosteps and cents as generated by the fifth. (<code>M2 := 2*P5 - P8</code>)
|-
| <s>Minor 2nd</s>
| <s>Size of the minor second (m2) in edosteps and cents as generated by the fifth. (<code>m2 := 3*P8 - 5*P5</code>)</s>
|-
|-
| Minor 2nd
| <s>Augmented 1sn</s>
| Size of the 3-limit minor second (m2) in edosteps and cents. (<code>m2 := 3*P8 - 5*P5</code>)  
| <s>Size of the augmented unison (A1) in edosteps and cents as generated by the fifth. This is also the sharpness/flatness of the edo. (<code>A1 := M2 - m2</code>)</s>
|-
|-
| Augmented 1sn
| Semitones
| 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 augmented unison (A1) and minor second (m2) in edosteps and cents as generated by the fifth.  
|-
|-
| Consistency
| Consistency
Line 91: Line 99:
| Prime factorization = 2<sup>3</sup> × 3
| Prime factorization = 2<sup>3</sup> × 3
| Step size = 50¢
| Step size = 50¢
| Fifth = 14\24 = 700¢
| Fifth = 14\24 (700¢)
| Major 2nd = 4\24 = 200¢
| Major 2nd = 4\24 (200¢)
| Minor 2nd = 2\24 = 100¢
| Semitones = 2:2 (100¢:100¢)
| Augmented 1sn = 2\24 = 100¢
| Consistency = 5
| Consistency = 5
| Monotonicity = 13
| Monotonicity = 13
Line 107: Line 114:
| Fifth =  
| Fifth =  
| Major 2nd =  
| Major 2nd =  
| Minor 2nd =
| Semitones =
| Augmented 1sn =  
| Consistency =  
| Consistency =  
| Monotonicity =  
| Monotonicity =  

Revision as of 23:42, 8 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 major second (M2) in edosteps and cents as generated by the fifth. (M2 := 2*P5 - P8)
Minor 2nd Size of the minor second (m2) in edosteps and cents as generated by the fifth. (m2 := 3*P8 - 5*P5)
Augmented 1sn Size of the augmented unison (A1) in edosteps and cents as generated by the fifth. This is also the sharpness/flatness of the edo. (A1 := M2 - m2)
Semitones Size of the augmented unison (A1) and minor second (m2) in edosteps and cents as generated by the fifth.
Consistency The odd limit diamond to which the edo is consistent.
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¢)
| Semitones = 2:2 (100¢:100¢)
| Consistency = 5
| 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 = 
| Semitones =
| Consistency = 
| Monotonicity = 
}}

See also

Todo:

Reach consensus on parameters, see discussion page!