Module:MOS degrees: Difference between revisions
mNo edit summary |
m Clarified comments |
||
| Line 273: | Line 273: | ||
-- Calculate the chain lengths | -- Calculate the chain lengths | ||
-- | -- Chain lengths should be such that every nominal is shown with +1 and -1 | ||
-- and | -- chroma (EG, C, C#, and Cb), requiring a chain length of 2x+y per period | ||
local asc_chain_length = (input_mos.nL * 2 + input_mos.ns) / periods_per_equave | local asc_chain_length = (input_mos.nL * 2 + input_mos.ns) / periods_per_equave | ||
local des_chain_length = (input_mos.nL * 2 + input_mos.ns) / periods_per_equave | local des_chain_length = (input_mos.nL * 2 + input_mos.ns) / periods_per_equave | ||