Module:MOS intro: Difference between revisions
Corrected error with dark gen calculation for multi-period mosses |
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) .. "¢." | ||