Template:Infobox ET: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Deprecate monotonicity
+sharp fifth, +flat fifth, -monotonicity
Line 25: Line 25:
   {{!}} 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|{{{Fifth type|{{{P5|}}}}}}}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Fifth|{{{Fifth type|{{{P5|}}}}}}}}}'''
}}
|-
{{#if: {{{Semitones|}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Semitones (A1:m2)
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Semitones|}}}'''
}}
|-
{{#if: {{{Sharp fifth|{{{Sharp P5|}}}}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Sharp fifth
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Sharp fifth|{{{Sharp P5|}}}}}}'''
}}
|-
{{#if: {{{Flat fifth|{{{Flat P5|}}}}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Flat fifth
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Flat fifth|{{{Flat P5|}}}}}}'''
}}
}}
|-
|-
Line 35: Line 50:
   {{!}} 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 50: Line 60:
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Consistency limit
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Consistency limit
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Consistency|{{{Diamond consistency|}}}}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Consistency|{{{Diamond consistency|}}}}}}'''
}}
|-
{{#if: {{{Monotonicity|{{{Diamond monotonicity|}}}}}} |
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Monotonicity limit
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Monotonicity|{{{Diamond monotonicity|}}}}}}'''
}}
}}
|}
|}
Line 71: Line 76:
|-
|-
| Step size
| Step size
| One step (1200/edo) of the equal temperament in cents (5 digits).
| One step (1200/edo) of the equal temperament in cents (6 significant digits).
|-
|-
| Fifth
| Fifth
| (<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>)
| The closest approximation of 3/2, the perfect fifth (P5), in edosteps and in cents. (<code>P5 := round(log2(3/2)*edo)</code>)
|-
| Semitones
| Size of the augmented unison (A1) and minor second (m2) in edosteps and cents as generated by the fifth. <br>The A1 is the [[sharpness]] of the edo.
|-
| Sharp fifth
| For dual-fifths edos (fifth error > 1/3 edostep), the closest sharp approximation of 3/2, in edosteps and in cents.
|-
| Flat fifth
| For dual-fifths edos (fifth error > 1/3 edostep), the closest flat approximation of 3/2, in edosteps and in cents.
|-
|-
| Major 2nd
| Major 2nd
| Size of the major second (M2) in edosteps and cents as generated by the fifth. (<code>M2 := 2*P5 - P8</code>)
| For dual-fifths edos (fifth error > 1/3 edostep), size of the major second (M2) in edosteps and cents as generated by the sharp fifth and the flat fifth.  
|-
|-
| <s>Minor 2nd</s>
| <s>Minor 2nd</s>
Line 84: Line 98:
| <s>Augmented 1sn</s>
| <s>Augmented 1sn</s>
| <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>  
| <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>  
|-
| Semitones
| Size of the augmented unison (A1) and minor second (m2) in edosteps and cents as generated by the fifth.
|-
|-
| Consistency
| Consistency
| The odd limit diamond to which the edo is consistent.  
| The odd limit diamond to which the edo is consistent.  
|-
| <s>Monotonicity</s>
| <s>The odd limit diamond to which the edo is monotone.</s>
|}
|}


Line 98: Line 106:
  <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.0000¢
| Fifth = 14\24 (700¢)
| Fifth = 14\24 (700.0¢) (→ [[12edo|7\12]])
| Major 2nd = 4\24 (200¢)
| Semitones = 2:2 (100.0¢ : 100.0¢)
| Semitones = 2:2 (100¢:100¢)
| Consistency = 5
| Consistency = 5
}}</nowiki>
}}</nowiki>
Line 112: Line 119:
| Step size = {{subst:#number_format:{{subst:#expr:1200/{{subst:#regex:{{subst:PAGENAME}}|/(\d+)-?EDO/i|\1}}}}|5}}
| Step size = {{subst:#number_format:{{subst:#expr:1200/{{subst:#regex:{{subst:PAGENAME}}|/(\d+)-?EDO/i|\1}}}}|5}}
| Fifth =  
| Fifth =  
| Major 2nd =
| Semitones =
| Semitones =
| Consistency =  
| Consistency =  

Revision as of 18:36, 19 August 2022

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 (6 significant digits).
Fifth The closest approximation of 3/2, the perfect fifth (P5), in edosteps and in cents. (P5 := round(log2(3/2)*edo))
Semitones Size of the augmented unison (A1) and minor second (m2) in edosteps and cents as generated by the fifth.
The A1 is the sharpness of the edo.
Sharp fifth For dual-fifths edos (fifth error > 1/3 edostep), the closest sharp approximation of 3/2, in edosteps and in cents.
Flat fifth For dual-fifths edos (fifth error > 1/3 edostep), the closest flat approximation of 3/2, in edosteps and in cents.
Major 2nd For dual-fifths edos (fifth error > 1/3 edostep), size of the major second (M2) in edosteps and cents as generated by the sharp fifth and the flat fifth.
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)
Consistency The odd limit diamond to which the edo is consistent.

Usage example for 24edo:

{{Infobox ET
| Prime factorization = 2<sup>3</sup> × 3
| Step size = 50.0000¢
| Fifth = 14\24 (700.0¢) (→ [[12edo|7\12]])
| Semitones = 2:2 (100.0¢ : 100.0¢)
| Consistency = 5
}}

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

See also

Todo:

Reach consensus on parameters, see discussion page!