Module:MOS tunings: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 235: Line 235:
elseif unparsed == "Hard-of-basic" then
elseif unparsed == "Hard-of-basic" then
parsed = {{2,1}, {3,1}, {4,1}}
parsed = {{2,1}, {3,1}, {4,1}}
elseif unparsed == "" then
elseif unparsed == "" or unparsed == "Simple Tunings" then
-- Default is the simple step ratios
-- Default is the simple step ratios
parsed = {{2,1}, {3,1}, {3,2}}
parsed = {{2,1}, {3,1}, {3,2}}
Line 277: Line 277:
local collapsed  = yesno(frame.args["Collapsed"], false) -- Currently does nothing
local collapsed  = yesno(frame.args["Collapsed"], false) -- Currently does nothing
local step_ratios = p.parse_step_ratios(frame.args["Step Ratios"])
local step_ratios = p.parse_step_ratios(frame.args["Step Ratios"])
local ji_ratios  = p.parse_ji_ratios(frame.args["JI Ratios"], equave_in_cents) or jira.search_by_params({["Tenney Height"] = 8.5, ["Int Limit"] = 20, ["Prime limit"] = 17}, equave_in_cents)
local ji_ratios  = p.parse_ji_ratios(frame.args["JI Ratios"], equave_in_cents) or jira.search_by_params({["Int Limit"] = 32, ["Tenney Height"] = 9, ["Prime Limit"] = 13}, equave_in_cents)


-- Verify name/prefix/abbrev
-- Verify name/prefix/abbrev