Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
class: RealTimeSequencer [javadoc | source]
java.lang.Object
   com.sun.media.sound.AbstractMidiDevice
      com.sun.media.sound.RealTimeSequencer

All Implemented Interfaces:
    Sequencer, AutoConnectSequencer, ReferenceCountingDevice, MidiDevice

A Real Time Sequencer
Nested Class Summary:
class  RealTimeSequencer.SequencerReceiver   
static class  RealTimeSequencer.RecordingTrack   
class  RealTimeSequencer.PlayThread   
Field Summary
static final  RealTimeSequencerInfo info    All RealTimeSequencers share this info object. 
 Receiver autoConnectedReceiver    the receiver that this device is auto-connected to 
Fields inherited from com.sun.media.sound.AbstractMidiDevice:
open,  id
Constructor:
 protected RealTimeSequencer() throws MidiUnavailableException 
Method from com.sun.media.sound.RealTimeSequencer Summary:
addControllerEventListener,   addMetaEventListener,   createReceiver,   createTransmitter,   getLoopCount,   getLoopEndPoint,   getLoopStartPoint,   getMasterSyncMode,   getMasterSyncModes,   getMicrosecondLength,   getMicrosecondPosition,   getSequence,   getSlaveSyncMode,   getSlaveSyncModes,   getTempoFactor,   getTempoInBPM,   getTempoInMPQ,   getTickLength,   getTickPosition,   getTrackCount,   getTrackMute,   getTrackSolo,   hasReceivers,   hasTransmitters,   implClose,   implOpen,   implStart,   implStop,   isRecording,   isRunning,   recordDisable,   recordEnable,   removeControllerEventListener,   removeMetaEventListener,   sendControllerEvents,   sendMetaEvents,   setAutoConnect,   setLoopCount,   setLoopEndPoint,   setLoopStartPoint,   setMasterSyncMode,   setMicrosecondPosition,   setSequence,   setSequence,   setSlaveSyncMode,   setTempoFactor,   setTempoInBPM,   setTempoInMPQ,   setTickPosition,   setTrackMute,   setTrackSolo,   start,   startRecording,   stop,   stopRecording
Methods from com.sun.media.sound.AbstractMidiDevice:
close,   closeInternal,   createReceiver,   createTransmitter,   doClose,   finalize,   getDeviceInfo,   getId,   getMaxReceivers,   getMaxTransmitters,   getMicrosecondPosition,   getReceiver,   getReceiverReferenceCounting,   getReceivers,   getTransmitter,   getTransmitterList,   getTransmitterReferenceCounting,   getTransmitters,   hasReceivers,   hasTransmitters,   implClose,   implOpen,   isOpen,   open
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.RealTimeSequencer Detail:
 public int[] addControllerEventListener(ControllerEventListener listener,
    int[] controllers) 
 public boolean addMetaEventListener(MetaEventListener listener) 
 protected Receiver createReceiver() throws MidiUnavailableException 
 protected Transmitter createTransmitter() throws MidiUnavailableException 
 public int getLoopCount() 
 public long getLoopEndPoint() 
 public long getLoopStartPoint() 
 public SyncMode getMasterSyncMode() 
 public SyncMode[] getMasterSyncModes() 
 public long getMicrosecondLength() 
 public long getMicrosecondPosition() 
 public Sequence getSequence() 
 public SyncMode getSlaveSyncMode() 
 public SyncMode[] getSlaveSyncModes() 
 public float getTempoFactor() 
 public float getTempoInBPM() 
 public float getTempoInMPQ() 
 public long getTickLength() 
 public synchronized long getTickPosition() 
 protected int getTrackCount() 
 public synchronized boolean getTrackMute(int track) 
 public synchronized boolean getTrackSolo(int track) 
 protected boolean hasReceivers() 
 protected boolean hasTransmitters() 
 protected synchronized  void implClose() 
 protected  void implOpen() throws MidiUnavailableException 
 protected  void implStart() 
 protected  void implStop() 
 public boolean isRecording() 
 public boolean isRunning() 
 public  void recordDisable(Track track) 
 public  void recordEnable(Track track,
    int channel) 
 public int[] removeControllerEventListener(ControllerEventListener listener,
    int[] controllers) 
 public  void removeMetaEventListener(MetaEventListener listener) 
 protected  void sendControllerEvents(MidiMessage message) 
    Send midi player events.
 protected  void sendMetaEvents(MidiMessage message) 
    Send midi player events. must not be synchronized on "this"
 public  void setAutoConnect(Receiver autoConnectedReceiver) 
 public  void setLoopCount(int count) 
 public  void setLoopEndPoint(long tick) 
 public  void setLoopStartPoint(long tick) 
 public  void setMasterSyncMode(SyncMode sync) 
 public  void setMicrosecondPosition(long microseconds) 
 public synchronized  void setSequence(Sequence sequence) throws InvalidMidiDataException 
 public synchronized  void setSequence(InputStream stream) throws IOException, InvalidMidiDataException 
 public  void setSlaveSyncMode(SyncMode sync) 
 public  void setTempoFactor(float factor) 
 public  void setTempoInBPM(float bpm) 
 public  void setTempoInMPQ(float mpq) 
 public synchronized  void setTickPosition(long tick) 
 public synchronized  void setTrackMute(int track,
    boolean mute) 
 public synchronized  void setTrackSolo(int track,
    boolean solo) 
 public synchronized  void start() 
 public  void startRecording() 
 public synchronized  void stop() 
 public  void stopRecording()