User:Ganaram inukshuk/Sandbox: Difference between revisions

Ganaram inukshuk (talk | contribs)
Removed sandboxed mos mode documentation, as syntax highlighting errors have been fixed
Ganaram inukshuk (talk | contribs)
Mos intro text: Simplified mos intro text into 4 (maybe 6) cases
Line 864: Line 864:


=== Mos intro text ===
=== Mos intro text ===
'''nxL nys <nowiki><p/q></nowiki>''' is '''a p/q-equivalent''' moment-of-symmetry (or mos) consisting of x large step and y small steps that '''repeats n times per equivalence interval'''. This mos is generated using an interval ranging from '''g_equalized''' to '''g_collapsed''' cents.
The intro text for a mos page will take on one of four forms:
{| class="wikitable"
|+
!Equave
!Periods
!Intro text
|-
| rowspan="3" |2/1
|1
|'''xL ys''' is a moment-of-symmetry scale consisting of '''x''' large steps and '''y''' small steps, repeating every octave. This mos is generated using an interval ranging from '''g_equ''' to '''g_col''' cents.
|-
|2
|'''2xL 2ys''' is a moment-of-symmetry scale consisting of '''x''' large steps and '''y''' small steps, repeating twice every octave, or every period of '''period_cents'''. This mos is generated using an interval ranging from '''g_equ''' to '''g_col''' cents.
|-
|3 or more
|'''nxL nys''' is a moment-of-symmetry scale consisting of '''x''' large steps and '''y''' small steps, repeating '''n''' times every octave, or every period of '''period_cents'''. This mos is generated using an interval ranging from '''g_equ''' to '''g_col''' cents.
|-
| rowspan="3" |Non-octave
|1
|'''xL ys <nowiki><p/q></nowiki>''' is an non-octave moment-of-symmetry scale consisting of '''x''' large steps and '''y''' small steps, repeating every interval of '''p/q'''. This mos is generated using an interval ranging from '''g_equ''' to '''g_col''' cents.
|-
|2
|'''2xL 2ys <nowiki><p/q></nowiki>''' is an non-octave moment-of-symmetry scale consisting of '''x''' large steps and '''y''' small steps, repeating twice every interval of '''p/q''', or every period of '''period_cents'''. This mos is generated using an interval ranging from '''g_equ''' to '''g_col''' cents.
|-
|3 or more
|'''nxL nys <nowiki><p/q></nowiki>''' is an non-octave moment-of-symmetry scale consisting of '''x''' large steps and '''y''' small steps, repeating '''n''' times every interval of '''p/q''', or every period of '''period_cents'''. This mos is generated using an interval ranging from '''g_equ''' to '''g_col''' cents.
|}


The wording is meant to be as general as possible. Possible changes and additions are made based on the mos and equivalence interval.
* Changes according to the mos:
** If the mos '''nxL nys <nowiki><p/q></nowiki>''' is a multi-period mos (n is greater than 1):
*** The words '''multi-period''' are added after '''a p/q-equivalent'''.
*** The words '''repeats n times per equivalence interval''' continues with the words ''', or once at the period of period_cents'''.
*** The words '''repeats n times''' has n be replaced by the value of n itself.
**** If n is 2, then the wording becomes '''repeats twice'''.
** If the mos '''nxL nys <nowiki><p/q></nowiki>''' is a single-period mos (n is exactly 1):
*** The words '''repeats n times''' is replaced with '''repeats at the'''.
* Changes according to the equivalence interval:
** If the equivalence interval '''p/q''' is 2/1:
*** The mos '''nxL nys <nowiki><p/q></nowiki>''' is replaced with '''nxL nys''', as the absence of an equivalence interval typically refers to an octave-equivalent scale.
*** The words '''a p/q-equivalent''' are replaced with '''octave-equivalent'''.
*** The words '''per equivalence interval''' is replaced with '''every octave'''.
* Values:
* Values:
** '''period_cents''' is the cent value of the period and is expressed both as edsteps and cent values. This value is added only for multi-period mosses.
**'''period_cents''' is the cent value of the period and is expressed both as edsteps and cent values. This value is added only for multi-period mosses.
** '''g_equalized''' and '''g_collapsed''' refer to the sizes of the generator, expressed both as edsteps and cent values. These should be calculated using the mos module.
**'''g_equ''' and '''g_col''' refer to the sizes of the generator, expressed both as edsteps and cent values. These should be calculated using the mos module.
* Links to other pages should also be included, mainly "moment-of-symmetry".
* Links to other pages should also be included, mainly "moment-of-symmetry".