java.lang.Object
provided.abcMusic.musicFW.NoteCollection
provided.abcMusic.musicFW.Tuplet
Class that represents a tuplet, a series of notes played in a fraction of their normal total time.
The exact fraction depends on the meter and the number of notes in the tuplet.
A triplet is a specific type of tuplet.
- Author:
- swong ---------------------------------------------- A arbitrary set of 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
-
Tuplet
Constructor for a tuplet- Parameters:
notes
- vararg list of notes that form the tuplet, in order of play.
-
-
Method Details
-
execute
Calls the Tuplet.ID case of the visitor.- Parameters:
algo
- the visitor being usedparams
- vararg list of parameters for the visitor- Returns:
- the result of the Tuplet case of the visitor.
-
toString
String representation of the tuplet:
-