User:Ganaram inukshuk/Sandbox: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
Fleshed out rationale for encoding scheme to be used for module:mos. It's all based on vectors of L's and s's.
Ganaram inukshuk (talk | contribs)
Line 1: Line 1:
This is a sandbox page for me (Ganaram) to test out a few things before deploying things. (Expect some mess.)
This is a sandbox page for me (Ganaram) to test out a few things before deploying things. (Expect some mess.)
==Sandbox for proposed templates==
==Sandbox for proposed templates==
===Cent ruler===


=== MOS characteristics ===
<div style="height: 100px; width: 100%; background-color: powderblue; font-size: 0;">
<div style="  display: block;
 
<div style="display: inline-block; margin: 0px; outline: 1px solid; height: 100px; width: 16.667%; background-color: #eee;">L</div>
<div style="display: inline-block; margin: 0px; outline: 1px solid; height: 100px; width: 16.667%; background-color: #eee;">L</div>
<div style="display: inline-block; margin: 0px; outline: 1px solid; height: 100px; width: 16.667%; background-color: #eee;">L</div>
<div style="display: inline-block; margin: 0px; outline: 1px solid; height: 100px; width: 8.333%; background-color: gray;">s</div>
<div style="display: inline-block; margin: 0px; outline: 1px solid; height: 100px; width: 16.667%; background-color: #eee;">L</div>
<div style="display: inline-block; margin: 0px; outline: 1px solid; height: 100px; width: 16.667%; background-color: #eee;">L</div>
<div style="display: inline-block; margin: 0px; outline: 1px solid; height: 100px; width: 8.333%; background-color: gray;">s</div>
 
</div>
 
===MOS characteristics===
NOTE: not suitable for displaying intervals or scale degrees. Repurpose for other content.<div style="  display: block;
   background-color: #dddddd;
   background-color: #dddddd;
   column-fill: balance;
   column-fill: balance;
Line 15: Line 28:
     break-inside: avoid-column;
     break-inside: avoid-column;
     padding: 1em;
     padding: 1em;
     ">{{MOS mode degrees|Scale Signature=5L 2s}}</div>
     ">{{MOS mode degrees|Scale Signature=5L 2s}}
</div>
   <div style="
   <div style="
     position: relative;
     position: relative;
Line 22: Line 36:
     break-inside: avoid-column;
     break-inside: avoid-column;
     padding: 1em;
     padding: 1em;
     ">{{MOS intervals|Scale Signature=5L 2s}}</div>
     ">{{MOS intervals|Scale Signature=5L 2s}}
</div>
   <div style="
   <div style="
     position: relative;
     position: relative;
Line 70: Line 85:
</div>
</div>


===MOS intervals (using large/small instead of MmAPd) ===
===MOS intervals (using large/small instead of MmAPd)===
{| class="wikitable"
{| class="wikitable"
|+Intervals of 5L 2s
|+Intervals of 5L 2s
Line 96: Line 111:
|L1ms
|L1ms
|-
|-
| rowspan="2" |2-diastep
| rowspan="2" | 2-diastep
|Small 2-diastep
|Small 2-diastep
|L + s
|L + s
Line 103: Line 118:
|-
|-
|Large 2-diastep
|Large 2-diastep
|2L
| 2L
|342.9¢ to 480.0¢
|342.9¢ to 480.0¢
|L2ms
|L2ms
Line 120: Line 135:
| rowspan="2" |'''4-diastep'''
| rowspan="2" |'''4-diastep'''
|Small 4-diastep
|Small 4-diastep
|2L + 2s
| 2L + 2s
|480.0¢ to 685.7¢
|480.0¢ to 685.7¢
|s4ms
|s4ms
Line 146: Line 161:
|s6ms
|s6ms
|-
|-
|Large 6-diastep
| Large 6-diastep
|5L + s
|5L + s
|1028.6¢ to 1200.0¢
| 1028.6¢ to 1200.0¢
|L6ms
|L6ms
|-
|-
Line 155: Line 170:
|5L + 2s
|5L + 2s
|1200.0¢
|1200.0¢
|P7ms
| P7ms
|}
|}


