Template:MOS mode degrees: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
m Added mode names to parameters table
ArrowHead294 (talk | contribs)
+Debugging option
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:MOS_mode_degrees|mos_mode_degrees_frame
<includeonly>{{#invoke: MOS_mode_degrees | mos_mode_degrees
|Scale Signature={{{Scale Signature|{{PAGENAME}}}}}
| Scale Signature={{{Scale Signature|{{PAGENAME}}}}}
|MOS Prefix={{{MOS Prefix|}}}
| MOS Prefix={{{MOS Prefix|}}}
|Mode Names={{{Mode Names|}}}
| Collapsed={{{Collapsed|}}}
|MODMOS Step Pattern={{{MODMOS Step Pattern|}}}
| Mode Names={{{Mode Names|}}}
}}</includeonly>
| MODMOS Step Pattern={{{MODMOS Step Pattern|}}}
<noinclude>This template creates a table of a mos's (or modmos's) scale degrees for each mode.
| debug={{lc:{{{debug|}}}}}
== Parameters ==
}}</includeonly><noinclude>
{| class="wikitable"
{{documentation}}
|-
! Parameters !! Required? !! Description
|-
| <pre>Scale Signature</pre> || Yes (optional on mos pages) || The mos's scale signature in the form "xL ys", or for non-octave mosses, <nowiki>"xL ys<p/q>"</nowiki>, "xL ys⟨p/q⟩", or "xL ys (p/q-equivalent)". If left blank and used on a mos page, then the page's title will be used.
|-
| <pre>MOS Prefix</pre> || No (optional) || If using TAMNAMS mosdegree naming, does the mos have a prefix?
|-
| <pre>MODMOS Step Pattern</pre> || No (optional) || Step pattern of a MODMOS.
|-
| <pre>Mode Names</pre> || No (optional) || Names for the modes of a mos.
|}
== Usage ==
 
The typical use of this template is for showing a table of scale degrees for each mode of a mos or modmos, a step pattern that deviates from the true mos pattern. Scale degrees are referred to as mosdegrees and are indexed starting at 0, per [[TAMNAMS]] parlance.
 
<pre>{{MOS mode degrees}}</pre>
 
=== Using a different scale signature ===
 
A scale signature different from the page's title can be entered as shown.
 
<pre>{{MOS mode degrees
|Scale Signature=5L 2s}}</pre>
{{MOS mode degrees
|Scale Signature=5L 2s}}
 
=== Using a different mos prefix ===
 
By default, the mos prefix is "mos". For TAMNAMS-named mosses, the mos prefix will be automatically added. For non-TAMNAMS mosses that have prefixes, enter it using the parameter "MOS Prefix", as shown.
 
<pre>{{MOS mode degrees
|Scale Signature=5L 2s
|MOS Prefix=mos}}</pre>
 
=== Using a modmos's step pattern ===
 
The modes of a modified step pattern, or modmos, can be entered instead. This changes the table to display the closest true mos modes, as well as display the modes in rotational order rather than in decreasing modal brightness.
 
<pre>{{MOS mode degrees
|Scale Signature=5L 2s
|MODMOS Step Pattern=LsLLsAs}}</pre>
{{MOS mode degrees
|Scale Signature=5L 2s
|MODMOS Step Pattern=LsLLsAs}}
 
=== Using mode names ===
 
The mode names can be entered as shown below. The number of names must exactly match the number of modes, and each mode must be separated with a semicolon.
 
<pre>{{MOS mode degrees
|Scale Signature=4L 3s
|Mode Names=Nerevarine; Vivecan; Lorkhanic; Sothic; Kagrenacan; Almalexian; Dagothic}}</pre>
{{MOS mode degrees
|Scale Signature=4L 3s
|Mode Names=Nerevarine; Vivecan; Lorkhanic; Sothic; Kagrenacan; Almalexian; Dagothic}}
 
Mode names for 5L 2s and its modmos LLsLsAs are provided by the template automatically.
 
{{MOS mode degrees
|Scale Signature=5L 2s}}
 
{{MOS mode degrees
|Scale Signature=5L 2s
|MODMOS Step Pattern=LsLLsAs}}
 
== Usage regarding modmos step patterns ==
 
