Module:MOS intro: Difference between revisions
chromatic/enharmonic -> (great)(grand)child/descendant, per discussions with fredg999 regarding use of the term "chromatic" |
m Rounding for period size in cents |
||
| Line 230: | Line 230: | ||
intro = intro .. string.format(", with a [[period]] of %d large %s", nL/n, (nL/n == 1 and "step" or "steps")) | intro = intro .. string.format(", with a [[period]] of %d large %s", nL/n, (nL/n == 1 and "step" or "steps")) | ||
intro = intro .. string.format(" and %d small %s", ns/n, (ns/n == 1 and "step" or "steps")) | intro = intro .. string.format(" and %d small %s", ns/n, (ns/n == 1 and "step" or "steps")) | ||
intro = intro .. string.format(" that repeats every % | intro = intro .. string.format(" that repeats every %s¢", utils._round(equave_in_cents / n, round)) | ||
intro = intro .. (n == 2 and " or twice every" or string.format(" or %d times every", n)) .. (equave_in_cents == 1200 and " octave." or string.format(" every interval of [[%s]] (%.d¢).", equave_as_ratio, utils._round(equave_in_cents, round))) | intro = intro .. (n == 2 and " or twice every" or string.format(" or %d times every", n)) .. (equave_in_cents == 1200 and " octave." or string.format(" every interval of [[%s]] (%.d¢).", equave_as_ratio, utils._round(equave_in_cents, round))) | ||
end | end | ||