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 spellScale

Defined in MusicFunctions.ts

(pitchClasses: Arrayexternal Array<any>): PitchClasstype PitchClassPitchClass[]
ยท pitchClasses - Array of pitch classes that represent a scale.

Returns

undefined

Example

const EMajorScale = ['E', 'Gb', 'Ab', 'A', 'B', 'Db', 'Eb']; spellScale(EMajorScale) // => ['E', 'F#', 'G#', 'A', 'B', 'C#', 'D#']