Module:MOS intervals: Difference between revisions

Ganaram inukshuk (talk | contribs)
Adopt verify functions, rewrite for code readability, add option for collapsing intervals table
Ganaram inukshuk (talk | contribs)
m Rewording
Line 185: Line 185:
end
end
result = result
result = result
.. string.format(" Each interval, apart from %s (%s), has two varieties or sizes each.", period_interval_desc, period_intervals_as_text)
.. string.format(" Each interval, apart from %s (%s), has two varieties, or sizes, each.", period_interval_desc, period_intervals_as_text)
local gen_qualities_desc = input_mos.nL == input_mos.ns and "." or string.format(", and augmented, perfect, and diminished for the generators of %s.", mos_name or scalesig)
result = result
result = result
.. string.format(" Interval varieties are named major and minor for the large and small sizes, respectively%s", gen_qualities_desc)
.. " Interval varieties are named major and minor for the large and small sizes, respectively"
.. (input_mos.nL == input_mos.ns and "." or ", and augmented, perfect, and diminished for the scale's generators.")
return result
return result