Module:Q-odd-limit intervals: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 174: Line 174:
local limit = math.max(tonumber (frame.args["limit"]), 2)
local limit = math.max(tonumber (frame.args["limit"]), 2)
-- local prec = tonumber (frame.args['prec']) or prec_by_equal (steps)
-- local prec = tonumber (frame.args['prec']) or prec_by_equal (steps)
local note = frame.args["note"]
local title = frame.args["title"]
local title = frame.args["title"]
if title == nil or #title == 0 then
if title == nil or #title == 0 then
Line 184: Line 185:
out_str = out_str .. "The following table shows how [[" .. frame.args["limit"] .. "-odd-limit intervals]] are represented in " .. steps .. "edo. " ..
out_str = out_str .. "The following table shows how [[" .. frame.args["limit"] .. "-odd-limit intervals]] are represented in " .. steps .. "edo. " ..
"Octave-reduced prime harmonics are in '''bold'''; inconsistent intervals are in ''italic''.\n\n"
"Octave-reduced prime harmonics are in '''bold'''; inconsistent intervals are in ''italic''.\n\n"
end
if note ~= "" then
out_str = out_str .. note .. "\n\n"
end
end
if steps == 12 then
if steps == 12 then