Template:Infobox MOS: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Inthar (talk | contribs)
mNo edit summary
Inthar (talk | contribs)
mNo edit summary
Line 99: Line 99:
| Pattern = LLsLLsLs
| Pattern = LLsLLsLs
}}
}}
----
Self-filling template for copy & paste:
<nowiki>{{Infobox MOS
| nLargeSteps = {{subst:#number_format:{{subst:#expr:1200/{{subst:#regex:{{subst:PAGENAME}}|/(\d+)-?EDO/i|\1}}}}|3}}
| nSmallSteps = 3
| Equalized = 3
| Paucitonic = 2
| Pattern = LLsLLsLs
}}
{{Infobox
| 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 =
}}</nowiki>
== See also ==
== See also ==



Revision as of 06:08, 25 March 2021

Infobox MOS
Pattern LLsLLLs
Period 1\1
Generator range 4\7 (685.71¢) to 3\5 (720.00¢)
Supersoft 15\26 (692.3¢)
Soft 11\19 (694.7¢)
Semisoft 15\26 (692.3¢)
Quintessential 7\12 (700.00¢) {{#regex:{{#regex:LLsLLLs|%L%| 2}}|%s%|

1 }}

Semihard 11\19 (694.7¢)
Hard 7\12 (700.0¢)
Superhard 7\12 (700.0¢)

The template Infobox MOS was built to help presenting basic information about MOSes 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
nLargeSteps Number of large steps
nSmallSteps Number of small steps
Equave An equivalence interval (default = 2/1)
Equalized Generator of the mos pattern for the equalized (s = L) equal temperament tuning, in steps of ed(Equave)
Paucitonic Generator of the mos pattern for the paucitonic (s = 0) equal temperament tuning, in steps of ed(Equave)
Pattern Pattern of one mode of the MOS, in L's and s's.

Usage example for 5L 3s:

{{Infobox MOS
| nLargeSteps = 5
| nSmallSteps = 3
| Equalized = 3
| Paucitonic = 2
| Pattern = LLsLLsLs
}}

gives

Infobox MOS
Pattern LLsLLsLs
Period 1\1
Generator range 3\8 (450.00¢) to 2\5 (480.00¢)
Supersoft 12\29 (496.6¢)
Soft 9\21 (514.3¢)
Semisoft 12\29 (496.6¢)
Quintessential 5\13 (461.54¢) {{#regex:{{#regex:LLsLLsLs|%L%| 2}}|%s%|

1 }}

Semihard 9\21 (514.3¢)
Hard 6\13 (553.8¢)
Superhard 6\13 (553.8¢)

See also