|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tritonus.share.midi.TMidiDevice
org.tritonus.share.midi.TSequencer
org.tritonus.share.midi.TPreloadingSequencer
public abstract class TPreloadingSequencer
Base class for sequencers that work with an internal queue. To be more precise, this is the base class for sequencers that do not load the complete Sequence to internal data structures before start, but take single events from the Sequence and put them to the sequencing queue while running.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.tritonus.share.midi.TMidiDevice |
---|
TMidiDevice.Info, TMidiDevice.TReceiver, TMidiDevice.TTransmitter |
Nested classes/interfaces inherited from interface javax.sound.midi.Sequencer |
---|
Sequencer.SyncMode |
Nested classes/interfaces inherited from interface javax.sound.midi.MidiDevice |
---|
MidiDevice.Info |
Field Summary |
---|
Fields inherited from interface javax.sound.midi.Sequencer |
---|
LOOP_CONTINUOUSLY |
Method Summary | |
---|---|
int |
getLatency()
Get the preloading intervall. |
abstract void |
sendMessageTick(MidiMessage message,
long lTick)
Put a message into the queue. |
void |
setLatency(int nLatency)
Sets the preloading intervall. |
Methods inherited from class org.tritonus.share.midi.TMidiDevice |
---|
close, getDeviceInfo, getMaxReceivers, getMaxTransmitters, getMicrosecondPosition, getReceiver, getReceivers, getTransmitter, getTransmitters, isOpen, open |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sound.midi.Sequencer |
---|
getMicrosecondPosition, getTickPosition, isRecording, recordDisable, recordEnable, setMicrosecondPosition, setTickPosition, startRecording, stopRecording |
Methods inherited from interface javax.sound.midi.MidiDevice |
---|
close, getDeviceInfo, getMaxReceivers, getMaxTransmitters, getReceiver, getReceivers, getTransmitter, getTransmitters, isOpen, open |
Method Detail |
---|
public void setLatency(int nLatency)
setLatency
in class TSequencer
public int getLatency()
getLatency
in class TSequencer
Sequence
at all.public abstract void sendMessageTick(MidiMessage message, long lTick)
message
- the MidiMessage to put into the queue.lTick
- the desired schedule time in ticks.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |