Module:MOS tuning spectrum: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 161: Line 161:
-- Parse depth
-- Parse depth
local depth = tonumber(args["Depth"])
local depth = tonumber(args["Depth"])
frame.args["Depth"] = tonumber(args["Depth"])
args["Depth"] = tonumber(args["Depth"])
-- Generate mediants and depths
-- Generate mediants and depths
local ratios, depths
local ratios, depths
ratios, depths = mediants.find_mediants({{1,1}, {1,0}}, depth)
ratios, depths = mediants.find_mediants({{1,1}, {1,0}}, depth)
frame.args["Ratios"] = ratios
args["Ratios"] = ratios
frame.args["Depths"] = depths
args["Depths"] = depths
-- Transfer comments from args to comments
-- Transfer comments from args to comments
Line 178: Line 178:
end
end
end
end
args["Comments"] = comments
-- Parse debug option
-- Parse debug option