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 › Use of proMIDI inside Java applications
Page Index Toggle Pages: 1
Use of proMIDI inside Java applications (Read 553 times)
Use of proMIDI inside Java applications
Aug 27th, 2009, 8:37am
 
This might be a bit non-processing related since I'm working in Java

Whenever I want to invoke the MidiIO.getInstance(); method, I can't get it to work because the function needs a reference to a processing applet as argument.

normally, inside of processing, you would do this:

midiIO = MidiIO.getInstance(this);

but the "this" isn't possible in java because it's not a PApplet.

Does anyone have any experience with programming with processing libraries inside java? This problem is really bugging me.
Re: Use of proMIDI inside Java applications
Reply #1 - Aug 31st, 2009, 10:38am
 
Page Index Toggle Pages: 1