Module:MOS tunings: Difference between revisions

Ganaram inukshuk (talk | contribs)
Undo revision 153573 by Ganaram inukshuk (talk)
Tag: Undo
Ganaram inukshuk (talk | contribs)
m Comments; todo
Line 12: Line 12:


-- TODO:
-- TODO:
-- Reinstate return-nil functionality for TIP
-- - Bugfix collapsed tuning not showing any ratios
-- - Diatonic interval category lookup?
-- - Diatonic interval category lookup?


Line 222: Line 222:
end
end


-- Parse step ratios passed into template
-- If the unparsed string is blank, default to the simple tunings.
-- If the unparsed string is any of the step ratio range names, list the named
-- ratios that fall within that range.
-- if the unparsed string is blank, don't show any ratios.
-- If the ratios is a list, parse it.
function p.parse_step_ratios(unparsed)
function p.parse_step_ratios(unparsed)
local parsed = {}
local parsed = {}