Module:MOS degrees: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 378: Line 378:
local cent_value = et.cents(et_for_mos, estep_count)
local cent_value = et.cents(et_for_mos, estep_count)
cent_value = utils._round_dec(cent_value, 1)
cent_value = utils._round_dec(cent_value, 1)
-- If the mosstep is for the equave, add that name
if mossteps == mossteps_per_equave then
degree_name = degree_name .. " (equave)"
end
-- If the note corresponds to the root, say it's the equave instead
-- If the note corresponds to the root, say it's the equave instead
Line 384: Line 389:
estep_count = steps_in_et
estep_count = steps_in_et
note_name = string.sub(note_symbols, 1, 1) .. " (one equave up)"
note_name = string.sub(note_symbols, 1, 1) .. " (one equave up)"
degree_name = degree_name .. " (equave)"
end
end