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

編集の要約なし
Furcht968 (トーク | 投稿記録)
編集の要約なし
タグ: 手動差し戻し モバイル編集 モバイルウェブ編集
 
(3人の利用者による、間の11版が非表示)
45行目: 45行目:
-- Add to category of abstact mosses
-- Add to category of abstact mosses
local categories = "[[Category:Abstract MOS patterns]]"
local categories = "[[Category:抽象MOSパターン]]"
-- Add notecount category if the notecount is greater than 3
-- Add notecount category if the notecount is greater than 3
local notecount = input_mos.nL + input_mos.ns
local notecount = input_mos.nL + input_mos.ns
if notecount > 3 then
if notecount > 3 then
categories = categories .. string.format('[[Category:%d-tone scales]]', notecount)
categories = categories .. string.format('[[Category:%d音音階]]', notecount)
end
end
68行目: 68行目:
end
end
else
else
categories = categories .. '[[Category:Nonoctave]]'
categories = categories .. '[[Category:非オクターブ]]'
end
end
144行目: 144行目:
{"[[音程パターン]]", step_pattern},
{"[[音程パターン]]", step_pattern},
{"[[オクターブ]]", string.format("%s (%.1f¢)", equave_as_string, equave_in_cents)},
{"[[オクターブ]]", string.format("%s (%.1f¢)", equave_as_string, equave_in_cents)},
{"[[周期]]", string.format("%s (%.1f¢)", period_as_string, period_in_cents)}
{"[[ジェネレーターとピリオド|周期]]", string.format("%s (%.1f¢)", period_as_string, period_in_cents)}
}
}


188行目: 188行目:
local section_entries = {
local section_entries = {
{string.format("<b>%s</b>%s", section_header, equave_annotation)},
{string.format("<b>%s</b>%s", section_header, equave_annotation)},
{"[[高輝度]]", string.format("%s - %s (%.1f¢ - %.1f¢)", bright_min_in_steps, bright_max_in_steps, bright_min_in_cents, bright_max_in_cents)},
{"[[上方]]", string.format("%s - %s (%.1f¢ - %.1f¢)", bright_min_in_steps, bright_max_in_steps, bright_min_in_cents, bright_max_in_cents)},
{"[[低輝度]]", string.format("%s - %s (%.1f¢ - %.1f¢)", dark_min_in_steps, dark_max_in_steps, dark_min_in_cents, dark_max_in_cents)},
{"[[下方]]", string.format("%s - %s (%.1f¢ - %.1f¢)", dark_min_in_steps, dark_max_in_steps, dark_min_in_cents, dark_max_in_cents)},
}
}
317行目: 317行目:
{string.format("<b>%s</b>", section_header)},
{string.format("<b>%s</b>", section_header)},
{"[[TAMNAMS#Mos_pattern_names | 名称]]", tamnams_name},
{"[[TAMNAMS#Mos_pattern_names | 名称]]", tamnams_name},
{"[[TAMNAMS#Mos_pattern_names | プレフィックス]]", tamnams_prefix .. "-"},
{"[[TAMNAMS#Mos_pattern_names | 接頭辞]]", tamnams_prefix .. "-"},
{"[[TAMNAMS#Mos_pattern_names | 略記]]", tamnams_abbrev}
{"[[TAMNAMS#Mos_pattern_names | 略記]]", tamnams_abbrev}
}
}
384行目: 384行目:
section_entries = {
section_entries = {
{string.format("<b>%s</b>", section_header)},
{string.format("<b>%s</b>", section_header)},
{"Descends from", ancestor_entry};
{"起源", ancestor_entry};
{"Required step ratio range", string.format("%s", named_range)}
{"必須な全音半音比の範囲", string.format("%s", named_range)}
}
}
end
end
464行目: 464行目:
end
end
local section_header = "関連する音律"
local section_header = "近縁の音階"
local section_entries = {
local section_entries = {
{string.format("<b>%s</b>", section_header)},
{string.format("<b>%s</b>", section_header)},
{"[[Operations_on_MOSes#Parent_MOS | 親]]", parent_scalesig},
{"[[Operations_on_MOSes#Parent_MOS | 親]]", parent_scalesig},
{"[[Operations_on_MOSes#Sister_MOS | 姉妹]]", sister_scalesig},
{"[[Operations_on_MOSes#Sister_MOS | 姉妹]]", sister_scalesig},
{"[[Operations_on_MOSes#Daughter_MOS | ]]", soft_scalesig .. ", " .. hard_scalesig},
{"[[Operations_on_MOSes#Daughter_MOS | ]]", soft_scalesig .. ", " .. hard_scalesig},
{"[[Operations_on_MOSes#Neutralization | 平滑化]]", neutral_scalesig},
{"[[Operations_on_MOSes#Neutralization | 平坦化]]", neutral_scalesig},
{"[[Flought_scale | 分割]]", soft_floght_scalesig .. ", " .. hard_floght_scalesig}
{"[[Flought_scale | 分割]]", soft_floght_scalesig .. ", " .. hard_floght_scalesig}
}
}
513行目: 513行目:
}
}
local section_header = "平均律チューニング"
local section_header = "平均律による調律"
local equave_annotation = ""
local equave_annotation = ""
if rat.eq(input_mos.equave, 3) then
if rat.eq(input_mos.equave, 3) then