Module:MOS tunings: Difference between revisions
No edit summary |
No edit summary |
||
| Line 180: | Line 180: | ||
end | end | ||
-- Sort ratios by closeness to each degree in the modal union | |||
local sorted_ratios = {} | local sorted_ratios = {} | ||
local curr_index = 1 -- Index of current_ratio | local curr_index = 1 -- Index of current_ratio | ||
| Line 202: | Line 203: | ||
table.insert(sorted_ratios, curr_ratios) | table.insert(sorted_ratios, curr_ratios) | ||
end | end | ||
return | |||
return sorted_ratios | |||
end | end | ||