Module:MOS degrees: Difference between revisions
No edit summary |
No edit summary |
||
| Line 52: | Line 52: | ||
-- How far these extend is dependent on UDP | -- How far these extend is dependent on UDP | ||
-- TODO: separate this into a helper module called "MOS notation" | -- TODO: separate this into a helper module called "MOS notation" | ||
function p.mos_degrees(input_mos, step_ratio | function p.mos_degrees(input_mos, udp, step_ratio) | ||
local input_mos = input_mos or mos.new(5, 2, 2) | local input_mos = input_mos or mos.new(5, 2, 2) | ||
local step_ratio = step_ratio or { 2, 1 } | local step_ratio = step_ratio or { 2, 1 } | ||
| Line 311: | Line 311: | ||
-- Get the scale degrees | -- Get the scale degrees | ||
local degrees = p.mos_degrees(input_mos, step_ratio | local degrees = p.mos_degrees(input_mos, udp, step_ratio) | ||
-- Format the output as a table, starting with the header row | -- Format the output as a table, starting with the header row | ||