The step pattern for a modmos uses the characters L and s, either arranged differently from the true mos pattern or may include the characters A, c, and d. Each character has a value represented in large and small steps. It is recommended to use a step pattern whose value of L's and s's matches that of the true mos pattern. The table below shows the sizes of each supported step type.
{| class="wikitable"
|-
! Character !! Case-sensitive? || Step name !! Size in L's and s's
|-
| L || Yes (uppercase) || The large step of a mos || L
|-
| s || No (uppercase or lowercase) || The small step of a mos|| s
|-
| c || Yes (lowercase) || The difference between a large and small step; the interval needed to add to a small step to make it a large step || L - s
|-
| A || Yes (uppercase) || An augmented step; a large step plus a chroma || 2L - s
|-
| d || Yes (lowercase) || A diminished step (or diesis in some contexts); a small step minus a chroma || -L + 2s
|}
 
As an example, the step pattern "LsLLsAs" is a modmos of 5L 2s, containing 3 large steps, 3 small steps, and one augmented step. The size of an augmented step is equivalent to that of a large step and chroma, and adding a chroma to a small step makes it a large step. In other words, the step pair "sA" is equivalent to that of "LL", since they have the same value in L's and s's, meaning that "LsLLsAs" is equal to 5 large steps and 2 small steps.


[[Category:MOS scale templates]]
</noinclude>
</noinclude>

Latest revision as of 14:02, 3 February 2025

Template documentation[view] [edit] [history] [purge]

This template creates a table of the scale degrees for each mode of a MOS or MODMOS scale.

Parameters

Parameters Required? Description
Scale Signature
Yes (optional on mos pages) The mos's scale signature in the form "xL ys", or for non-octave mosses, "xL ys<p/q>", "xL ys⟨p/q⟩", or "xL ys (p/q-equivalent)". If left blank and used on a mos page, then the page's title will be used.
MOS Prefix
No (optional) If using TAMNAMS mosdegree naming, does the mos have a prefix?
MODMOS Step Pattern
No (optional) Step pattern of a MODMOS.
Mode Names
Deprecated Names for the modes of a mos. This feature has been removed from the template, and the intended template for pairing modes with names is Template:MOS modes.

Usage

The typical use of this template is for showing a table of scale degrees for each mode of a mos or a modmos, a step pattern that deviates from the true mos pattern. Scale degrees are referred to as mosdegrees and are indexed starting at 0, per TAMNAMS parlance.

{{MOS mode degrees}}

Using a different scale signature

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

{{MOS mode degrees
| Scale Signature=5L 2s}}


Scale degrees of the modes of 5L 2s
UDP Cyclic
order
Step
pattern
Scale degree (diadegree)
0 1 2 3 4 5 6 7
6|0 1 LLLsLLs Perf. Maj. Maj. Aug. Perf. Maj. Maj. Perf.
5|1 5 LLsLLLs Perf. Maj. Maj. Perf. Perf. Maj. Maj. Perf.
4|2 2 LLsLLsL Perf. Maj. Maj. Perf. Perf. Maj. Min. Perf.
3|3 6 LsLLLsL Perf. Maj. Min. Perf. Perf. Maj. Min. Perf.
2|4 3 LsLLsLL Perf. Maj. Min. Perf. Perf. Min. Min. Perf.
1|5 7 sLLLsLL Perf. Min. Min. Perf. Perf. Min. Min. Perf.
0|6 4 sLLsLLL Perf. Min. Min. Perf. Dim. Min. Min. Perf.

Using a different mos prefix

By default, the mos prefix is "mos". For TAMNAMS-named mosses, the mos prefix will be automatically added. For non-TAMNAMS mosses that have prefixes, enter it using the parameter "MOS Prefix", as shown. The prefix is used as part of the header cell "Scale degree (<mos>degree)".

{{MOS mode degrees
| Scale Signature=5L 2s
| MOS Prefix=mos}}


Scale degrees of the modes of 5L 2s
UDP Cyclic
order
Step
pattern
Scale degree (diadegree)
0 1 2 3 4 5 6 7
6|0 1 LLLsLLs Perf. Maj. Maj. Aug. Perf. Maj. Maj. Perf.
5|1 5 LLsLLLs Perf. Maj. Maj. Perf. Perf. Maj. Maj. Perf.
4|2 2 LLsLLsL Perf. Maj. Maj. Perf. Perf. Maj. Min. Perf.
3|3 6 LsLLLsL Perf. Maj. Min. Perf. Perf. Maj. Min. Perf.
2|4 3 LsLLsLL Perf. Maj. Min. Perf. Perf. Min. Min. Perf.
1|5 7 sLLLsLL Perf. Min. Min. Perf. Perf. Min. Min. Perf.
0|6 4 sLLsLLL Perf. Min. Min. Perf. Dim. Min. Min. Perf.

