Module:MOS intervals: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
Distinguished non-equave periods
Line 89: Line 89:
-- augmented and the small size is perfect.
-- augmented and the small size is perfect.
-- If i corresponds to the period, then the large and small sizes are
-- If i corresponds to the period, then the large and small sizes are
-- the same and they're perfect.
-- the same and they're perfect. This also applies to the equave.
-- For any other interval, and for generators for nL ns mosses, the
-- For any other interval, and for generators for nL ns mosses, the
-- large size is major and the small size is minor.
-- large size is major and the small size is minor.
Line 105: Line 105:
result = result .. "|" .. p.mos_interval_to_step_count_string(darkest_mode, i) .. "\n"
result = result .. "|" .. p.mos_interval_to_step_count_string(darkest_mode, i) .. "\n"
result = result .. "|Perfect\n"
result = result .. "|Perfect\n"
elseif i % steps_per_period == 0 then
elseif i % steps_per_period == 0 and i ~= mossteps_per_equave then
result = result .. "|'''" .. i .. "-mosstep (period)'''\n"
result = result .. "|'''" .. i .. "-mosstep (period)'''\n"
result = result .. "|" .. p.mos_interval_to_step_count_string(brightest_mode, i) .. "\n"
result = result .. "|Perfect\n"
result = result .. "|" .. p.mos_interval_to_step_count_string(darkest_mode, i) .. "\n"
result = result .. "|Perfect\n"
elseif i % steps_per_period == 0 and i == mossteps_per_equave then
result = result .. "|'''" .. i .. "-mosstep (equave)'''\n"
result = result .. "|" .. p.mos_interval_to_step_count_string(brightest_mode, i) .. "\n"
result = result .. "|" .. p.mos_interval_to_step_count_string(brightest_mode, i) .. "\n"
result = result .. "|Perfect\n"
result = result .. "|Perfect\n"