「モジュール:MOS mode degrees」の版間の差分
編集の要約なし |
編集の要約なし |
||
| (同じ利用者による、間の1版が非表示) | |||
| 112行目: | 112行目: | ||
-- Table's title | -- Table's title | ||
-- If it's for a modmos, add the step pattern | -- If it's for a modmos, add the step pattern | ||
result = result .. "|+ style=\"font-size: 105%; white-space: nowrap;\" | " .. string.format("% | result = result .. "|+ style=\"font-size: 105%; white-space: nowrap;\" | " .. string.format("%s各旋法における音階の度数", scale_sig) | ||
.. (is_true_mos and "\n" or string.format(" (%s)\n", step_pattern)) | .. (is_true_mos and "\n" or string.format(" (%s)\n", step_pattern)) | ||
.. "|-\n" | .. "|-\n" | ||
| 123行目: | 123行目: | ||
-- Add header for scale degrees | -- Add header for scale degrees | ||
result = result .. string.format("! colspan=\"%d\" class=\"unsortable\" | | result = result .. string.format("! colspan=\"%d\" class=\"unsortable\" | 音階の度数 (%sdegree)\n", #step_matrices[1], mos_prefix) | ||
-- Add second row of headers | -- Add second row of headers | ||
| 144行目: | 144行目: | ||
for j = 1, #step_matrices[i] do | for j = 1, #step_matrices[i] do | ||
local current_interval = step_matrices[i][j] | local current_interval = step_matrices[i][j] | ||
local degree_quality = tamnams. | local degree_quality = tamnams.decode_quality_japanese(current_interval, input_mos) | ||
local cell_color = p.cell_color(current_interval, input_mos) | local cell_color = p.cell_color(current_interval, input_mos) | ||