Module:MOS gamut: Difference between revisions
No edit summary |
No edit summary |
||
| Line 253: | Line 253: | ||
-- The default generators_up value corresponds to the brightest mode, | -- The default generators_up value corresponds to the brightest mode, | ||
-- unless the mos is 5L 2s, then it's the 2nd-brightest mode | -- unless the mos is 5L 2s, then it's the 2nd-brightest mode | ||
local generators_up = frame.args['Bright Gens Up'] or mossteps_per_equave - periods | local generators_up = tonumber(frame.args['Bright Gens Up']) or mossteps_per_equave - periods | ||
local scale_sig = mos.as_string(input_mos) | local scale_sig = mos.as_string(input_mos) | ||
if scale_sig == "5L 2s" then | if scale_sig == "5L 2s" then | ||