( ⇒ In Musescore press Ctrl+Shift+P, then F1 to bring it up. )
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.
Name | Type | Description |
---|---|---|
base | integer | Tonal Pitch Class enum of the chord base |
id | integer | the chord id, as in styles/chords.xml |
root | integer | Tonal Pitch Class enum of the chord root. |
None.