Module:MOS degrees: Difference between revisions

Ganaram inukshuk (talk | contribs)
Added a new function as part of a future rewrite
Ganaram inukshuk (talk | contribs)
m Commented out test values
Line 55: Line 55:
function p.mos_degreechain(input_mos, genchain_length_per_period, going_up)
function p.mos_degreechain(input_mos, genchain_length_per_period, going_up)
-- Default parameters for testing
-- Default parameters for testing
--[[
local input_mos = input_mos or mos.new(6, 2, 2)
local input_mos = input_mos or mos.new(6, 2, 2)
local genchain_length_per_period = genchain_length_per_period or 10
local genchain_length_per_period = genchain_length_per_period or 10
local going_up = true
local going_up = true
]]--
-- Get the number of mossteps per period and equave
-- Get the number of mossteps per period and equave