Module:Ups and downs notation: Difference between revisions

CompactStar (talk | contribs)
No edit summary
CompactStar (talk | contribs)
No edit summary
Line 118: Line 118:


function p.ups_and_downs_note_name(frame)
function p.ups_and_downs_note_name(frame)
return "test"
local et = ET.parse(frame.args['tuning']) or ET.parse('12edo')
-- local et = ET.parse(frame.args['tuning']) or ET.parse('12edo')
local step = tonumber(frame.args['step'])
-- local step = tonumber(frame.args['step'])
local tbl = p.get_note_names_table(et)[step]
-- local tbl = p.get_note_names_table(et)[step]
return 'test'
-- local result = ''
-- local result = ''
-- local i = 0
-- local i = 0