testmidishare
Class MidiShareIOTest
java.lang.Object
grame.midishare.MidiAppl
testmidishare.MidiShareIOTest
public class MidiShareIOTest
- extends grame.midishare.MidiAppl
Test for MidiShare's Java API. Sends Midi and receives Midi, printing message types of incoming MIDI.
Uses MidiShare's Java API (no JMSL at all).
Get this working before troubeshooting JMSL + MidiShare
IMPORTANT: Change inport and output values in main() for your system !!!!!!!!!!
- Author:
- Nick Didkovsky, didkovn@mail.rockefeller.edu 4/15/04
Fields inherited from class grame.midishare.MidiAppl |
filter, refnum |
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
Open(java.lang.String name)
|
void |
ReceiveAlarm(int ev)
Simply notify that an input event occurred, print what kind |
Methods inherited from class grame.midishare.MidiAppl |
ApplAlarm, Close, ScheduleTask |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MidiShareIOTest
public MidiShareIOTest(int inport,
int outport)
Open
public void Open(java.lang.String name)
throws grame.midishare.MidiException
- Overrides:
Open
in class grame.midishare.MidiAppl
- Throws:
grame.midishare.MidiException
ReceiveAlarm
public void ReceiveAlarm(int ev)
- Simply notify that an input event occurred, print what kind
- Overrides:
ReceiveAlarm
in class grame.midishare.MidiAppl
main
public static void main(java.lang.String[] args)