Module:MOS in EDO: Difference between revisions
mNo edit summary |
Removed unused param from step visualization function |
||
| Line 154: | Line 154: | ||
-- Helper function | -- Helper function | ||
-- Create a step visualization that's based on the table on the diasem page | -- Create a step visualization that's based on the table on the diasem page | ||
function p.step_pattern_to_simple_visualization(step_pattern | function p.step_pattern_to_simple_visualization(step_pattern) | ||
local step_pattern = step_pattern or { 2, 2, 2, 1, 2, 2, 1 } | local step_pattern = step_pattern or { 2, 2, 2, 1, 2, 2, 1 } | ||
local left_border = "├" | local left_border = "├" | ||
| Line 388: | Line 387: | ||
-- Add the step visualization | -- Add the step visualization | ||
local step_vis = p.step_pattern_to_simple_visualization(current_scale | local step_vis = p.step_pattern_to_simple_visualization(current_scale) | ||
result = result .. string.format('| %s\n', step_vis) | result = result .. string.format('| %s\n', step_vis) | ||