com.softsynth.jmsl.midi
Class MidiListenerAdapter

java.lang.Object
  extended by com.softsynth.jmsl.midi.MidiListenerAdapter
All Implemented Interfaces:
MidiListener

public class MidiListenerAdapter
extends java.lang.Object
implements MidiListener

MidiListener with do-nothing stubs. Subclass and override.

Author:
Nick Didkovsky 5/01

Constructor Summary
MidiListenerAdapter()
           
 
Method Summary
 void handleChannelAftertouch(double timeStamp, int channel, int pressure)
           
 void handleControlChange(double timeStamp, int channel, int id, int value)
           
 void handleNoteOff(double timeStamp, int channel, int pitch, int velocity)
           
 void handleNoteOn(double timeStamp, int channel, int pitch, int velocity)
           
 void handlePitchBend(double timeStamp, int channel, int lsb, int msb)
           
 void handlePolyphonicAftertouch(double timeStamp, int channel, int pitch, int pressure)
           
 void handleProgramChange(double timeStamp, int channel, int program)
           
 void handleSysEx(double timeStamp, byte[] data)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiListenerAdapter

public MidiListenerAdapter()
Method Detail

handleNoteOn

public void handleNoteOn(double timeStamp,
                         int channel,
                         int pitch,
                         int velocity)
Specified by:
handleNoteOn in interface MidiListener

handleNoteOff

public void handleNoteOff(double timeStamp,
                          int channel,
                          int pitch,
                          int velocity)
Specified by:
handleNoteOff in interface MidiListener

handlePolyphonicAftertouch

public void handlePolyphonicAftertouch(double timeStamp,
                                       int channel,
                                       int pitch,
                                       int pressure)
Specified by:
handlePolyphonicAftertouch in interface MidiListener

handleControlChange

public void handleControlChange(double timeStamp,
                                int channel,
                                int id,
                                int value)
Specified by:
handleControlChange in interface MidiListener

handleProgramChange

public void handleProgramChange(double timeStamp,
                                int channel,
                                int program)
Specified by:
handleProgramChange in interface MidiListener

handleChannelAftertouch

public void handleChannelAftertouch(double timeStamp,
                                    int channel,
                                    int pressure)
Specified by:
handleChannelAftertouch in interface MidiListener

handlePitchBend

public void handlePitchBend(double timeStamp,
                            int channel,
                            int lsb,
                            int msb)
Specified by:
handlePitchBend in interface MidiListener

handleSysEx

public void handleSysEx(double timeStamp,
                        byte[] data)
Specified by:
handleSysEx in interface MidiListener