Function transpose
(): string
Transposes a pitch class or a note by the given interval.
· note - note to transpose, e.g 5, 7
· interval - The interval, e.g 5, 7
Returns
undefinedExample
transpose('C4', 7) // => 'G4'
Transposes a pitch class or a note by the given interval.
transpose('C4', 7) // => 'G4'