Module:JI ratios in ED: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Troubleshooting
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 83: Line 83:
local ed = tonumber(p.parse_ed(frame.args["EDO"])) or p.parse_ed(frame.args["ED"])
local ed = tonumber(p.parse_ed(frame.args["EDO"])) or p.parse_ed(frame.args["ED"])
local equave = p.parse_equave(frame.args["EDO"]) or p.parse_ed(frame.args["ED"])
local equave = p.parse_equave(frame.args["EDO"]) or p.parse_ed(frame.args["ED"])
local primes = tip.parse_entries(frame.args["Primes"], ',') or { 3, 5, 7, 11, 13, 17, 19 }
local primes = tip.parse_numeric_entries(frame.args["Primes"], ',') or { 3, 5, 7, 11, 13, 17, 19 }
local result = p.find_ratios_in_ed_by_primes(ed, primes, 99, equave)
local result = p.find_ratios_in_ed_by_primes(ed, primes, 99, equave)