Module:Ups and downs notation: Difference between revisions
CompactStar (talk | contribs) No edit summary |
CompactStar (talk | contribs) No edit summary |
||
| Line 121: | Line 121: | ||
function p.ups_and_downs_note_name(frame) | function p.ups_and_downs_note_name(frame) | ||
local et = ET.parse(frame.args['tuning']) | local et = ET.parse(frame.args['tuning']) | ||
local | local step = tonumber(frame.args['step']) | ||
local tbl = p.get_note_names_table(et)[ | local tbl = p.get_note_names_table(et)[step] | ||
local result = '' | local result = '' | ||
local i = 0 | local i = 0 | ||