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

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 186: Line 186:
local out_str = ""
local out_str = ""
if frame.args["header"] ~= "none" then
if frame.args["header"] ~= "none" then
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 [[" .. limit .. "-odd-limit intervals]] are represented in " .. steps .. "edo. Odd harmonics are in '''bold'''"
"Octave-reduced prime harmonics are in '''bold'''"
end
end
if constcy >= limit then
if constcy >= limit then
out_str = out_str .. "."
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''."
Line 199: Line 198:
end
end
if steps == 12 then
if steps == 12 then
out_str = out_str .. "Note that since the [[cent]] was defined specifically in terms of 12edo, the absolute and relative errors are the same.\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
out_str = out_str .. approx(steps, subgroup, monzo_list, title)
out_str = out_str .. approx(steps, subgroup, monzo_list, title)