User:Ganaram inukshuk/Sandbox: Difference between revisions
→Mos degrees template with new code: testing table from module but copypasted from test console |
|||
| Line 22: | Line 22: | ||
=== Mos degrees template with new code=== | === Mos degrees template with new code=== | ||
{| class="wikitable" | |||
|+Scale degrees of 5L 2s | |||
!rowspan="2" |Scale degree | |||
!colspan="2" |12edo (Basic, L:s = 2:1) | |||
!colspan="2" |17edo (Hard, L:s = 3:1) | |||
!colspan="2" |19edo (Soft, L:s = 3:2) | |||
!Rowspan="2"|Approx. JI Ratios | |||
|- | |||
!Steps | |||
!Cents | |||
!Steps | |||
!Cents | |||
!Steps | |||
!Cents | |||
|- | |||
|Perfect 0-mosstep | |||
|0 | |||
|0 | |||
|0 | |||
|0 | |||
|0 | |||
|0 | |||
|1/1 (exact), 1/1 | |||
|- | |||
|Augmented 0-mosstep | |||
|1 | |||
|100 | |||
|2 | |||
|141.176 | |||
|1 | |||
|63.158 | |||
| | |||
|- | |||
|Diminished 1-mosstep | |||
|0 | |||
|0 | |||
|-1 | |||
|-70.588 | |||
|1 | |||
|63.158 | |||
| | |||
|- | |||
|Minor 1-mosstep | |||
|1 | |||
|100 | |||
|1 | |||
|70.588 | |||
|2 | |||
|126.316 | |||
| | |||
|- | |||
|Major 1-mosstep | |||
|2 | |||
|200 | |||
|3 | |||
|211.765 | |||
|3 | |||
|189.474 | |||
| | |||
|- | |||
|Augmented 1-mosstep | |||
|3 | |||
|300 | |||
|5 | |||
|352.941 | |||
|4 | |||
|252.632 | |||
| | |||
|- | |||
|Diminished 2-mosstep | |||
|2 | |||
|200 | |||
|2 | |||
|141.176 | |||
|4 | |||
|252.632 | |||
| | |||
|- | |||
|Minor 2-mosstep | |||
|3 | |||
|300 | |||
|4 | |||
|282.353 | |||
|5 | |||
|315.789 | |||
| | |||
|- | |||
|Major 2-mosstep | |||
|4 | |||
|400 | |||
|6 | |||
|423.529 | |||
|6 | |||
|378.947 | |||
| | |||
|- | |||
|Augmented 2-mosstep | |||
|5 | |||
|500 | |||
|8 | |||
|564.706 | |||
|7 | |||
|442.105 | |||
| | |||
|- | |||
|Diminished 3-mosstep | |||
|4 | |||
|400 | |||
|5 | |||
|352.941 | |||
|7 | |||
|442.105 | |||
| | |||
|- | |||
|Perfect 3-mosstep | |||
|5 | |||
|500 | |||
|7 | |||
|494.118 | |||
|8 | |||
|505.263 | |||
| | |||
|- | |||
|Augmented 3-mosstep | |||
|6 | |||
|600 | |||
|9 | |||
|635.294 | |||
|9 | |||
|568.421 | |||
| | |||
|- | |||
|2× Augmented 3-mosstep | |||
|7 | |||
|700 | |||
|11 | |||
|776.471 | |||
|10 | |||
|631.579 | |||
| | |||
|- | |||
|2× Diminished 4-mosstep | |||
|5 | |||
|500 | |||
|6 | |||
|423.529 | |||
|9 | |||
|568.421 | |||
| | |||
|- | |||
|Diminished 4-mosstep | |||
|6 | |||
|600 | |||
|8 | |||
|564.706 | |||
|10 | |||
|631.579 | |||
| | |||
|- | |||
|Perfect 4-mosstep | |||
|7 | |||
|700 | |||
|10 | |||
|705.882 | |||
|11 | |||
|694.737 | |||
| | |||
|- | |||
|Augmented 4-mosstep | |||
|8 | |||
|800 | |||
|12 | |||
|847.059 | |||
|12 | |||
|757.895 | |||
| | |||
|- | |||
|Diminished 5-mosstep | |||
|7 | |||
|700 | |||
|9 | |||
|635.294 | |||
|12 | |||
|757.895 | |||
| | |||
|- | |||
|Minor 5-mosstep | |||
|8 | |||
|800 | |||
|11 | |||
|776.471 | |||
|13 | |||
|821.053 | |||
| | |||
|- | |||
|Major 5-mosstep | |||
|9 | |||
|900 | |||
|13 | |||
|917.647 | |||
|14 | |||
|884.211 | |||
| | |||
|- | |||
|Augmented 5-mosstep | |||
|10 | |||
|1000 | |||
|15 | |||
|1058.824 | |||
|15 | |||
|947.368 | |||
| | |||
|- | |||
|Diminished 6-mosstep | |||
|9 | |||
|900 | |||
|12 | |||
|847.059 | |||
|15 | |||
|947.368 | |||
| | |||
|- | |||
|Minor 6-mosstep | |||
|10 | |||
|1000 | |||
|14 | |||
|988.235 | |||
|16 | |||
|1010.526 | |||
| | |||
|- | |||
|Major 6-mosstep | |||
|11 | |||
|1100 | |||
|16 | |||
|1129.412 | |||
|17 | |||
|1073.684 | |||
| | |||
|- | |||
|Augmented 6-mosstep | |||
|12 | |||
|1200 | |||
|18 | |||
|1270.588 | |||
|18 | |||
|1136.842 | |||
| | |||
|- | |||
|Diminished 7-mosstep | |||
|11 | |||
|1100 | |||
|15 | |||
|1058.824 | |||
|18 | |||
|1136.842 | |||
| | |||
|- | |||
|Perfect 7-mosstep | |||
|12 | |||
|1200 | |||
|17 | |||
|1200 | |||
|19 | |||
|1200 | |||
|2/1 (exact) | |||
|} | |||
Template to call module without affecting the current template (fill in arguments as needed): | Template to call module without affecting the current template (fill in arguments as needed): | ||
<syntaxhighlight> | <syntaxhighlight> | ||
| Line 36: | Line 304: | ||
{{#invoke:MOS_degrees_v2|mos_degrees_frame | {{#invoke:MOS_degrees_v2|mos_degrees_frame | ||
|Scale Signature=5L 2s | |Scale Signature=5L 2s | ||
|Step Ratio= | |Step Ratio=21/10; 31/10 | ||
|MOS Prefix= | |MOS Prefix= | ||
|Show Abbreviations= | |Show Abbreviations= | ||
|Number of Alterations= | |Number of Alterations=1 | ||
|JI Ratios= | |JI Ratios= | ||
}} | }} | ||
| Line 45: | Line 313: | ||
{{#invoke:MOS_degrees_v2|mos_degrees_frame | {{#invoke:MOS_degrees_v2|mos_degrees_frame | ||
|Scale Signature=5L 4s | |Scale Signature=5L 4s | ||
|Step Ratio= | |Step Ratio= | ||
|MOS Prefix= | |MOS Prefix= | ||
|Show Abbreviations= | |Show Abbreviations= | ||