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 |
- Source:
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 |