User:Ganaram inukshuk/Sandbox: Difference between revisions

Ganaram inukshuk (talk | contribs)
Module sandbox: Testing out MOS modes template
Ganaram inukshuk (talk | contribs)
Module and template sandbox: Added dsecription for text for a possible mos intro template
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.)
== Infobox test ==
{{Infobox MOS|Tuning=5L 2s|debug=1}}
See side. Preparation for making mos pages.
Collapsed and equalized fields are the following: denote the bright generator as a substring as the brightest mode. Collapsed is the number of L's in the string, and equalized is the length of the string.


== Math symbols test ==
== Math symbols test ==
Line 868: Line 862:
Using [[Module:MOS modes]]{{#invoke:MOS_modes|modes_table}}
Using [[Module:MOS modes]]{{#invoke:MOS_modes|modes_table}}
Example use of [[Template:MOS modes]]{{MOS modes|Tuning=5L 2s}}
Example use of [[Template:MOS modes]]{{MOS modes|Tuning=5L 2s}}
{{MOS modes|Tuning=4L 2s}}{{MOS modes|Tuning=4L 5s <3/1>}}
{{MOS modes|Tuning=4L 5s<3/1>}}
 
== Template text sandbox ==
This section is to test out possible wordings for text-based templates, such as for the edo intro template.
 
=== Mos intro text ===
'''nxL nys''' refers to '''a p/q-equivalent''' moment-of-symmetry scale consisting of '''a pattern of''' x large step and y small steps that '''repeats n times per equivalence interval of p/q'''. This mos is generated using an interval ranging from '''g_equalized''' to '''g_collapsed''' 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''' 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 p/q-equivalence interval''' continues with the words ''', or once every 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''' is a single-period mos (n is exactly 1):
*** The words '''repeats n times''' is replaced with '''repeats once'''.
* Changes according to the equivalence interval:
** If '''a p/q-equivalent''' refers to the equivalence interval 2/1, then every instance of '''p/q''' is replaced with the word '''octave'''.
* 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.
** '''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.