Template:Infobox ET: Difference between revisions
Jump to navigation
Jump to search
m 3 decimal places > 5 digits |
Primality should be stated; use real multiplication sign |
||
Line 54: | Line 54: | ||
|- | |- | ||
| Prime factorization | | Prime factorization | ||
| Prime factorization of the equal temperament (e.g. 12 = 2<sup>2</sup> | | Prime factorization of the equal temperament (e.g. 12 = 2<sup>2</sup> × 3), even if prime per se (e.g. 17 (prime)). | ||
|- | |- | ||
| Step size | | Step size | ||
Line 74: | Line 74: | ||
Usage example for [[24edo]]: | Usage example for [[24edo]]: | ||
<nowiki>{{Infobox ET | <nowiki>{{Infobox ET | ||
| Prime factorization = 2<sup>3</sup> | | Prime factorization = 2<sup>3</sup> × 3 | ||
| Step size = 50¢ | | Step size = 50¢ | ||
| Fifth = 14\24 = 700¢ | | Fifth = 14\24 = 700¢ |
Revision as of 11:21, 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), even if prime per se (e.g. 17 (prime)). |
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 = }}