Module:Ups and downs notation: Difference between revisions
CompactStar (talk | contribs) No edit summary |
CompactStar (talk | contribs) No edit summary |
||
| Line 75: | Line 75: | ||
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 | ||
last_major_note = i | last_major_note = i | ||
else | else | ||
local num_sharps = math.floor((i - last_major_note) / chroma) | local num_sharps = math.floor((i - last_major_note) / chroma) | ||