Module:MOS tunings: Difference between revisions

Ganaram inukshuk (talk | contribs)
m pass in step ratios
Ganaram inukshuk (talk | contribs)
m added default step ratios
Line 156: Line 156:
local collapsed  = yesno(frame.args["Collapsed"], false) -- Currently does nothing
local collapsed  = yesno(frame.args["Collapsed"], false) -- Currently does nothing
local step_ratios = tip.parse_numeric_pairs(frame.args["Step Ratios"])
local step_ratios = tip.parse_numeric_pairs(frame.args["Step Ratios"])
-- If the table is size zero, defualt to simple tunings
if #step_ratios == 0 then
step_ratios = tip.parse_numeric_pairs("2/1; 3/1; 3/2")
end
-- Parse scalesig
-- Parse scalesig
Line 168: Line 173:


function p.tester()
function p.tester()
return tip.parse_numeric_pairs("1/2; 3/4; 5/6")
return tip.parse_numeric_pairs("")
end
end


return p
return p