MIDIGraph and runtime error
MIDIGraph and runtime error
- Subject: MIDIGraph and runtime error
- From: Henrik Frisk <email@hidden>
- Date: Mon, 14 Jul 2003 16:32:11 -0700
Hi,
I have been having tremendous problems with the Java API's for Midi. I have been looking at the Apple Java Sample code but neither FindUnits nor MIDIGraph will run as expected. MIDIGraph compiles as it should (in Emacs) but generates the following message when run from the shell:
Exception in thread "main" java.lang.NoClassDefFoundError: com/apple/mrj/internal/jdirect/ArrayCopy
at com.apple.audio.util.CAMemoryObject.copyFromArray(CAMemoryObject.java:261)
at com.apple.audio.util.CAFString.allocateNewBuffer(CAFString.java:53)
at com.apple.audio.util.CAFString.<init>(CAFString.java:34)
at MIDIGraph.configureMIDI(MIDIGraph.java:114)
at MIDIGraph.<init>(MIDIGraph.java:85)
at MIDIGraph.main(MIDIGraph.java:73)
I've tried building it in ProjectBuilder but that doesn't work either (exit code 1, after that PB crashes). I have the latest version of the Developer Tools (I think, December 2002) and the Audio Tools. Sun's API's doesn't find external Midi Interfaces but works fine apart from that. FindUnits also generates a NoClassDefFoundError exception.
I may be doing something really studip here but I can't work this out. Please help, I'm running out of time! I only need my app to be able to send some really simple Note On/Off messages. I'm running OSX 10.2.6 and have a USB MidiInterface (Tascam US428) with the latest driver.
Thanks!
Henrik Frisk
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.