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

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 187: Line 187:
if frame.args["header"] ~= "none" then
if frame.args["header"] ~= "none" then
out_str = out_str .. "The following table shows how [[" .. limit .. "-odd-limit intervals]] are represented in " .. steps .. "edo. Prime harmonics are in '''bold'''"
out_str = out_str .. "The following table shows how [[" .. limit .. "-odd-limit intervals]] are represented in " .. steps .. "edo. Prime harmonics are in '''bold'''"
end
if constcy >= limit then
if constcy >= limit then
out_str = out_str .. ".\n\nAs " .. steps .. "edo is consistent in the " .. limit .. "-odd-limit, the mappings by direct approximation and through the patent val are identical."
out_str = out_str .. ".\n\nAs " .. steps .. "edo is consistent in the " .. limit .. "-odd-limit, the mappings by direct approximation and through the patent val are identical."
else
else
out_str = out_str .. "; inconsistent intervals are in ''italic''."
out_str = out_str .. "; inconsistent intervals are in ''italic''."
end
end
out_str = out_str .. "\n\n"
out_str = out_str .. "\n\n"
if note ~= "" then
if note ~= "" then
out_str = out_str .. note .. "\n\n"
out_str = out_str .. note .. "\n\n"
end
end
if steps == 12 then
if steps == 12 then
out_str = out_str .. "Note that since the [[cent]] was defined in terms of 12edo, the absolute and relative errors for 12edo are identical.\n\n"
out_str = out_str .. "Note that since the [[cent]] was defined in terms of 12edo, the absolute and relative errors for 12edo are identical.\n\n"
end
end
end
out_str = out_str .. approx(steps, subgroup, monzo_list, title)
out_str = out_str .. approx(steps, subgroup, monzo_list, title)