Module:MOS intro: Difference between revisions
Added step patterns (scales of the true mos form...) to the intro |
Reworded section on mos names, simplified mentions of equaves |
||
| Line 63: | Line 63: | ||
if tamnams_names_list ~= "" and other_names_list ~= "" then | if tamnams_names_list ~= "" and other_names_list ~= "" then | ||
-- There are both tamnams names and alternate names | -- There are both tamnams names and alternate names | ||
sentence = sentence .. string.format("( | sentence = sentence .. string.format("(named %s; also known as %s),", tamnams_names_list, other_names_list) | ||
elseif tamnams_names_list ~= "" and other_names_list == "" then | elseif tamnams_names_list ~= "" and other_names_list == "" then | ||
-- There are only tamnams names | -- There are only tamnams names | ||
sentence = sentence .. string.format("( | sentence = sentence .. string.format("(named %s)", tamnams_names_list) | ||
elseif tamnams_names_list == "" and other_names_list ~= "" then | elseif tamnams_names_list == "" and other_names_list ~= "" then | ||
-- There are no tamnams names but there are alternate names | -- There are no tamnams names but there are alternate names | ||
sentence = sentence .. string.format("(also | sentence = sentence .. string.format("(also known as %s)", other_names_list) | ||
end | end | ||
| Line 101: | Line 101: | ||
sentence = sentence .. string.format("an [[octave equivalence|octave-equivalent]] [[moment of symmetry]] scale") | sentence = sentence .. string.format("an [[octave equivalence|octave-equivalent]] [[moment of symmetry]] scale") | ||
else | else | ||
sentence = sentence .. string.format("a [[non-octave]] | sentence = sentence .. string.format("a [[non-octave]] [[moment of symmetry]] scale", equave_as_ratio) | ||
end | end | ||
| Line 133: | Line 133: | ||
sentence = sentence .. string.format(" and repeating every [[octave]].") | sentence = sentence .. string.format(" and repeating every [[octave]].") | ||
elseif n == 1 and equave_in_cents ~= 1200 then | elseif n == 1 and equave_in_cents ~= 1200 then | ||
sentence = sentence .. string.format(" and repeating every interval of %s (%.3f¢).", equave_as_ratio, equave_in_cents) | sentence = sentence .. string.format(" and repeating every interval of [[%s]] (%.3f¢).", equave_as_ratio, equave_in_cents) | ||
elseif n ~= 1 and equave_in_cents == 1200 then | elseif n ~= 1 and equave_in_cents == 1200 then | ||
sentence = sentence .. string.format(", with a [[period]] of %d large step%s and %d small step%s", x, s_x, y, s_y) | sentence = sentence .. string.format(", with a [[period]] of %d large step%s and %d small step%s", x, s_x, y, s_y) | ||