Module:Infobox chord: Difference between revisions

Rework and simplify the subharmonic notation
Change to en dash cuz the figure dash looks identical to a hyphen on my ipad
Line 131: Line 131:
table.insert(infobox_data, {"Subharmonics", "1/(" .. table.concat(subharmonics, ":") .. ")"})
table.insert(infobox_data, {"Subharmonics", "1/(" .. table.concat(subharmonics, ":") .. ")"})
end
end
table.insert(infobox_data, {"Intervals from root", table.concat(root_interval_links, " ‒ ")})
table.insert(infobox_data, {"Intervals from root", table.concat(root_interval_links, " – ")})
table.insert(infobox_data, {"Cents from root", table.concat(root_cents_steps, "")})
table.insert(infobox_data, {"Cents from root", table.concat(root_cents_steps, " ")})


if prime_limit < 96 then
if prime_limit < 96 then