Module:MOS gamut: Difference between revisions
import gcd from utils |
Fixed error with genchain lengths, since mos notation function was bugfixed |
||
| Line 97: | Line 97: | ||
-- How long are the genchains? Length is per period | -- How long are the genchains? Length is per period | ||
local ascending_genchain_length = gens_up_per_period + genchain_extend | -- Genchain length counts the root, hence the +1 | ||
local descending_genchain_length = gens_down_per_period + genchain_extend | local ascending_genchain_length = gens_up_per_period + genchain_extend + 1 | ||
local descending_genchain_length = gens_down_per_period + genchain_extend + 1 | |||
-- Get the ascending and descending genchains | -- Get the ascending and descending genchains | ||