Module:Ups and downs notation: Difference between revisions

CompactStar (talk | contribs)
No edit summary
CompactStar (talk | contribs)
No edit summary
Line 82: Line 82:
local j = 0
local j = 0
while j < #names do
while j < #names do
names[j] = string.rep("^", ups) .. note_names[last_major_note][j] .. string.rep("#", sharps)
names[j] = string.rep("^", num_ups) .. note_names[last_major_note][j] .. string.rep("#", num_sharps)
j = j + 1
j = j + 1
end
end