=== MOS mode degrees (using large/small instead of MmAPd) ===
===MOS mode degrees (using large/small instead of MmAPd)===
{| class="wikitable sortable"
{| class="wikitable sortable"
|+Scale degree qualities of 5L 2s modes
|+Scale degree qualities of 5L 2s modes
Line 252: Line 267:
|Phrygian
|Phrygian
|6
|6
|7
| 7
|sLLLsLL
|sLLLsLL
|Perf.
|Perf.
Line 261: Line 276:
|Sm.
|Sm.
|Sm.
|Sm.
|Perf.
| Perf.
|-
|-
|<nowiki>5L 2s 0|6</nowiki>
|<nowiki>5L 2s 0|6</nowiki>
Line 269: Line 284:
|sLLsLLL
|sLLsLLL
|Perf.
|Perf.
| Sm.
|Sm.
|Sm.
|Sm.
|Sm.
|Sm.
|Sm.
| Sm.
|Sm.
|Sm.
|Sm.
| Perf.
|Sm.
|Perf.
|}
|}


=== KB vis ===
===KB vis ===
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 286: Line 301:
! rowspan="2" |Notes
! rowspan="2" |Notes
|-
|-
! Start
!Start
!Large step
!Large step
!Small step
!Small step
Line 356: Line 371:
! rowspan="2" |Type
! rowspan="2" |Type
! rowspan="2" |Visualization
! rowspan="2" |Visualization
! colspan="7" |Individual steps
! colspan="7" | Individual steps
! rowspan="2" |Notes
! rowspan="2" |Notes
|-
|-
! Start
!Start
!Size 1
!Size 1
!Size 2
!Size 2
Line 518: Line 533:
For harmonics: '''m/1''', also called '''interval-name''', is a just intonation ration that represents the mth harmonic of exactly/about r¢.
For harmonics: '''m/1''', also called '''interval-name''', is a just intonation ration that represents the mth harmonic of exactly/about r¢.


=== MOS step sizes===
===MOS step sizes===
{| class="wikitable sortable"
{| class="wikitable sortable"
|+3L 4s step sizes
|+3L 4s step sizes
Line 531: Line 546:
|-
|-
!Steps
!Steps
! Cents
!Cents
!Steps
!Steps
!Cents
!Cents
Line 542: Line 557:
|3
|3
|276.9¢
|276.9¢
|3
| 3
|211.8¢
|211.8¢
|Hide column if no ratios given
|Hide column if no ratios given
Line 555: Line 570:
|
|
|-
|-
|Bright generator
| Bright generator
|3
|3
|360¢
|360¢
Line 561: Line 576:
|369.2¢
|369.2¢
|5
|5
| 355.6¢
|355.6¢
|
|
|}
|}
Line 569: Line 584:
*JI ratios column only shows if there are any ratios to show
*JI ratios column only shows if there are any ratios to show


