Function getPitchClassesInterval
(): number
Calculate the pure interval between 2 pitch classes.
· pitchClass1 - first note
· pitchClass2 - second note
Returns
undefinedExample
getPitchClassesInterval('C', 'E') // 4
Calculate the pure interval between 2 pitch classes.
getPitchClassesInterval('C', 'E') // 4