Module:MOS tunings: Difference between revisions
If a step ratio is named, the ratio it represents is also displayed |
m added links to equal tunings |
||
| Line 198: | Line 198: | ||
local et_as_string = et.as_string(mos.mos_to_et(input_mos, step_ratios[i])) | local et_as_string = et.as_string(mos.mos_to_et(input_mos, step_ratios[i])) | ||
local header_text = string.format("%s<br>%s", step_ratio_as_text, et_as_string) | local header_text = string.format("%s<br>[[%s]]", step_ratio_as_text, et_as_string) | ||
result = result .. string.format("! colspan=\"2\" | %s\n", header_text) | result = result .. string.format("! colspan=\"2\" | %s\n", header_text) | ||
end | end | ||
| Line 209: | Line 209: | ||
end | end | ||
-- Add a for each scale degree | -- Add a row for each scale degree | ||
for i = 1, #modal_union do | for i = 1, #modal_union do | ||
local interval = modal_union[i] | local interval = modal_union[i] | ||