For use with modmosses

Entering a modmos's step pattern

The modes of a modified step pattern, or modmos, can be entered instead. This changes the table to display the closest true mos modes, as well as display the modes in rotational order rather than in decreasing modal brightness.

{{MOS mode degrees
| Scale Signature=5L 2s
| MODMOS Step Pattern=LsLLsAs}}


Scale degrees of the modes of 5L 2s (LsLLsAs)
UDP and
alterations
Cyclic
order
Step
pattern
Scale degree (diadegree)
0 1 2 3 4 5 6 7
2|4 M6md 1 LsLLsAs Perf. Maj. Min. Perf. Perf. Min. Maj. Perf.
0|6 M5md 2 sLLsAsL Perf. Min. Min. Perf. Dim. Maj. Min. Perf.
5|1 A4md 3 LLsAsLs Perf. Maj. Maj. Perf. Aug. Maj. Maj. Perf.
3|3 A3md 4 LsAsLsL Perf. Maj. Min. Aug. Perf. Maj. Min. Perf.
1|5 M2md 5 sAsLsLL Perf. Min. Maj. Perf. Perf. Min. Min. Perf.
6|0 A1md 6 AsLsLLs Perf. Aug. Maj. Aug. Perf. Maj. Maj. Perf.
0|6 d3md d6md 7 sLsLLsA Perf. Min. Min. Dim. Dim. Min. Dim. Perf.

The step pattern for a modmos uses the characters L and s, either arranged differently from the true mos pattern or may include the characters A, c, and d. Each character has a value represented in large and small steps. It is recommended to use a step pattern whose value of L's and s's matches that of the true mos pattern. The table below shows the sizes of each supported step type.

Character Case-sensitive? Step name Size in L's and s's
L Yes (uppercase) The large step of a mos. L
s No (uppercase or lowercase) The small step of a mos. s
c Use not advised. The difference between a large and small step; the interval needed to add to a small step to make it a large step.
Since a chroma is technically an augmented unison, using it in a step pattern results in incorrect scale degrees, and thus is presented for completeness.
L − s
A Yes (uppercase) An augmented step; a large step plus a chroma. 2L − s
d Yes (lowercase) A diminished step (or diesis in some contexts); a small step minus a chroma. −L + 2s

Alterations by a chroma are the most common way to make a modmos. As an example, the step pattern "LsLLsAs" is a modmos of 5L 2s, containing 3 large steps, 3 small steps, and one augmented step. Since removing a chroma from a large step makes a small step, and adding a chroma to a large step makes an augmented step, the step sequence "As" and "LL" are the same size.

Caveats regarding closest-mode search

For each mode of a modmos, the template finds whichever that has the fewest alterations.

In cases where there are are more than one closest modes, both the brightest and darkest closest modes are provided. This doesn't always produce the mode that one may expect; for example, melodic minor (step pattern LsLLLLs) can be thought of as the Aeolian mode with a natural-6 and natural-7, but the template calculates the closest mode to be both Dorian (UDP 3|3) or Ionian (UDP 5|1).


Scale degrees of the modes of 5L 2s (LsLLLLs)
UDP and
alterations
Cyclic
order
Step
pattern
Scale degree (diadegree)
0 1 2 3 4 5 6 7
5|1 m2md
3|3 M6md
1 LsLLLLs Perf. Maj. Min. Perf. Perf. Maj. Maj. Perf.
3|3 m1md
1|5 M5md
2 sLLLLsL Perf. Min. Min. Perf. Perf. Maj. Min. Perf.
6|0 A4md 3 LLLLsLs Perf. Maj. Maj. Aug. Aug. Maj. Maj. Perf.
6|0 m6md
4|2 A3md
4 LLLsLsL Perf. Maj. Maj. Aug. Perf. Maj. Min. Perf.
4|2 m5md
2|4 M2md
5 LLsLsLL Perf. Maj. Maj. Perf. Perf. Min. Min. Perf.
2|4 d4md
0|6 M1md
6 LsLsLLL Perf. Maj. Min. Perf. Dim. Min. Min. Perf.
0|6 d3md 7 sLsLLLL Perf. Min. Min. Dim. Dim. Min. Min. Perf.

See also

  • Template:MOS modes – a similar template that shows a MOS's modes and their rotational positions.