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 › Problem using MIDI libraries
Page Index Toggle Pages: 1
Problem using MIDI libraries (Read 1314 times)
Problem using MIDI libraries
Sep 22nd, 2009, 7:17pm
 
Hi,


apparently none of the MIDI-libraries work on my macbook (10.4.1). I get the following message when I run Promidi or MIDI bus sketches:

ClassCastException: uk.co.mandolane.midi.mmidi.transmitter$info

Exception in thread "Animation Thread" java.lang.ClassCastException: uk.co.mandolane.midi.MMidiTransmitter$Info
     at de.humatic.mmj.spi.CoreMidiProvider.getDevice(CoreMidiProvider.java:122)
     at javax.sound.midi.MidiSystem.getMidiDevice(MidiSystem.java:200)
     at themidibus.MidiBus.list(MidiBus.java:975)
     at MidiBus_Advanced.setup(MidiBus_Advanced.java:28)
     at processing.core.PApplet.handleDraw(PApplet.java:1400)
     at processing.core.PApplet.run(PApplet.java:1328)
     at java.lang.Thread.run(Thread.java:613)
Any ideas? Thanks for the help!
Re: Problem using MIDI libraries
Reply #1 - Sep 23rd, 2009, 4:58am
 
Please help! I've tried everything:

-re-installing Mandolane (full version, not demo!)
-mmj is in the correct directory
-IAC driver is online

Have I missed something? Also, I tried to install Promidi and MIDIbus in different directories:

Application/Processing/Resources/Java/Libraries

and

Documents/Porcessing/libraries

Still getting the same error message. Getting frustrated, please help!
Re: Problem using MIDI libraries
Reply #2 - Sep 23rd, 2009, 5:36am
 
did you check this thread
http://processing.org/discourse/yabb2/?num=1188575049/15
Re: Problem using MIDI libraries
Reply #3 - Sep 24th, 2009, 7:36am
 
Thanks, tried that one... I reinstalled Processing and the Examples And Sketches buttons are greyed out. Works fine apart from that, can open files with Cmd+O. How can I get the Examples and Sketches buttons back?
Re: Problem using MIDI libraries
Reply #4 - Sep 24th, 2009, 8:01am
 
Unbelievable: deleted mandalone and Promidi finally works...
Re: Problem using MIDI libraries
Reply #5 - Sep 24th, 2009, 8:13am
 
Still, I realized I had Processing 1.0.2 or 3. Where can I get it from? I couldn't find it...
Page Index Toggle Pages: 1