We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › MIDI problem in mmj.jar
Page Index Toggle Pages: 1
MIDI problem in mmj.jar (Read 683 times)
MIDI problem in mmj.jar
Oct 16th, 2009, 10:48am
 
Hi guys
i'm on

mac osx 10.5.7
intel dual core

eclipse 3.5.1
processing 1.0.3 imported as processing.core.PApplet

rwmidi and themidibus

i've imported mmj and libmmj.jnilib as external jar AND put theese two files:
ls /Library/Java/Extensions/
libmmj.jnilib      mmj.jar

and beringer uma25 midi keyboard usb


when i run basic examples i got big problem. exception in runtime with this stack:
Thread [Thread-3] (Suspended (exception ArrayIndexOutOfBoundsException))      
     CoreMidiDevice.<init>(String) line: 35      
     MidiSystem.nativeGetDevices(Vector) line: not available [native method]      
     MidiSystem.getDevices() line: 291      
     CoreMidiProvider.getDeviceInfo() line: 37      
     MidiSystem.getMidiDeviceInfo() line: 173      
     MidiBus.availableInputsMidiDeviceInfo() line: 1292      
     MidiBus.availableInputs() line: 1238      
     MidiBus.list() line: 1208      
     Test.setup() line: 19      
     Test(PApplet).handleDisplay() line: 1390      
     PGraphicsJava2D(PGraphics).requestDisplay(PApplet) line: 690      
     Test(PApplet).run() line: 1562      
     Thread.run() line: 613      


what can i do?!????
in other ways in this forum the problem was mmj, but i think i've installation correctly.. both in path and in eclipse java buid path..
Page Index Toggle Pages: 1