Module:MOS intro: Difference between revisions

Inthar (talk | contribs)
Typo: repating → repeating
Ganaram inukshuk (talk | contribs)
Corrected error with dark gen calculation for multi-period mosses
Line 149: Line 149:
-- Add the generator range (for dark generator)
-- Add the generator range (for dark generator)
-- The dark generator range is the complement of the bright generator's extremes
-- The dark generator range is the period complement of the bright generator's extremes
intro = intro .. "or from " .. utils._round_dec(equave_in_cents - collapsed_gen_in_cents, round)
intro = intro .. "or from " .. utils._round_dec(equave_in_cents / n - collapsed_gen_in_cents, round)
intro = intro .. "¢ to " .. utils._round_dec(equave_in_cents - equalized_gen_in_cents, round) .. "¢."
intro = intro .. "¢ to " .. utils._round_dec(equave_in_cents / n - equalized_gen_in_cents, round) .. "¢."
return intro
return intro