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

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 236: Line 236:
if not utils.value_provided(title) then
if not utils.value_provided(title) then
title = string.format("%d-odd-limit intervals in " .. steps .. "edo", limit)
title = string.format("%d-odd-limit intervals in %dedo", limit, steps)
end
end
Line 246: Line 246:
apx = "val"
apx = "val"
end
end
out_str = "The following "
out_str = string.format("The following %s how [[%d-odd-limit]] intervals are represented in %dedo. ",
.. string.gsub("table show", "()", {[((apx == "direct" or apx == "val") and 11 or 6)] = "s"})
string.gsub("table show", "()", {[((apx == "direct" or apx == "val") and 11 or 6)] = "s"}), limit, steps)
.. " how [[" .. limit .. "-odd-limit]] intervals are represented in "
.. "Prime harmonics are in '''bold'''"
.. steps .. "edo. Prime harmonics are in '''bold'''"
.. (constcy >= limit and string.format(".\n\nAs %dedo is consistent in the %d-odd-limit, "
.. (constcy >= limit and ".\n\nAs " .. steps .. "edo is consistent in the ".. limit
.. "the mappings by direct approximation and through the patent val are identical.", steps, limit)
.. "-odd-limit, the mappings by direct approximation and through the patent val are identical."
or "; inconsistent intervals are in ''italics''.")
or "; inconsistent intervals are in ''italics''.")
.. "\n\n"
.. "\n\n"