jmsltestsuite
Class MidiInputTest

java.lang.Object
  extended by jmsltestsuite.MidiInputTest
All Implemented Interfaces:
MidiListener

public class MidiInputTest
extends java.lang.Object
implements MidiListener


Constructor Summary
MidiInputTest()
           
 
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)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiInputTest

public MidiInputTest()
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

main

public static void main(java.lang.String[] args)