Module:Ups and downs notation: Difference between revisions
CompactStar (talk | contribs) No edit summary |
CompactStar (talk | contribs) No edit summary |
||
| Line 77: | Line 77: | ||
if et.size % 7 == 0 then | if et.size % 7 == 0 then | ||
num_sharps = 0 | num_sharps = 0 | ||
num_ups = (i - last_major_note) | num_ups = (i - last_major_note) | ||
else | else | ||
num_sharps = math.floor((i - last_major_note) / chroma) | num_sharps = math.floor((i - last_major_note) / chroma) | ||