Module:MOS: Difference between revisions

Inthar (talk | contribs)
No edit summary
Inthar (talk | contribs)
No edit summary
Line 130: Line 130:
end
end


-- Find the brightest mode of a mos.
-- Find the brightest mode of a mos, using the Christoffel word algorithm.
-- We go back to the root of the scale tree, then progressively construct descendants.
function p.brightest_mode(mos)
function p.brightest_mode(mos)
local nL = mos.nL
local nL = mos.nL