Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
Quickly added a limit to how long step patterns can be (limit is 40)
Line 134: Line 134:
end
end
local period_in_cents = equave_in_cents / number_of_periods
local period_in_cents = equave_in_cents / number_of_periods
local brightest_mode = string.format("...%d steps...", input_mos.nL+input_mos.ns)
if input_mos.nL + input_mos.ns <= 40 then
brightest_mode = mos.brightest_mode(input_mos)
end
local section_entries = {
local section_entries = {