「モジュール:MOS tunings」の版間の差分

Furcht968 (トーク | 投稿記録)
編集の要約なし
Furcht968 (トーク | 投稿記録)
編集の要約なし
 
65行目: 65行目:
and step_ratios[2][1] == 2 and step_ratios[2][2] == 1
and step_ratios[2][1] == 2 and step_ratios[2][2] == 1
and step_ratios[3][1] == 3 and step_ratios[3][2] == 1 then
and step_ratios[3][1] == 3 and step_ratios[3][2] == 1 then
return "Simple Tunings", {{2, 1}, {3, 1}, {3, 2}}
return "簡易な調律", {{2, 1}, {3, 1}, {3, 2}}
end
end
end
end
78行目: 78行目:
step_ratio_range = tamnams.find_step_ratio_range_for_ratio_pair(lower_ratio, upper_ratio)
step_ratio_range = tamnams.find_step_ratio_range_for_ratio_pair(lower_ratio, upper_ratio)
if step_ratio_range ~= nil then
if step_ratio_range ~= nil then
step_ratio_range = p.capitalize_first(step_ratio_range) .. " Tunings"
step_ratio_range = p.capitalize_first(step_ratio_range) .. "調律"
else
else
step_ratio_range = "Tunings"
step_ratio_range = "調律"
end
end
elseif #step_ratios == 1 then
elseif #step_ratios == 1 then
step_ratio_range = tamnams.lookup_step_ratio(step_ratios[1])
step_ratio_range = tamnams.lookup_step_ratio(step_ratios[1])
if step_ratio_range ~= nil then
if step_ratio_range ~= nil then
step_ratio_range = p.capitalize_first(step_ratio_range) .. " Tuning"
step_ratio_range = p.capitalize_first(step_ratio_range) .. "調律"
else
else
step_ratio_range = string.format("%s/%s", step_ratios[1][1], step_ratios[1][2]) .. " Tuning"
step_ratio_range = string.format("%s/%s", step_ratios[1][1], step_ratios[1][2]) .. "調律"
end
end
else
else
step_ratio_range = "Tunings"
step_ratio_range = "調律"
end
end