Module:Ups and downs notation: Difference between revisions

CompactStar (talk | contribs)
No edit summary
CompactStar (talk | contribs)
No edit summary
Line 99: Line 99:
end
end
last_major_names = note_names[last_major_note]  
last_major_names = note_names[last_major_note]  
for j = 0,#last_major_names-1 do
for j = 0,(#last_major_names)-2 do
name = string.rep("v", num_downs) .. last_major_names[j] .. string.rep("b", num_flats)
name = string.rep("v", num_downs) .. last_major_names[j] .. string.rep("b", num_flats)
table.insert(note_names[i], name)
table.insert(note_names[i], name)