java.lang.Object
provided.abcMusic.musicFW.NoteCollection
provided.abcMusic.musicFW.Triplet
A musical triplet. The three notes should be played with 2/3 of their
indicated duration.
----------------------------------------------
A set of 3 notes played in sequence in a special manner.
-
Field Summary
FieldsFields inherited from class provided.abcMusic.musicFW.NoteCollection
notes
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class provided.abcMusic.musicFW.NoteCollection
getNotes
-
Field Details
-
ID
The ID value of this class- See Also:
- Constant Field Values
-
-
Constructor Details
-
Triplet
Create a new Note out of three notes- Parameters:
n1
- the first note in the tripletn2
- the second note in the tripletn3
- the third note in the triplet
-
-
Method Details
-
execute
Calls the Triplet.ID case of the visitor- Parameters:
algo
- the visitor being usedparams
- vararg list of parameters for use by the visitor- Returns:
- the result of the "Triplet" case of the visitor.
-
toString
Return string representation of the triplet
-