Class: Chord

.chord. Chord

new Chord(notes)

Chord related objects (esp. music21.chord.Chord) and methods.

Parameters:
Name Type Argument Description
notes Array.<(string|music21.note.Note|music21.pitch.Pitch)> <optional>

an Array of strings
(see music21.pitch.Pitch for valid formats), note.Note, or pitch.Pitch objects.

Properties:
Name Type Argument Default Description
length number

the number of pitches in the Chord (readonly)

pitches Array.<music21.pitch.Pitch>

an Array of Pitch objects in the chord. (Consider the Array read only and pass in a new Array to change)

isChord Boolean <optional>
true
isNote Boolean <optional>
false
isRest Boolean <optional>
false
Source:

Extends

Music21j, Copyright © 2013-2021 Michael Scott Asato Cuthbert.
Documentation generated by JSDoc 3.6.3 on Wed Jul 31st 2019 using the DocStrap template.