public abstract class VoiceSplittingModelState extends MidiModelState
VoiceSplittingModelState
is a MidiModelState
which contains
a List of Voice
s 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() |
getScore
public abstract java.util.List<Voice> getVoices()
public abstract java.util.TreeSet<? extends VoiceSplittingModelState> handleIncoming(java.util.List<MidiNote> notes)
MidiModelState
handleIncoming
in class MidiModelState
notes
- A List of the MidiNotes on which we need to transition.public abstract java.util.TreeSet<? extends VoiceSplittingModelState> close()
MidiModelState
close
in class MidiModelState
public java.lang.String toString()
toString
in class java.lang.Object