Module:Ups and downs notation: Difference between revisions

CompactStar (talk | contribs)
No edit summary
CompactStar (talk | contribs)
No edit summary
Line 64: Line 64:
-- Add sharp/up notes
-- Add sharp/up notes
for i = 0,et.size-1 do
for i = 0,et.size-1 do
if u.table_contains(major_note_idx, i) then
if u._table_contains(major_note_idx, i) then
last_major_note = i
last_major_note = i
else
else
Line 90: Line 90:
-- Add flat/down notes
-- Add flat/down notes
for i = et.size-1,0,-1 do
for i = et.size-1,0,-1 do
if u.table_contains(major_note_idx, i) then
if u._table_contains(major_note_idx, i) then
last_major_note = i
last_major_note = i
else
else