Template:Infobox ET: Difference between revisions
Jump to navigation
Jump to search
Remove alternative parameter names. Simplify description. Replace parameter name "Fifth type" by "Fifth" |
m 3 decimal places > 5 digits |
||
Line 57: | Line 57: | ||
|- | |- | ||
| Step size | | Step size | ||
| One step (1200/edo) of the equal temperament in cents ( | | One step (1200/edo) of the equal temperament in cents (5 digits). | ||
|- | |- | ||
| Fifth | | Fifth |
Revision as of 11:07, 18 December 2020
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 hints |
---|---|
Prime factorization | Prime factorization of the equal temperament (e.g. 12 = 22 * 3) |
Step size | One step (1200/edo) of the equal temperament in cents (5 digits). |
Fifth | (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 )
|
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¢ }}
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 = | Major 2nd = | Minor 2nd = | Augmented 1sn = }}