Template:MOS degrees/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 1: Line 1:
{{dochead}}
{{dochead}}
== Parameters ==
=== Parameters ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 26: Line 26:
|}
|}


== Usage ==
=== Usage ===
The typical use of this template is for showing a table of scale degrees for a specific step ratio.
The typical use of this template is for showing a table of scale degrees for a specific step ratio.


<pre>{{MOS degrees}}</pre>
<pre>{{MOS degrees}}</pre>


=== Using a different scale signature ===
==== Using a different scale signature ====
A scale signature different from the page's title can be entered as shown.
A scale signature different from the page's title can be entered as shown.


Line 37: Line 37:
{{MOS degrees|Scale Signature=5L 2s}}
{{MOS degrees|Scale Signature=5L 2s}}


=== Using a different step ratio ===
==== Using a different step ratio ====
By default, cent and step values will be calculated for a step ratio of 2:1. A different step ratio can be entered as shown below. Up to 5 step ratios can be entered, written as p/q and with each ratio separated by semicolons.
By default, cent and step values will be calculated for a step ratio of 2:1. A different step ratio can be entered as shown below. Up to 5 step ratios can be entered, written as p/q and with each ratio separated by semicolons.


Line 63: Line 63:
| MOS Prefix=NONE}}
| MOS Prefix=NONE}}


=== Using notation and UDP ===
==== Using notation and UDP ====
By default, no notation is displayed unless entered as shown in the example below.
By default, no notation is displayed unless entered as shown in the example below.
<pre>{{MOS degrees
<pre>{{MOS degrees
Line 93: Line 93:
}}
}}


== Advanced usage ==
=== Advanced usage ===
=== Adding JI ratios ===
==== Adding JI ratios ====
JI ratios can be added by writing a semicolon-delimited list of entries, where each entry is an abbreviation for a scale degree, followed by a colon, followed by the JI ratio.
JI ratios can be added by writing a semicolon-delimited list of entries, where each entry is an abbreviation for a scale degree, followed by a colon, followed by the JI ratio.


Line 127: Line 127:
}}
}}


=== Showing alterations ===
==== Showing alterations ====
Alterations refer to raising scale degrees by a chroma beyond the large and small sizes of a mos. For the number of alterations added, an additional altered degree is shown from raising the large size of a scale degree and lowering the small size of a scale degree (or the perfect size for period, unison, and equaves).
Alterations refer to raising scale degrees by a chroma beyond the large and small sizes of a mos. For the number of alterations added, an additional altered degree is shown from raising the large size of a scale degree and lowering the small size of a scale degree (or the perfect size for period, unison, and equaves).
<pre>{{MOS degrees
<pre>{{MOS degrees
Line 139: Line 139:
}}
}}


== Limitations ==
=== Limitations ===
Setting the number of alterations to any value greater than 1 throws the following error:
Setting the number of alterations to any value greater than 1 throws the following error:
<pre>Lua error: Internal error: The interpreter has terminated with signal "24".</pre>
<pre>Lua error: Internal error: The interpreter has terminated with signal "24".</pre>