Search results

Types

Classes
Interfaces
Enums
Functions
Type aliases
Constants

Members

Properties
Methods
Getters
Setters
Enum members
Show privates

Other

In this module only

Function transpose

Defined in Theory.ts

(
note: PitchClasstype PitchClassPitchClass | Notetype NoteNote,
interval: number
): 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

undefined

Example

transpose('C4', 7) // => 'G4'