midi hassles
midi hassles
- Subject: midi hassles
- From: aNt <email@hidden>
- Date: Wed, 06 Jun 2001 18:07:21 +0000
heres my start test of CoreAudio in Java. it just don9t work.. I get an
error saying:
DebugAssert: Third Party Client: (*deviceIntf)->USBDeviceOpen(deviceIntf)==
noErr [-536870203] nextDevice [line 123, file USBUtils.cpp]
whats all that about then? I am using a USB midisport2*2 and the driver I
downloaded that works with it. Can see what I am doing wrong in my code. any
pointers would be cool.
public class midiDeviceReader {
static midiDeviceReader mymidi;
public void setUpMidi() {
System.out.println("devices check");
int numdev = -1;
try{
System.out.println("MIDISetup make");
MIDISetup mymidisetup = MIDISetup.getCurrent();
System.out.println("midi devices lookup");
numdev = MIDISetup.getNumberOfSources();
System.out.println("number of devices are: " + numdev);
} catch (Exception err) {
System.out.println("devices error: " + err);
}
}
public static void main(String args[]) {
mymidi = new midiDeviceReader();
mymidi.setUpMidi();
}
}
tops
aNt