User:Ganaram inukshuk/Sandbox/Modmosses: Difference between revisions

Ganaram inukshuk (talk | contribs)
Ganaram inukshuk (talk | contribs)
No edit summary
Line 1: Line 1:
This page is a testing area for the following function from Module:TAMNAMS:<pre>
This page is a testing area for the following function from [[Module:TAMNAMS]]:<pre>
function p.mode_udp(input_mode, input_mos, mos_abbrev)
function p.mode_udp(input_mode, input_mos, mos_abbrev)
</pre>The function works as follows: given an arbitrary input_mode for an input_mos, find the closest true-mos mode and list the altered scale degrees (alterations) needed to produce that mode. The closest true-mos mode is the mode that requires the fewest alterations to produce the input_mode. If more than one true-mos modes satisfy this condition, then the brightest of those modes is chosen to break the tie.
</pre>The function works as follows: given an arbitrary input_mode for an input_mos, find the closest true-mos mode and list the altered scale degrees (alterations) needed to produce that mode. The closest true-mos mode is the mode that requires the fewest alterations to produce the input_mode. If more than one true-mos modes satisfy this condition, then the ''brightest'' of those modes is chosen to break the tie.


What's being tested is whether there are any cases in which the tiebreaker of using the brightest mode is not ideal. One notable example of this is melodic minor (step pattern LsLLLLs). This mode is the aeolian mode (LsLLsLL with a natural 6 and 7, but can more easily reached by flattening the 3rd degree of the ionian mode. This is considered a non-issue since ionian b3 is considered an alternate name for melodic minor.
What's being tested is whether there are any cases in which the tiebreaker of using the brightest mode is not ideal. One notable example of this is melodic minor (step pattern LsLLLLs). This mode is aeolian natural-6 natural-7, but also ionian b3. This is considered a non-issue since ionian b3 is considered an alternate name for melodic minor.


Modmosses shown here are chosen for testing purposes and may not correspond to actual scales used in practice.
Modmosses shown here are chosen for testing purposes and may not correspond to actual scales used in practice.
Line 54: Line 54:


{{MOS mode degrees|Scale Signature=5L 2s|MODMOS Step Pattern=sLLLsAs|Mode Names=Neapolitan minor; Lydian #6; Mixolydian augmented; Aeolian #4; Locrian dominant; Ionian #2; Altered diminished bb3}}
{{MOS mode degrees|Scale Signature=5L 2s|MODMOS Step Pattern=sLLLsAs|Mode Names=Neapolitan minor; Lydian #6; Mixolydian augmented; Aeolian #4; Locrian dominant; Ionian #2; Altered diminished bb3}}
Modes whose attested names don't match the given UDP:
* LsLLLLs: Ionian b3 or melodic minor; non-issue since both names are valid.
* sLLLSAs: Neapolitan minor; closest true-mos mode is phrygian.
* LLssLLL: Major locrian; closest true-mos mode is mixolydian.


== 6L 1s ==
== 6L 1s ==
{{MOS mode degrees|Scale Signature=6L 1s}}
{{MOS mode degrees|Scale Signature=6L 1s}}