Function spellScale
(pitchClasses: Arrayexternal Array<any>): PitchClasstype PitchClassPitchClass[]
ยท pitchClasses - Array of pitch classes that represent a scale.
Returns
undefinedExample
const EMajorScale = ['E', 'Gb', 'Ab', 'A', 'B', 'Db', 'Eb']; spellScale(EMajorScale) // => ['E', 'F#', 'G#', 'A', 'B', 'C#', 'D#']