Module:MOS intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
Initial creation of mos intro module; work-in-progress as wording is not finalized
 
Ganaram inukshuk (talk | contribs)
Reworded output, added links
Line 42: Line 42:
-- Add whether it's non-octave
-- Add whether it's non-octave
if is_octave_equivalent then
if is_octave_equivalent then
intro = intro .. " moment-of-symmetry scale consisting of "
intro = intro .. " [[MOS]] scale consisting of "
else
else
intro = intro .. " non-octave moment-of-symmetry scale consisting of "
intro = intro .. " [[non-octave]] [[MOS]] scale consisting of "
end
end
-- Add the step counts per period
-- Add the step counts per period
intro = intro .. nL .. " small steps and " .. ns .. " small steps, repeating"
intro = intro .. nL .. " small steps and " .. ns .. " small steps,"
-- Add the number of repetitions
-- Add the number of repetitions
if n == 1 then
if n == 1 then
intro = intro .. " every "
intro = intro .. " repating every "
elseif n == 2 then
elseif n == 2 then
intro = intro .. " twice every "
intro = intro .. " with a pattern of " .. x .. " large steps and " .. y " small steps that repeats twice every "
else
else
intro = intro .. " " .. n .. " times every "
intro = intro .. " with a pattern of " .. x .. " large steps and " .. y " small steps that repeats " .. n .. " times every "
end
end
Line 74: Line 74:
-- Add the generator range
-- Add the generator range
intro = intro .. "This mos is made using a generating ranging from " .. gen_equalized_in_cents  
intro = intro .. "This mos is made using a [[generator]] ranging from " .. gen_equalized_in_cents  
intro = intro .. "¢ to " .. gen_collapsed_in_cents .. "¢."
intro = intro .. "¢ to " .. gen_collapsed_in_cents .. "¢."