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 transposePitchClass

Defined in Theory.ts

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

undefined

Example

transposePitchClass('C', 7) // => 'G'