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 pitchClassesToPianoChordNotes

Defined in MusicFunctions.ts

(
pitchClasses: Arrayexternal Array<PitchClasstype PitchClassPitchClass>,
octave: number,
inversion = 0
): Arrayexternal Array<Notetype NoteNote>

Returns an array of notes that represent a chord played on a piano in a certain octave.

· pitchClasses - undefined
· octave - Octave for the chord root.
· inversion - Whether to invert the chord. 0 - root position, 1 - 1st inversion, 2 - 2nd inversion, etc...

Returns

undefined