Module:MOS degrees: Difference between revisions
No edit summary |
Debugging |
||
| Line 91: | Line 91: | ||
end | end | ||
local row = { note_name | local row = { degree_name, note_name } | ||
table.insert(rows, row) | table.insert(rows, row) | ||
end | end | ||
| Line 264: | Line 264: | ||
local steps_in_et = input_mos.nL * step_ratio[1] + input_mos.ns * step_ratio[2] | local steps_in_et = input_mos.nL * step_ratio[1] + input_mos.ns * step_ratio[2] | ||
local et_for_mos = et.new(steps_in_et, input_mos.equave) | local et_for_mos = et.new(steps_in_et, input_mos.equave) | ||
result = result .. "! Scale degree !! Note name on " .. string.sub(note_symbols, 1, 1) .. " Steps !! Cents\n" | result = result .. "! Scale degree !! Note name on " .. string.sub(note_symbols, 1, 1) .. " !! Steps !! Cents\n" | ||
-- Add each row, containing a degree, note name, step count, and cent value | -- Add each row, containing a degree, note name, step count, and cent value | ||