Module:MOS in EDO allperiods: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 21: Line 21:
-- Main function
-- Main function
-- Creates tables for every mos in an edo, for every possible period count
-- Creates tables for every mos in an edo, for every possible period count
function p.mos_in_edo_allperiods(edo, max_number_of_periods, show_subsets, generation_limit, temperaments, is_debug)
function p.mos_in_edo_allperiods(edo, max_number_of_periods, show_subsets, generation_limit, temperaments)
local edo = edo or 12
local edo = edo or 12
local max_number_of_periods = max_number_of_periods or -1
local max_number_of_periods = max_number_of_periods or -1
Line 125: Line 125:
-- Add categories
-- Add categories
if not is_debug then
result = result .. string.format("\n\n[[Category:%iedo]]\n", edo)
result = result .. string.format("\n\n[[Category:%iedo]]\n", edo)
.. "[[Category:Lists of scales]]\n"
.. "[[Category:Lists of scales]]\n"
.. "[[Category:MOS scales]]"
.. "[[Category:MOS scales]]"
end
-- Debugger
-- Debugger