「モジュール:Q-odd-limit intervals」の版間の差分

Tessyrrh1016 (トーク | 投稿記録)
編集の要約なし
Tessyrrh1016 (トーク | 投稿記録)
編集の要約なし
183行目: 183行目:
.. "|+ style=\"font-size: 105%; white-space: nowrap;\" | "
.. "|+ style=\"font-size: 105%; white-space: nowrap;\" | "
local t_head_1 = "|-\n"
local t_head_1 = "|-\n"
.. "! class=\"unsortable\" | Interval and complement !! Error (abs, [[Cent|¢]]) !! Error (rel, [[Relative cent|%]])\n"
.. "! class=\"unsortable\" | 音程と補音程 !! 誤差 (絶対, [[セント|¢]]) !! 誤差 (相対, [[相対セント|%]])\n"
local t_foot = "\n|}"
local t_foot = "\n|}"
if tag ~= "none" then
if tag ~= "none" then
tag_direct = " (direct approximation, even if inconsistent)"
tag_direct = " (直接近似, 一貫性の無いものも含む)"
tag_val = " (patent val mapping)"
tag_val = " (パテントヴァルによるマッピング)"
else
else
tag_direct = ""
tag_direct = ""
229行目: 229行目:
apx = "val"
apx = "val"
end
end
out_str = "The following "
out_str = "以下の表は、"
.. string.gsub("table show", "()", {[((apx == "direct" or apx == "val") and {11} or {6})[1]] = "s"})
.. steps .. "で" .. limit .. "-奇数リミット音程がどのように表されるかを示している。素数倍音は'''太字で'''、非一貫的な音程は''斜体''で示される。"
.. " how [[" .. limit .. "-odd-limit]] intervals are represented in "
-- out_str = "The following "
.. steps .. "edo. Prime harmonics are in '''bold'''"
-- .. string.gsub("table show", "()", {[((apx == "direct" or apx == "val") and {11} or {6})[1]] = "s"})
.. ((constcy >= limit) and {".\n\nAs " .. steps .. "edo is consistent in the " .. limit .. "-odd-limit, the mappings by direct approximation and through the patent val are identical."} or {"; inconsistent intervals are in ''italics''."})[1]
-- .. " how [[" .. limit .. "-odd-limit]] intervals are represented in "
.. "\n\n"
-- .. steps .. "edo. Prime harmonics are in '''bold'''"
-- .. ((constcy >= limit) and {".\n\nAs " .. steps .. "edo is consistent in the " .. limit .. "-odd-limit, the mappings by direct approximation and through the patent val are identical."} or {"; inconsistent intervals are in ''italics''."})[1]
-- .. "\n\n"
if constcy >= limit then
if constcy >= limit then
tag = "none"
tag = "none"