Module:Ups and downs notation: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 76: Line 76:
table.insert(
table.insert(
note_names[i],
note_names[i],
"^<sup>"
"<sup>"
.. num_ups
.. num_ups
.. "</sup>"
.. "</sup>"
Line 86: Line 86:
table.insert(
table.insert(
note_names[i],
note_names[i],
string.rep("^", num_ups)
string.rep("", num_ups)
.. last_diatonic_names[j]
.. last_diatonic_names[j]
.. string.rep("♯", num_sharps)
.. string.rep("♯", num_sharps)
Line 114: Line 114:
table.insert(
table.insert(
note_names[i],
note_names[i],
"v<sup>" .. num_downs .. "</sup>" .. last_diatonic_names[j] .. string.rep("♭", num_flats)
"<sup>" .. num_downs .. "</sup>" .. last_diatonic_names[j] .. string.rep("♭", num_flats)
)
)
else
else
table.insert(
table.insert(
note_names[i],
note_names[i],
string.rep("v", num_downs) .. last_diatonic_names[j] .. string.rep("♭", num_flats)
string.rep("", num_downs) .. last_diatonic_names[j] .. string.rep("♭", num_flats)
)
)
end
end