Package jmsltestsuite
Class MidiParserTest
java.lang.Object
jmsltestsuite.MidiParserTest
- All Implemented Interfaces:
MidiListener
public class MidiParserTest extends java.lang.Object implements MidiListener
-
Constructor Summary
Constructors Constructor Description MidiParserTest() -
Method Summary
Modifier and Type Method Description voidhandleChannelAftertouch(double timeStamp, int channel, int pressure)voidhandleControlChange(double timeStamp, int channel, int id, int value)voidhandleNoteOff(double timeStamp, int channel, int pitch, int velocity)voidhandleNoteOn(double timeStamp, int channel, int pitch, int velocity)voidhandlePitchBend(double timeStamp, int channel, int lsb, int msb)voidhandlePolyphonicAftertouch(double timeStamp, int channel, int pitch, int pressure)voidhandleProgramChange(double timeStamp, int channel, int program)voidhandleSysEx(double timeStamp, byte[] data)static voidmain(java.lang.String[] args)Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MidiParserTest
public MidiParserTest()
-
-
Method Details
-
handleNoteOn
public void handleNoteOn(double timeStamp, int channel, int pitch, int velocity)- Specified by:
handleNoteOnin interfaceMidiListener
-
handleNoteOff
public void handleNoteOff(double timeStamp, int channel, int pitch, int velocity)- Specified by:
handleNoteOffin interfaceMidiListener
-
handlePolyphonicAftertouch
public void handlePolyphonicAftertouch(double timeStamp, int channel, int pitch, int pressure)- Specified by:
handlePolyphonicAftertouchin interfaceMidiListener
-
handleControlChange
public void handleControlChange(double timeStamp, int channel, int id, int value)- Specified by:
handleControlChangein interfaceMidiListener
-
handleProgramChange
public void handleProgramChange(double timeStamp, int channel, int program)- Specified by:
handleProgramChangein interfaceMidiListener
-
handleChannelAftertouch
public void handleChannelAftertouch(double timeStamp, int channel, int pressure)- Specified by:
handleChannelAftertouchin interfaceMidiListener
-
handlePitchBend
public void handlePitchBend(double timeStamp, int channel, int lsb, int msb)- Specified by:
handlePitchBendin interfaceMidiListener
-
handleSysEx
public void handleSysEx(double timeStamp, byte[] data)- Specified by:
handleSysExin interfaceMidiListener
-
main
public static void main(java.lang.String[] args)
-