Function transposePitchClass
(): PitchClasstype PitchClassPitchClass
Transposes a pitch class by the given interval.
· pitchClass - pitch class to transpose, e.g 5, 7
· interval - The interval, e.g 5, 7
Returns
undefinedExample
transposePitchClass('C', 7) // => 'G'