Module:MOS degrees: Difference between revisions
Fixed bug with default step ratio when step ratio param is blank |
No edit summary |
||
| Line 249: | Line 249: | ||
-- Step ratios | -- Step ratios | ||
-- Up to three step ratios can be entered; the default is | -- Up to three step ratios can be entered; the default is only 2/1 | ||
-- | -- Had to use parse function to make sure the default works | ||
local step_ratios = p.parse_step_ratios(frame.args['Step Ratio']) or | local step_ratios = p.parse_step_ratios(frame.args['Step Ratio']) or p.parse_step_ratios("2/1") | ||
-- Get the number of mossteps per period and equave | -- Get the number of mossteps per period and equave | ||