Module:MOS tunings: Difference between revisions
m update todo |
m update todo |
||
| Line 11: | Line 11: | ||
-- TODO: | -- TODO: | ||
-- - Transfer round functions and range lookup to tamnams module | |||
-- - JI ratio input?? | -- - JI ratio input?? | ||
-- - Diatonic interval category lookup?!! | -- - Diatonic interval category lookup?!! | ||
| Line 241: | Line 242: | ||
function p.mos_tunings(frame) | function p.mos_tunings(frame) | ||
-- Get params | -- Get params | ||
local scalesig | local scalesig = frame.args["Scale Signature"] | ||
local mos_prefix = frame.args["MOS Prefix"] | local mos_prefix = frame.args["MOS Prefix"] | ||
local mos_abbrev = frame.args["MOS Abbrev"] | local mos_abbrev = frame.args["MOS Abbrev"] | ||
local collapsed | local collapsed = yesno(frame.args["Collapsed"], false) -- Currently does nothing | ||
local step_ratios = tip.parse_numeric_pairs(frame.args["Step Ratios"]) or {{2,1}, {3,1}, {3,2}} | local step_ratios = tip.parse_numeric_pairs(frame.args["Step Ratios"]) or {{2,1}, {3,1}, {3,2}} | ||
local ji_ratios = tip.parse_numeric_pairs(frame.args["JI Ratios"] ) or {{1,1}, {3,2}, {2,1}} | |||
-- Parse scalesig | -- Parse scalesig | ||