===Mos ancestors and descendants===
===Mos ancestors and descendants ===
{| class="wikitable"
{| class="wikitable"
!2nd ancestor
!2nd ancestor
!1st ancestor
!1st ancestor
!Mos
!Mos
! 1st descendants
!1st descendants
! 2nd descendants
!2nd descendants
|-
|-
| rowspan="4" |uL vs
| rowspan="4" |uL vs
| rowspan="4" |zL ws
| rowspan="4" |zL ws
| rowspan="4" |xL ys
| rowspan="4" |xL ys
| rowspan="2" | xL (x+y)s
| rowspan="2" |xL (x+y)s
|xL (2x+y)s
|xL (2x+y)s
|-
|-
Line 635: Line 650:
</div>
</div>


== Encoding scheme for module:mos ==
== Encoding scheme for module:mos==


=== Mossteps as a vector of L's and s's ===
===Mossteps as a vector of L's and s's===
For an arbitrary step sequence consisting of L's and s's, the sum of the quantities of L's and s's denotes what mosstep it is. EG, "LLLsL" is a 5-mosstep since it has 5 L's and s's total. This can be expressed as a vector denoting how many L's and s's there are. EG, "LLLsL" becomes { 4, 1 }, denoting 4 large steps and 1 small step.
For an arbitrary step sequence consisting of L's and s's, the sum of the quantities of L's and s's denotes what mosstep it is. EG, "LLLsL" is a 5-mosstep since it has 5 L's and s's total. This can be expressed as a vector denoting how many L's and s's there are. EG, "LLLsL" becomes { 4, 1 }, denoting 4 large steps and 1 small step.


Line 649: Line 664:
! rowspan="2" |Value
! rowspan="2" |Value
! colspan="2" |Encoded
! colspan="2" |Encoded
! colspan="4" |Decoded
! colspan="4" | Decoded
|-
|-
!Intervals with 2 sizes
!Intervals with 2 sizes
Line 664: Line 679:
|2× Augmented
|2× Augmented
|3× Augmented
|3× Augmented
|2× Augmented
| 2× Augmented
|-
|-
|1
|1
Line 691: Line 706:
|-
|-
| -2
| -2
|Small minus 1 chroma
| Small minus 1 chroma
|Perfect minus 2 chromas
|Perfect minus 2 chromas
|Diminished
| Diminished
|2× Diminished
|2× Diminished
|Diminished
|Diminished
Line 702: Line 717:
|Perfect minus 3 chromas
|Perfect minus 3 chromas
|2× Diminished
|2× Diminished
|3× Diminished
| 3× Diminished
|2× Diminished
|2× Diminished
|3× Diminished
|3× Diminished
Line 708: Line 723:
Rationale:
Rationale:


* Vectors of L's and s's can always be translated back to the original ''k''-mosstep, no matter how many chromas were added. The "unmodified" vector (the large ''k''-mosstep, or perfect ''k''-mosstep for period intervals) can be compared with the mosstep vector to produce the number of chromas.
*Vectors of L's and s's can always be translated back to the original ''k''-mosstep, no matter how many chromas were added. The "unmodified" vector (the large ''k''-mosstep, or perfect ''k''-mosstep for period intervals) can be compared with the mosstep vector to produce the number of chromas.
** Alterations by entire large steps or small steps is considered interval arithmetic.
**Alterations by entire large steps or small steps is considered interval arithmetic.


* Easy to translate values to number of chromas for mos notation. Best done with notation assigned to the brightest mode, but can be adapted for arbitrary notations by adjusting the approprite chroma offsets.
*Easy to translate values to number of chromas for mos notation. Best done with notation assigned to the brightest mode, but can be adapted for arbitrary notations by adjusting the approprite chroma offsets.


Examples of encodings for 5L 2s
Examples of encodings for 5L 2s
Line 736: Line 751:
|Gb
|Gb
|-
|-
|L
| L
|1
|1
|0
|0
Line 782: Line 797:
| -1
| -1
|Minor 5-diastep
|Minor 5-diastep
|Db
| Db
|-
|-
|4L + s
|4L + s
Line 790: Line 805:
|D
|D
|-
|-
|4L + 2s
| 4L + 2s
|6
|6
| -1
| -1
Line 885: Line 900:
|<nowiki>5L 2s 2|4</nowiki>
|<nowiki>5L 2s 2|4</nowiki>
|Aeolian (minor)
|Aeolian (minor)
|5
| 5
|3
|3
|LsLLsLL
|LsLLsLL

Revision as of 02:42, 11 June 2024

This is a sandbox page for me (Ganaram) to test out a few things before deploying things. (Expect some mess.)

Sandbox for proposed templates

Cent ruler

L
L
L
s
L
L
s

MOS characteristics

NOTE: not suitable for displaying intervals or scale degrees. Repurpose for other content.

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.
Intervals of 5L 2s
Intervals Steps
subtended
Range in cents
Generic Specific Abbrev.
0-diastep Perfect 0-diastep P0dias 0 0.0 ¢
1-diastep Minor 1-diastep m1dias s 0.0 ¢ to 171.4 ¢
Major 1-diastep M1dias L 171.4 ¢ to 240.0 ¢
2-diastep Minor 2-diastep m2dias L + s 240.0 ¢ to 342.9 ¢
Major 2-diastep M2dias 2L 342.9 ¢ to 480.0 ¢
3-diastep Perfect 3-diastep P3dias 2L + s 480.0 ¢ to 514.3 ¢
Augmented 3-diastep A3dias 3L 514.3 ¢ to 720.0 ¢
4-diastep Diminished 4-diastep d4dias 2L + 2s 480.0 ¢ to 685.7 ¢
Perfect 4-diastep P4dias 3L + s 685.7 ¢ to 720.0 ¢
5-diastep Minor 5-diastep m5dias 3L + 2s 720.0 ¢ to 857.1 ¢
Major 5-diastep M5dias 4L + s 857.1 ¢ to 960.0 ¢
6-diastep Minor 6-diastep m6dias 4L + 2s 960.0 ¢ to 1028.6 ¢
Major 6-diastep M6dias 5L + s 1028.6 ¢ to 1200.0 ¢
7-diastep Perfect 7-diastep P7dias 5L + 2s 1200.0 ¢
Tamnams suggests the name NAME for this scale, which comes from ORIGIN. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
4
5
6
7
8
9

MOS intervals (using large/small instead of MmAPd)

Intervals of 5L 2s
Interval Size(s) Steps Range in cents Abbrev.
0-diastep (root) Perfect 0-diastep 0 0.0¢ P0ms
1-diastep Small 1-diastep s 0.0¢ to 171.4¢ s1ms
Large 1-diastep L 171.4¢ to 240.0¢ L1ms
2-diastep Small 2-diastep L + s 240.0¢ to 342.9¢ s2ms
Large 2-diastep 2L 342.9¢ to 480.0¢ L2ms
3-diastep Small 3-diastep 2L + s 480.0¢ to 514.3¢ s3ms
Large 3-diastep 3L 514.3¢ to 720.0¢ L3ms
4-diastep Small 4-diastep 2L + 2s 480.0¢ to 685.7¢ s4ms
Large 4-diastep 3L + s 685.7¢ to 720.0¢ L4ms
5-diastep Small 5-diastep 3L + 2s 720.0¢ to 857.1¢ s5ms
Large 5-diastep 4L + s 857.1¢ to 960.0¢ L5ms
6-diastep Small 6-diastep 4L + 2s 960.0¢ to 1028.6¢ s6ms
Large 6-diastep 5L + s 1028.6¢ to 1200.0¢ L6ms
7-diastep (octave) Perfect 7-diastep 5L + 2s 1200.0¢ P7ms

MOS mode degrees (using large/small instead of MmAPd)

Scale degree qualities of 5L 2s modes
Mode names Ordering Step pattern Scale degree
Default Names Bri. Rot. 0 1 2 3 4 5 6 7
5L 2s 6|0 Lydian 1 1 LLLsLLs Perf. Lg. Lg. Lg. Lg. Lg. Lg. Perf.
5L 2s 5|1 Ionian (major) 2 5 LLsLLLs Perf. Lg. Lg. Sm. Lg. Lg. Lg. Perf.
5L 2s 4|2 Mixolydian 3 2 LLsLLsL Perf. Lg. Lg. Sm. Lg. Lg. Sm. Perf.
5L 2s 3|3 Dorian 4 6 LsLLLsL Perf. Lg. Sm. Sm. Lg. Lg. Sm. Perf.
5L 2s 2|4 Aeolian (minor) 5 3 LsLLsLL Perf. Lg. Sm. Sm. Lg. Sm. Sm. Perf.
5L 2s 1|5 Phrygian 6 7 sLLLsLL Perf. Sm. Sm. Sm. Lg. Sm. Sm. Perf.
5L 2s 0|6 Locrian 7 4 sLLsLLL Perf. Sm. Sm. Sm. Sm. Sm. Sm. Perf.

KB vis

Type Visualization Individual steps Notes
Start Large step Small step End
Small vis
┌╥╥╥┬╥╥┬┐
│║║║│║║││
│││││││││
└┴┴┴┴┴┴┴┘
┌
│
│
└
╥
║
│
┴
┬
│
│
┴
┐
│
│
┘
Not enough room for note names.
Large vis
┌──┬─┬─┬─┬─┬─┬──┬──┬─┬─┬─┬──┬───┐
│░░│▒│░│▒│░│▒│░░│░░│▒│░│▒│░░│░░░│
│░░│▒│░│▒│░│▒│░░│░░│▒│░│▒│░░│░░░│
│░░└┬┘░└┬┘░└┬┘░░│░░└┬┘░└┬┘░░│░░░│
│░░░│░░░│░░░│░░░│░░░│░░░│░░░│░░░│
│░█░│░░░│░░░│░░░│░░░│░░░│░░░│░█░│
└───┴───┴───┴───┴───┴───┴───┴───┘
┌──
│  
│  
│  
│  
│ X
└──
┬─┬─
│ │ 
│ │ 
└┬┘ 
 │  
 │ X
─┴──
─┬──
 │ 
 │ 
 │ 
 │  
 │ X
─┴──
─┐
 │
 │
 │
 │
 │
─┘
Black squares indicate notes one equave apart.

Contains shading characters, meant for spacing.

Type Visualization Individual steps Notes
Start Size 1 Size 2 Size 3 Size 4 Size 5 End
Multisize vis (large)
┌────┬───┬──┬───┬──┬─┬─┬────┬────┬─┬─┬──┬─┬─┬────┬──────┐
│░░░░│▒▒▒│░░│▒▒▒│░░│▒│▒│░░░░│░░░░│▒│▒│░░│▒│▒│░░░░│░░░░░░│
│░░░░│▒▒▒│░░│▒▒▒│░░│▒│▒│░░░░│░░░░│▒│▒│░░│▒│▒│░░░░│░░░░░░│
│░░░░│▒▒▒│░░│▒▒▒│░░│▒│▒│░░░░│░░░░│▒│▒│░░├─┼─┤░░░░│░░░░░░│
│░░░░│▒▒▒│░░│▒▒▒│░░│▒│▒│░░░░│░░░░│▒│▒│░░│▒│▒│░░░░│░░░░░░│
│░░░░│▒▒▒│░░├───┤░░├─┴─┤░░░░│░░░░├─┼─┤░░│▒│▒│░░░░│░░░░░░│
│░░░░│▒▒▒│░░│▒▒▒│░░│▒▒▒│░░░░│░░░░│▒│▒│░░├─┴─┤░░░░│░░░░░░│
│░░░░│▒▒▒│░░│▒▒▒│░░│▒▒▒│░░░░│░░░░│▒│▒│░░│▒▒▒│░░░░│░░░░░░│
│░░░░└─┬─┘░░└─┬─┘░░└─┬─┘░░░░│░░░░└─┼─┘░░└─┬─┘░░░░│░░░░░░│
│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│
│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│
│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│
│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│░░░░░░│
└──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
┌────
│░░░░
│░░░░
│░░░░
│░░░░
│░░░░
│░░░░
│░░░░
│░░░░
│░░░░
│░░░░
│░░░░
│░░░░
│░░░░
└────

────┬──
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
░░░░│░░
────┴──

┬───┬──
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
└─┬─┘░░
░░│░░░░
░░│░░░░
░░│░░░░
░░│░░░░
──┴────

┬───┬──
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
├───┤░░
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
└─┬─┘░░
░░│░░░░
░░│░░░░
░░│░░░░
░░│░░░░
──┴────

┬─┬─┬──
│▓│▓│░░
│▓│▓│░░
│▓│▓│░░
│▓│▓│░░
├─┴─┤░░
│▓▓▓│░░
│▓▓▓│░░
│▓▓▓│░░
└─┬─┘░░
░░│░░░░
░░│░░░░
░░│░░░░
░░│░░░░
──┴────

┬─┬─┬──
│▓│▓│░░
│▓│▓│░░
│▓│▓│░░
│▓│▓│░░
├─┼─┤░░
│▓│▓│░░
│▓│▓│░░
│▓│▓│░░
└─┼─┘░░
░░│░░░░
░░│░░░░
░░│░░░░
░░│░░░░
──┴────

──┐
░░│
░░│
░░│
░░│
░░│
░░│
░░│
░░│
░░│
░░│
░░│
░░│
░░│
──┘

X's are placeholders for note names.

Naturals only, as there is not enough room for accidentals.

May not display correctly on some devices.

Testing with unintrusive filler characters

TAMNAMS use

This article assumes TAMNAMS conventions for naming scale degrees, intervals, and step ratios.

Names for the scale degrees of xL ys, the position of the scales tones, are called mosdegrees, or prefixdegrees. Its intervals, the pitch difference between any two tones, are based on the number of large and small steps between them and are called mossteps, or prefixsteps. Both mosdegrees and mossteps use 0-indexed numbering, as opposed to using 1-indexed ordinals, such as mos-1st instead of 0-mosstep. The use of 1-indexed ordinal names is discouraged for nondiatonic MOS scales.

JI ratio intro

For general ratios: m/n, also called interval-name, is a p-limit just intonation ratio of exactly/about r¢.

For harmonics: m/1, also called interval-name, is a just intonation ration that represents the mth harmonic of exactly/about r¢.

MOS step sizes

3L 4s step sizes
Interval Basic 3L 4s

(10edo, L:s = 2:1)

Hard 3L 4s

(13edo, L:s = 3:1)

Soft 3L 4s

(17edo, L:s = 3:2)

Approx. JI ratios
Steps Cents Steps Cents Steps Cents
Large step 2 240¢ 3 276.9¢ 3 211.8¢ Hide column if no ratios given
Small step 1 120¢ 1 92.3¢ 2 141.2¢
Bright generator 3 360¢ 4 369.2¢ 5 355.6¢

Notes:

  • Allow option to show the bright generator, dark generator, or no generator.
  • JI ratios column only shows if there are any ratios to show

Mos ancestors and descendants

2nd ancestor 1st ancestor Mos 1st descendants 2nd descendants
uL vs zL ws xL ys xL (x+y)s xL (2x+y)s
(2x+y)L xs
(x+y)L xs (2x+y)L (x+y)s
(x+y)L (2x+y)s

Navbox MOS

Encoding scheme for module:mos

Mossteps as a vector of L's and s's

For an arbitrary step sequence consisting of L's and s's, the sum of the quantities of L's and s's denotes what mosstep it is. EG, "LLLsL" is a 5-mosstep since it has 5 L's and s's total. This can be expressed as a vector denoting how many L's and s's there are. EG, "LLLsL" becomes { 4, 1 }, denoting 4 large steps and 1 small step.

Alterations by adding a chroma always adds one L and subtracts one s (or subtracts one L and adds one s, if lowering by a chroma), so the sum of L's and s's, even if one of the quantities is negative, will always denote what k-mosstep that interval is. EG, raising "LLLsL" by a chroma produces the vector { 5, 0 }, and raising it by another chroma produces the vector { 6, -1 }.

Through this, the "original size" of the interval can always be deduced.

EG, the vector { 6, -2 } is given, assuming a mos of 5L 2s. Adding 6 and -2 shows that the interval is a 4-mosstep. Taking the brightest mode of 5L 2s (LLLsLLs) and truncating it to the first 4 steps (LLLs), the corresponding vector is { 3, 1 }. This is the vector to compare to. Subtracting the given vector from the comparison vector ( as { 6-3, -2-1 }) produces the vector { 3, -3 }, meaning that { 6, -2 } is the large 4-mosstep raised by 3 chromas. (A shortcut can be employed by simply subtracting only the L-values.) The decoding scheme below shows how the "large 4-mosstep plus 3 chromas" can be decoded into more familiar terms. In this example, since the large 4-mosstep is the perfect bright generator, adding 3 chromas makes it triply augmented.

Encoding scheme
Value Encoded Decoded
Intervals with 2 sizes Intervals with 1 size Nonperfectable intervals Bright gen Dark gen Period intervals
2 Large plus 2 chromas Perfect plus 2 chromas 2× Augmented 2× Augmented 3× Augmented 2× Augmented
1 Large plus 1 chroma Perfect plus 1 chroma Augmented Augmented 2× Augmented Augmented
0 Large Perfect Major Perfect Augmented Perfect
-1 Small Perfect minus 1 chroma Minor Diminished Perfect Diminished
-2 Small minus 1 chroma Perfect minus 2 chromas Diminished 2× Diminished Diminished 2× Diminished
-3 Small minus 2 chromas Perfect minus 3 chromas 2× Diminished 3× Diminished 2× Diminished 3× Diminished

Rationale:

  • Vectors of L's and s's can always be translated back to the original k-mosstep, no matter how many chromas were added. The "unmodified" vector (the large k-mosstep, or perfect k-mosstep for period intervals) can be compared with the mosstep vector to produce the number of chromas.
    • Alterations by entire large steps or small steps is considered interval arithmetic.
  • Easy to translate values to number of chromas for mos notation. Best done with notation assigned to the brightest mode, but can be adapted for arbitrary notations by adjusting the approprite chroma offsets.

Examples of encodings for 5L 2s

Interval encodings for 5L 2s
Interval in mossteps Encoding Decoding Standard notation in the key of F
Mossteps Chroma
0 0 0 Perfect 0-diastep F
s 1 -1 Minor 1-diastep Gb
L 1 0 Major 1-diastep G
L + s 2 -1 Minor 2-diastep Ab
2L 2 0 Major 2-diastep A
2L + s 3 -1 Perfect 3-diastep Bb
3L 3 0 Augmented 3-diastep B
2L + 2s 4 -1 Diminished 4-diastep Cb
3L + s 4 0 Perfect 4-diastep C
3L + 2s 5 -1 Minor 5-diastep Db
4L + s 5 0 Major 5-diastep D
4L + 2s 6 -1 Minor 6-diastep Eb
5L + s 6 0 Major 6-diastep E
5L + 2s 7 0 Perfect 7-diastep F
Mode names Ordering Step pattern Scale degree (encoded)
Default Names Bri. Rot. 0 1 2 3 4 5 6 7
5L 2s 6|0 Lydian 1 1 LLLsLLs 0 0 0 0 0 0 0 0
5L 2s 5|1 Ionian (major) 2 5 LLsLLLs 0 0 0 -1 0 0 0 0
5L 2s 4|2 Mixolydian 3 2 LLsLLsL 0 0 1 -1 0 0 -1 0
5L 2s 3|3 Dorian 4 6 LsLLLsL 0 0 -1 -1 0 0 -1 0
5L 2s 2|4 Aeolian (minor) 5 3 LsLLsLL 0 0 -1 -1 0 -1 -1 0
5L 2s 1|5 Phrygian 6 7 sLLLsLL 0 -1 -1 -1 0 -1 -1 0
5L 2s 0|6 Locrian 7 4 sLLsLLL 0 -1 -1 -1 -1 -1 -1 0