Module:Lumatone mapping intro: Difference between revisions
ArrowHead294 (talk | contribs) m Alphabetise dependencies |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 8: | Line 8: | ||
local tuning = frame.args["edo"] | local tuning = frame.args["edo"] | ||
local et = ET.parse(tuning) or ET.parse(tuning .. "edo") or ET.parse("12edo") | local et = ET.parse(tuning) or ET.parse(tuning .. "edo") or ET.parse("12edo") | ||
local | local debugg = yesno(frame.args["debug"]) | ||
local octave = ET.approximate(et, 2) | local octave = ET.approximate(et, 2) | ||
| Line 40: | Line 40: | ||
end | end | ||
-- Debugger option | |||
if debugg == true then | |||
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | |||
end | |||
return frame:preprocess(result) | |||
end | end | ||
return p | return p | ||