Template:Infobox MOS: Difference between revisions

Inthar (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Abstract MOS patterns]]
<includeonly>{{#invoke: Infobox_MOS | infobox_MOS
<div style="
| Scale Signature={{{Scale Signature|{{PAGENAME}}}}}
border: 1px solid #999;
| debug={{lc:{{{debug|}}}}}
margin: 0;
}}</includeonly><noinclude>
margin-left: 1em;
{{documentation}}
margin-bottom: 0.5em;
padding: 0.5em;
background-color: #f0f0f0;
min-width: 15em;
float: right;
">
{| width="100%" style="border-collapse: collapse;"
|+ '''{{{nLargeSteps}}}L {{{nSmallSteps}}}s{{#ifeq:{{#expr:{{{Equave|2/1}}}}}|2| |&lt;{{{Equave|2/1}}}&gt;}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Brightest mode
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Pattern}}} '''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Period]]
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} {{#ifeq: {{{Periods|1}}} | 1 | '''{{{Equave|2/1}}}''' | '''1\{{{Periods|1}}}{{#ifeq: {{{Equave|2/1}}} | 2/1 | |{{User:Inthar/Template:edX|Equave={{{Equave|2/1}}}}}}}''' }}
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Range for [[bright]] [[generator]]
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{User:Inthar/Template:display range|{{#expr:{{{Equalized}}}/({{{nLargeSteps}}}+{{{nSmallSteps}}})}}|{{#expr:{{{Collapsed}}}/{{{nLargeSteps}}}}}|{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{{Collapsed}}}|Equalized={{{Equalized}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=0|nEqui=1}}|{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{{Collapsed}}}|Equalized={{{Equalized}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=1|nEqui=0}}}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Range for [[dark]] [[generator]]
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{User:Inthar/Template:display range|<!--arg1-->{{#expr:{{{Equalized}}}/({{{nLargeSteps}}}+{{{nSmallSteps}}})}}|<!--arg2-->{{#expr:{{{Collapsed}}}/{{{nLargeSteps}}}}}|<!--arg3-->{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{#expr:{{{nLargeSteps}}}/{{{Periods|1}}}-{{{Collapsed}}}}}|Equalized={{#expr:({{{nLargeSteps}}}+{{{nSmallSteps}}})/{{{Periods}}}-{{{Equalized}}}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=1|nEqui=0}}|{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{#expr:{{{nLargeSteps}}}/{{{Periods|1}}}-{{{Collapsed}}}}}|Equalized={{#expr:({{{nLargeSteps}}}+{{{nSmallSteps}}})/{{{Periods|1}}}-{{{Equalized}}}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=0|nEqui=1}}}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Parent MOS
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{#ifeq:{{#expr:{{{nSmallSteps}}}}}|{{#expr:{{{nLargeSteps}}}}}|[[{{#expr:{{formatnum:{{{nLargeSteps}}} }}}}{{User:Inthar/Template:edX|Equave={{{Equave|2/1}}}}}]]|[[{{min|{{{nLargeSteps}}}|{{{nSmallSteps}}}}}L {{#expr:{{max|{{{nLargeSteps}}} |{{{nSmallSteps}}} }}-{{min|{{{nLargeSteps}}} |{{{nSmallSteps}}} }}}}s{{#switch:{{#expr:{{{Equave|2/1}}}}}|2=|3=&#32;(tritave-equivalent)|1.5=&#32;(fifth-equivalent)|#default=&#32;({{{Equave|2/1}}}-equivalent)}}|{{#switch:{{#expr:{{{Equave|2/1}}}}}|2={{min|{{{nLargeSteps}}} |{{{nSmallSteps}}} }}L {{#expr:{{max|{{{nLargeSteps}}} |{{{nSmallSteps}}} }}-{{min|{{{nLargeSteps}}} |{{{nSmallSteps}}} }}}}s|#default={{min|{{{nLargeSteps}}} |{{{nSmallSteps}}} }}L {{#expr:{{max|{{{nLargeSteps}}} |{{{nSmallSteps}}} }}-{{min|{{{nLargeSteps}}} |{{{nSmallSteps}}} }}}}s&lt;{{{Equave|2/1}}}&gt;}}]]}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Daughter MOSes
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''[[{{#expr:{{{nSmallSteps}}}+{{{nLargeSteps}}}}}L {{{nLargeSteps}}}s{{#switch:{{#expr:{{{Equave|2/1}}}}}|2=|3=&#32;(tritave-equivalent)|1.5=&#32;(fifth-equivalent)|#default=&#32;({{{Equave|2/1}}}-equivalent)}}|{{#switch:{{#expr:{{{Equave|2/1}}}}}|2={{#expr:{{{nSmallSteps}}}+{{{nLargeSteps}}}}}L {{{nLargeSteps}}}s|#default={{#expr:{{{nSmallSteps}}}+{{{nLargeSteps}}}}}L {{{nLargeSteps}}}s&lt;{{{Equave|2/1}}}&gt;}}]], [[{{{nLargeSteps}}}L {{#expr:{{{nSmallSteps}}}+{{{nLargeSteps}}}}}s{{#switch:{{#expr:{{{Equave|2/1}}}}}|2=|3=&#32;(tritave-equivalent)|1.5=&#32;(fifth-equivalent)|#default=&#32;({{{Equave|2/1}}}-equivalent)}}|{{#switch:{{#expr:{{{Equave|2/1}}}}}|2={{{nLargeSteps}}}L {{#expr:{{{nSmallSteps}}}+{{{nLargeSteps}}}}}s|#default={{{nLargeSteps}}}L {{#expr:{{{nSmallSteps}}}+{{{nLargeSteps}}}}}s&lt;{{{Equave|2/1}}}&gt;}}]]'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Operations on MOSes#Sistering|Sister MOS]]
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''[[{{{nSmallSteps}}}L {{{nLargeSteps}}}s{{#switch:{{#expr:{{{Equave|2/1}}}}}|2=|3=&#32;(tritave-equivalent)|1.5=&#32;(fifth-equivalent)|#default=&#32;({{{Equave|2/1}}}-equivalent)}}|{{#switch:{{#expr:{{{Equave|2/1}}}}}|2={{{nSmallSteps}}}L {{{nLargeSteps}}}s|#default={{{nSmallSteps}}}L {{{nLargeSteps}}}s&lt;{{{Equave|2/1}}}&gt;}}]]'''
|-{{#if: {{{Neutral|}}}|
{{!}}
{{!}}
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Operations on MOSes#Neutralization|Neutralized MOS]]
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''[[{{{Neutral|3L 4s}}}{{#switch:{{#expr:{{{Equave|2/1}}}}}|2=|3=&#32;(tritave-equivalent)|1.5=&#32;(fifth-equivalent)|#default=&#32;({{{Equave|2/1}}}-equivalent)}}|{{#switch:{{#expr:{{{Equave|2/1}}}}}|2={{{Neutral|3L 4s}}}|#default={{{Neutral|3L 4s}}}&lt;{{{Equave|2/1}}}&gt;}}]]'''
}}
|-{{#if:{{{Name|}}}|
{{!}}
{{!}}
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[TAMNAMS#Mos_pattern_names|TAMNAMS name]]
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{#if:{{{Name|}}}|{{{Name|}}}}}''' }}
|-{{#if:{{{Other names|}}}|
{{!}}
{{!}}
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Other names
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{#if:{{{Other names|}}}|{{{Other names|}}}}}''' }}
|-
|
{{!}}colspan=2 style=" text-align:center;" {{!}} '''Equal tunings'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[TAMNAMS#Step ratio spectrum|Supersoft]] (L:s = 4:3)
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{{Collapsed}}}|Equalized={{{Equalized}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=1|nEqui=3}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[TAMNAMS#Step ratio spectrum|Soft]] (L:s = 3:2)
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{{Collapsed}}}|Equalized={{{Equalized}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=1|nEqui=2}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[TAMNAMS#Step ratio spectrum|Semisoft]] (L:s = 5:3)
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{{Collapsed}}}|Equalized={{{Equalized}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=2|nEqui=3}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[TAMNAMS#Step ratio spectrum|Basic]] (L:s = 2:1)
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{{Collapsed}}}|Equalized={{{Equalized}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=1|nEqui=1}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[TAMNAMS#Step ratio spectrum|Semihard]] (L:s = 5:2)
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{{Collapsed}}}|Equalized={{{Equalized}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=3|nEqui=2}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[TAMNAMS#Step ratio spectrum|Hard]] (L:s = 3:1)
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{{Collapsed}}}|Equalized={{{Equalized}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=2|nEqui=1}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[TAMNAMS#Step ratio spectrum|Superhard]] (L:s = 4:1)
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{User:Inthar/Template:display edo gen|Equave={{{Equave|2/1}}}|Collapsed={{{Collapsed}}}|Equalized={{{Equalized}}}|nLargeSteps={{{nLargeSteps}}}|nSmallSteps={{{nSmallSteps}}}|nColl=3|nEqui=1}}'''
|}
</div></includeonly><noinclude>


The template '''Infobox MOS''' was built to help presenting basic information about [[MOS]] patterns (such as [[5L 2s]]) 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.
[[Category:Infoboxes]]
 
[[Category:MOS scale templates]]
The templates supports the following parameters:
 
{| class="wikitable"
! width="15%" | Parameter
! width="85%" | Meaning, usage notes
|-
| Name (optional)
| The [[TAMNAMS]] name
|-
| Other names (optional)
| Other common names
|-
| Periods (default = 1)
| Number of periods per equave
|-
| nLargeSteps
| Number of large steps
|-
| nSmallSteps
| Number of small steps
|-
| Equave (default = 2/1)
| The equivalence interval
|-
| Equalized
| [[Chroma-positive]] generator of the mos pattern for the equalized (s = L) equal tuning, in steps of ed(Equave)
|-
| Collapsed
| [[Chroma-positive]] generator of the mos pattern for the collapsed (s = 0) equal tuning, in steps of ed(Equave)
|-
| Pattern
| Step pattern of the brightest mode of the mos in L's and s's.
|-
| Neutral
| The [[neutralization|neutralized]] mos structure.
|-
| Neutral range
| The generator range for the neutralized mos structure, assuming the neutralized mos was obtained from the current mos pattern.
|}
 
Usage example for [[5L 3s]]:
<nowiki>{{Infobox MOS
| Name = oneirotonic
| Periods = 1
| nLargeSteps = 5
| nSmallSteps = 3
| Equalized = 3
| Collapsed = 2
| Pattern = LLsLLsLs
| Neutralized = 2L 6s
}}</nowiki>
{{Infobox MOS
| Name = oneirotonic
| Periods = 1
| nLargeSteps = 5
| nSmallSteps = 3
| Equalized = 3
| Collapsed = 2
| Pattern = LLsLLsLs
| Neutral = 2L 6s
}}
{{Infobox MOS
| Other names = 2L 1s<1\2edf>
| Equave = 3/2
| Periods = 2
| nLargeSteps = 4
| nSmallSteps = 2
| Equalized = 2
| Collapsed = 1
| Pattern = LLsLLs
}}
 
== See also ==
 
* [[Template:Infobox ET]]
 
[[Category:Templates]]
<!-- interwiki -->
</noinclude>
</noinclude>