Module:Diatonic interval category

From Xenharmonic Reference
Revision as of 08:08, 16 December 2025 by Vector (talk | contribs)

Documentation for this module may be created at Module:Diatonic interval category/doc

local p = {}
local d = require("Module:Diatonic")

function p.diatonic_interval_category(frame)
f = tonumber(frame.args[1])
o = tonumber(frame.args[2])
str = "A " .. d.qualityAsName(f,o) .. " " .. d.degreeAsName(f,o) .. " (" .. d.qualityAsLetter(f,o)

return str
end

return p