com.softsynth.jmsl.midi
Class MidiIO_StubDevice
java.lang.Object
com.softsynth.jmsl.midi.MidiIO
com.softsynth.jmsl.midi.MidiIO_StubDevice
- All Implemented Interfaces:
- Editable, MusicDevice
- public class MidiIO_StubDevice
- extends MidiIO
- Author:
- drnerve
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
Methods inherited from class com.softsynth.jmsl.midi.MidiIO |
addEditListener, addMidiParser, allNotesOff, allNotesOff, bendPitch, bendPitch, clearMidiLog, close, control, control, controlContinuous, controlContinuous, createMidiIO, edit, getEditEnabled, getInDevice, getMidiParser, getOutDevice, getQuiet, logMessage, logMessage, main, noteOff, noteOff, noteOff, noteOff, noteOn, noteOn, open, printMidiLog, programChange, programChange, removeEditListener, removeMidiParser, scheduleMessage, setEditEnabled, setInDevice, setMidiLogging, setOutDevice, setQuiet, sysex, test1, test2, test3, writeMidiFile |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static MidiIO_StubDevice instance()
- Returns:
- singleton instance of this class
openDevices
public void openDevices(int inDevice,
int outDevice)
- Specified by:
openDevices
in class MidiIO
closeDevices
public void closeDevices()
- Specified by:
closeDevices
in class MidiIO
synchClocks
public void synchClocks()
- Description copied from class:
MidiIO
- Synchronize JMSL.clock with Midi clock. Implementation dependent. Used to convert incoming Midi timestamps to JMSL double time, and to convert JMSL time to Midi timestamps. Implemented by MidiIO_MidiSare
- Specified by:
synchClocks
in class MidiIO
sendMessage
public void sendMessage(int status,
int data1,
int data2)
- Specified by:
sendMessage
in class MidiIO
sendMessage
public void sendMessage(double timeStamp,
int status,
int data1,
int data2)
- Specified by:
sendMessage
in class MidiIO
getInputDeviceNames
public java.lang.String[] getInputDeviceNames()
- Specified by:
getInputDeviceNames
in class MidiIO
getOutputDeviceNames
public java.lang.String[] getOutputDeviceNames()
- Specified by:
getOutputDeviceNames
in class MidiIO
startListening
public void startListening()
- Specified by:
startListening
in class MidiIO
stopListening
public void stopListening()
- Specified by:
stopListening
in class MidiIO
sysex
public void sysex(double timeStamp,
byte[] data)
- Description copied from class:
MidiIO
- Send data[] as sysex at specified time. User should not include F0 and F7 (SysEx start/stop) in data[]!
- Specified by:
sysex
in class MidiIO