Module:MOS degrees: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
m Table is functional, but formatting is missing; added TODO in comments (on line 310)
Line 286: Line 286:
-- Format the output as a table, starting with the header row
-- Format the output as a table, starting with the header row
local result = '{| class="wikitable"\n'
local result = '{| class="wikitable sortable"\n'


-- Produce the headers
-- Produce the headers
Line 308: Line 308:
-- raising any other root by one period. Repeat for all other periods.
-- raising any other root by one period. Repeat for all other periods.
-- For the last period, add the perfect root as the perfect equave.
-- For the last period, add the perfect root as the perfect equave.
-- TODO: Formatting (rounding cent values, row coloring, etc)
for i = 1, periods_per_equave do
for i = 1, periods_per_equave do
-- Add degrees from ascending chain
-- Add degrees from ascending chain