public abstract class VoiceSplittingModelState extends MidiModelState
VoiceSplittingModelState is a MidiModelState which contains
a List of Voices into which the incoming MIDI data has been split. In
order to get these voices, the getVoices() method should be called.| Constructor and Description |
|---|
VoiceSplittingModelState() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.TreeSet<? extends VoiceSplittingModelState> |
close()
Return a TreeSet of all of the possible MidiModelStates which we could tansition into
when the input closes.
|
abstract java.util.List<Voice> |
getVoices()
Gets the Voices which are contained by this state currently.
|
abstract java.util.TreeSet<? extends VoiceSplittingModelState> |
handleIncoming(java.util.List<MidiNote> notes)
Return a TreeSet of all of the possible MidiModelStates which we could tansition into
given the List of MidiNotes.
|
java.lang.String |
toString() |
getScorepublic abstract java.util.List<Voice> getVoices()
public abstract java.util.TreeSet<? extends VoiceSplittingModelState> handleIncoming(java.util.List<MidiNote> notes)
MidiModelStatehandleIncoming in class MidiModelStatenotes - A List of the MidiNotes on which we need to transition.public abstract java.util.TreeSet<? extends VoiceSplittingModelState> close()
MidiModelStateclose in class MidiModelStatepublic java.lang.String toString()
toString in class java.lang.Object