Module:MOS tuning spectrum: Difference between revisions
mNo edit summary |
No edit summary |
||
| Line 161: | Line 161: | ||
-- Parse depth | -- Parse depth | ||
local depth = tonumber(args["Depth"]) | local 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) | ||
args["Ratios"] = ratios | |||
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 | ||