de.humatic.mmj
Class MidiInput
java.lang.Object
de.humatic.mmj.MidiInput
public class MidiInput
- extends java.lang.Object
An opened Midi input from that the application reads MIDI by attaching itself as a MidiListener.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
globalsLock
public static final java.lang.Object globalsLock
addMidiListener
public boolean addMidiListener(MidiListener ml)
removeMidiListener
public boolean removeMidiListener(MidiListener ml)
close
public void close()
getName
public java.lang.String getName()
getIndex
public int getIndex()
getDeviceInfo
public CoreMidiDevice getDeviceInfo()
- Returns a CoreMidiDevice object that holds general information on the hard- or software device this
port belongs to or null if the port is virtual.