Module:Ups and downs notation: Difference between revisions

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


-- Add sharp/up notes
-- Add sharp/up notes
local last_major_note = nil
local last_major_note = 0
for i = 0,et.size-1 do
for i = 0,et.size-1 do
if table_contains(major_note_idx, i) then
if table_contains(major_note_idx, i) then
Line 83: Line 83:
end
end
end
end
last_major_note = et.size - 1


-- Add flat/down notes
-- Add flat/down notes