Module:MOS in EDO allperiods: Difference between revisions
Force use of simplified step visualization; for testing |
m Lead section was accidentally duplicated for every period count; fixed |
||
| Line 116: | Line 116: | ||
max_number_of_periods = math.min(default_max, max_number_of_periods) | max_number_of_periods = math.min(default_max, max_number_of_periods) | ||
end | end | ||
-- Lead section | |||
-- TODO: Show period/note/subset limits if applicable | |||
local result = "" | |||
result = result .. string.format("This page lists all [[moment of symmetry]] scales in [[%iedo]].\n", edo) | |||
-- Call a for loop that produces a set of tables for each period count | -- Call a for loop that produces a set of tables for each period count | ||
| Line 121: | Line 126: | ||
-- Skip mosses with period count of edo/2, since that would immediately be | -- Skip mosses with period count of edo/2, since that would immediately be | ||
-- a degenerate mos, hence the minus 1. | -- a degenerate mos, hence the minus 1. | ||
for j = 1, max_number_of_periods do | for j = 1, max_number_of_periods do | ||
local number_of_periods = j | local number_of_periods = j | ||
| Line 134: | Line 138: | ||
starting_generator = starting_generator + 1 | starting_generator = starting_generator + 1 | ||
end | end | ||
-- Add a section header | -- Add a section header | ||