public class AlsaSequencer extends TSequencer
| Modifier and Type | Class and Description |
|---|---|
class |
AlsaSequencer.AlsaSequencerReceiver |
class |
AlsaSequencer.AlsaSequencerTransmitter |
class |
AlsaSequencer.LoaderThread
Pre-loading events to the sequencer queue.
|
class |
AlsaSequencer.MasterSynchronizer |
class |
AlsaSequencer.PlaybackAlsaMidiInListener |
class |
AlsaSequencer.RecordingAlsaMidiInListener |
TMidiDevice.Info, TMidiDevice.TReceiver, TMidiDevice.TTransmitterSequencer.SyncModeMidiDevice.InfoLOOP_CONTINUOUSLY| Constructor and Description |
|---|
AlsaSequencer(MidiDevice.Info info) |
| Modifier and Type | Method and Description |
|---|---|
long |
getMicrosecondPosition()
Returns the device time in microseconds.
|
Receiver |
getReceiver()
Creates a new Receiver object associated with this instance.
|
long |
getTickPosition() |
Transmitter |
getTransmitter()
Creates a new Transmitter object associated with this instance.
|
boolean |
isRecording() |
boolean |
isRunning() |
void |
recordDisable(Track track) |
void |
recordEnable(Track track,
int nChannel) |
void |
sendMessageTick(MidiMessage message,
long lTick)
Put a message into the queue.
|
void |
setMicrosecondPosition(long lMicroseconds) |
void |
setTickPosition(long lTick) |
void |
startRecording() |
void |
stopRecording() |
addControllerEventListener, addMetaEventListener, getLatency, getLoopCount, getLoopEndPoint, getLoopStartPoint, getMasterSyncMode, getMasterSyncModes, getMicrosecondLength, getSequence, getSlaveSyncMode, getSlaveSyncModes, getTempoFactor, getTempoInBPM, getTempoInMPQ, getTickLength, getTrackMute, getTrackSolo, removeControllerEventListener, removeMetaEventListener, setLatency, setLoopCount, setLoopEndPoint, setLoopStartPoint, setMasterSyncMode, setSequence, setSequence, setSlaveSyncMode, setTempoFactor, setTempoInBPM, setTempoInMPQ, setTrackMute, setTrackSolo, start, stopclose, getDeviceInfo, getMaxReceivers, getMaxTransmitters, getReceivers, getTransmitters, isOpen, openequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getDeviceInfo, getMaxReceivers, getMaxTransmitters, getReceivers, getTransmitters, isOpen, openpublic AlsaSequencer(MidiDevice.Info info)
public boolean isRunning()
isRunning in interface SequencerisRunning in class TSequencerpublic void startRecording()
public void stopRecording()
public boolean isRecording()
public void recordEnable(Track track, int nChannel)
public void recordDisable(Track track)
public long getTickPosition()
public void setTickPosition(long lTick)
public long getMicrosecondPosition()
TMidiDevicegetMicrosecondPosition in interface MidiDevicegetMicrosecondPosition in interface SequencergetMicrosecondPosition in class TMidiDevicepublic void setMicrosecondPosition(long lMicroseconds)
public void sendMessageTick(MidiMessage message, long lTick)
message - the MidiMessage to put into the queue.lTick - the desired schedule time in ticks.public Receiver getReceiver() throws MidiUnavailableException
TMidiDevicegetReceiver in interface MidiDevicegetReceiver in class TMidiDeviceMidiUnavailableExceptionpublic Transmitter getTransmitter() throws MidiUnavailableException
TMidiDevicegetTransmitter in interface MidiDevicegetTransmitter in class TMidiDeviceMidiUnavailableException