Template:MOS degrees: Difference between revisions
Undo revision 117401 by Ganaram inukshuk (talk) Tag: Undo |
m Remove from mos template category |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:MOS_degrees|mos_degrees_frame | <includeonly>{{Deprecated template|MOS degrees|Template:MOS tunings}} | ||
|Scale Signature={{{Scale Signature|{{PAGENAME}}}}} | {{#invoke: MOS_degrees | mos_degrees_frame | ||
|Step Ratio={{{Step Ratio|}}} | | Scale Signature={{{Scale Signature|{{PAGENAME}}}}} | ||
|UDP={{{UDP|}}} | | Step Ratio={{{Step Ratio|}}} | ||
| | | Show Abbreviations={{{Show Abbreviations|}}} | ||
| | | Number of Alterations={{{Number of Alterations|}}} | ||
| | | JI Ratios={{{JI Ratios|}}} | ||
}}</includeonly> | | UDP={{{UDP|}}} | ||
<noinclude>This template creates a table of a | | Notation={{{Notation|}}} | ||
| MOS Prefix={{{MOS Prefix|}}} | |||
| Genchain Extend={{{Genchain Extend|}}} | |||
}}</includeonly><noinclude> | |||
{{Deprecated template|MOS degrees|Template:MOS tunings}} | |||
This template creates a table of a MOS's scale degrees, given a step ratio and a mode. | |||
{{documentation}} | |||
</noinclude> |
Latest revision as of 09:06, 11 September 2024
![]() |
Template:MOS degrees is deprecated. Please use Template:MOS tunings instead. |
This template creates a table of a MOS's scale degrees, given a step ratio and a mode.
![]() |
This template uses Lua: |
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. |
Step Ratio |
No (optional) | The step ratio of the mos, denoted as a fraction p/q and separated with a slash. If left blank, then the step ratio "2/1" is used by default. |
Show Abbreviations |
No (optional) | Whether to show degree abbreviations. Abbreviations are shown without a mos prefix, and are intended to be an aid with entering JI ratios. Enter "1" to show abbreviations. |
Number of Alterations |
No (optional) | Whether to show alterations to a mos's specific interval sizes. One alteration shows the large size with +1 chroma and the small size with -1 chroma, or for periods (including the unison and equave), the perfect size with +1 and -1 chroma. |
JI Ratios |
No (optional) | Whether to include JI ratios for certain entries. For assistance with entering ratios, see below. |
UDP |
No (optional) | The UDP representing the mode for which notation is applied; this is to be used in conjunction with notation. Due to technical limitations, using the pipe symbol is not advised and the "," character (comma) should be used instead. |
Notation |
No (optional) | The notation for note names, consisting of the naturals (written without separators), sharp symbol, and flat symbol, each separated by semicolons. For example, standard notation is entered as "CDEFGAB; #; b". Notation will not be displayed unless entered. |
MOS Prefix |
No (optional) | If using TAMNAMS mosdegree naming, does the mos have a prefix? |
Genchain Extend |
Deprecated | Additional intervals corresponding to the number of additional generators going up and/or down after those represented by the UDP. This value is per period, and the default value is the number of large steps per period. |
Degree Notation |
Deprecated | How should degrees be named? Options include TAMNAMS mosdegree naming and ordinal naming (EG, the unison is either called the 0-mosstep or 1st). |
Usage
The typical use of this template is for showing a table of scale degrees for a specific step ratio.
{{MOS degrees}}
Using a different scale signature
A scale signature different from the page's title can be entered as shown.
{{MOS degrees|Scale Signature=5L 2s}}
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.
{{MOS degrees | Scale Signature=5L 2s | Step Ratio=2/1; 3/1; 3/2}}
Changing the mos prefix
A mos-prefix, if defined under TAMNAMS, is automatically added. For mosses outside of TAMNAMS that have a prefix, enter it as shown below.
{{MOS degrees | Scale Signature=2L 5s | MOS Prefix=pel}}
Typing in "NONE" for the prefix will not show any prefixes.
{{MOS degrees | Scale Signature=4L 3s | MOS Prefix=NONE}}
Using notation and UDP
By default, no notation is displayed unless entered as shown in the example below.
{{MOS degrees | Scale Signature=7L 2s | Notation=123456789; #; b }}
By default, the mode for which nominals are applied is the symmetric mode, corresponding to a UDP of n|n. In the case of a mos with an even number of modes and therefore two "middle" modes (n+1|n and n|n+1), the brighter of the two is used as the default instead. Since some notation schemes may use a different mode as its "default", the UDP can be changed, as shown below. (Use a comma instead of the pipe | symbol.)
{{MOS degrees | Scale Signature=7L 2s | Notation=123456789; #; b | UDP=7,1}}
The template will attempt to use default notation with a default UDP if the keyword "Default" is entered. The default is standard notation on C (for 5L 2s) and diamond-mos for any nondiatonic mosses.
{{MOS degrees | Scale Signature=4L 3s | Notation=Default }}
Advanced usage
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.
To help with entering ratios, set the parameter "Show Abbreviations" to 1 to show scale degrees.
{{MOS degrees | Scale Signature=4L 3s | Show Abbreviations=1 | JI Ratios= M1md: 8/7; P2md: 77/64, 6/5; m3md: 14/11; M3md:11/8; m4md: 16/11; M4md: 11/7; P5md: 5/3; m6md: 7/4; }}
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).
{{MOS degrees | Scale Signature=4L 3s | Number of Alterations=1 }}
Limitations
Setting the number of alterations to any value greater than 1 throws the following error:
Lua error: Internal error: The interpreter has terminated with signal "24".