Module:MOS: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
m Added function skeleton for finding the udp of a mode
Line 190: Line 190:
function p.mode_from_mos(mos, bright_gens_going_down)
function p.mode_from_mos(mos, bright_gens_going_down)
return p.rotate_mode(p.brightest_mode(mos), bright_gens_going_down * p.bright_gen_step_count(mos))
return p.rotate_mode(p.brightest_mode(mos), bright_gens_going_down * p.bright_gen_step_count(mos))
end
-- Given a string that represents a mode, return its udp.
-- If a mode is for a modmos, it will return the closest brightest mode followed
-- by its altered scale degrees.
function p.mode_udp(mos, mode)
end
end