「モジュール:MOS intro」の版間の差分
編集の要約なし |
編集の要約なし タグ: モバイル編集 モバイルウェブ編集 |
||
| (同じ利用者による、間の5版が非表示) | |||
| 230行目: | 230行目: | ||
-- This is done through the aid of a helper function | -- This is done through the aid of a helper function | ||
local intro = p.mos_intro_names(scale_sig, tamnams_pasred, other_parsed) | local intro = p.mos_intro_names(scale_sig, tamnams_pasred, other_parsed) | ||
-- Add step counts | -- Add step counts | ||
| 263行目: | 253行目: | ||
else | else | ||
intro = intro .. string.format("%sを周期とする[[MOSスケール]]である。", equave_as_ratio) | intro = intro .. string.format("%sを周期とする[[MOSスケール]]である。", equave_as_ratio) | ||
end | |||
-- Add repetition | |||
if n == 1 then | |||
intro = intro .. (equave_in_cents == 1200 and "[[オクターブ]]" or string.format("[[%s]] (%.1f{{cent}})の音程", equave_as_ratio, equave_in_cents, round)) .. "の中で" | |||
else | |||
intro = intro .. string.format("この音階は、%d個の広い音程と%d個の狭い音程からなる繰り返しが", nL/n, ns/n) | |||
intro = intro .. string.format("%.1f{{cent}}ごとに、つまり", period_in_cents) | |||
intro = intro .. (equave_in_cents == 1200 and "[[オクターブ]]" or string.format("[[%s]] (%.1f{{cent}})の音程", equave_as_ratio, equave_in_cents, round)) .. string.format("につき%d回繰り返される。", n) | |||
end | end | ||
| 296行目: | 296行目: | ||
-- Rothenberg propriety (rothenprop) info | -- Rothenberg propriety (rothenprop) info | ||
if ns == 1 then | if ns == 1 then | ||
intro = intro .. " | intro = intro .. "この形式の音階は、狭い音程が1つしかないため、常に{{En仮リンク|厳密に適正|Rothenberg propriety}}となる。" | ||
elseif ns / n == 1 then | elseif ns / n == 1 then | ||
intro = intro .. " | intro = intro .. "全ての周期が等しく、真にMOSである場合は、1周期につき狭い音程が1つしかないため、{{En仮リンク|厳密に適正|Rothenberg propriety}}である。" | ||
end | end | ||