Harmony Object
Represents a type of chord.
A new Harmony can be created with:
harmony = new Harmony(); or
harmony = new Harmony(curScore);.
Once created and set, a Harmony can be attached to a Chord or to a Rest with the Chord.addHarmony(harmony) or with the Rest.addHarmony(harmony) methods respectively.
See also:
Properties
| Name | Type | Description |
|---|---|---|
| base | integer | tonal pitch class of the chord base |
| id | integer | the chord id, as in styles/chords.xml |
| root | integer | tonal pitch class of the chord root. |
Methods
None.