Module:MOS intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
Corrected error with dark gen calculation for multi-period mosses
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 149: Line 149:
-- Add the generator range (for dark generator)
-- Add the generator range (for dark generator)
-- The dark generator range is the period complement of the bright generator's extremes
-- The dark generator range is the period complement of the bright generator's extremes,
-- or the period in cents (equave / periods) minus the size of the bright generator
intro = intro .. "or from " .. utils._round_dec(equave_in_cents / n - 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 / n - equalized_gen_in_cents, round) .. "¢."
intro = intro .. "¢ to " .. utils._round_dec(equave_in_cents / n - equalized_gen_in_cents, round) .. "¢."