de.humatic.mmj
Interface MidiListener


public interface MidiListener

Listener interface for incoming Midi data. An implementing class adds itself to the listener list of a MidiInput object.


Method Summary
 void midiInput(byte[] data)
          Called by the Midi system with a single Midi message as a raw, variable length byte array.
 

Method Detail

midiInput

void midiInput(byte[] data)
Called by the Midi system with a single Midi message as a raw, variable length byte array. The message type (status) is in data[0]. Refer to the Midi Specification to learn about general Midi message layout.