I just cant avoid woundering again if it would be possible to prevent the processor overflow while sending all the settings to MCT... maybe not with a delay, but with an answer coming FROM the MD?
About Javamidi5 :
I ran into some difficulties while trying to run the "Main" test class for the javamidi libs. And since I never did any java development before...
Here are all the details:
Firstly, when compiling MidiPort.java and MidiportException.java, I ran into an "unchecked call to addElement" for a vector object. Found this was probably due to some java version incompatibility so I passed -source 1.4 to solve the problem.
Beside the need to pass the -d ./jmidi option for the jmidi package to be created, everything else went fine on those two files.
Then, along with the source incompatibility and the need to set the classpath option to ./jmidi, compiling Main.java and InputThread.java raised some errors because of deprecated string function calls, which I replaced.
Finally, everything compiled properly.
Then came the test.
"java -classpath ./jmidi Main -simple" raised a linkage error as it didn't found MidiPort in the system. (I already copied it into all relevant system paths). After some searches, I found and guessed that the MidiPort binary provided with the sources was most probably a jni dynamic lib so I renamed it accordingly to the osX standards: libMidiPort.jnilib
Still got the linkage error but this time, java seemed to recognize libMidiPort.jnilib
Tried to set LD_LIBRARY_PATH to where my libMidiPort.jnilib was located, tried to pass the explicit path as a java system variable as "-Djava.library.path=/System/Library/Java/Extensions/",
tried to purge the whole Main.java file and enter an explicit: System.load("path/to/libMidiPort.jnilib") - which raised the same linkage error... no success.
Perhaps the MidiPort binary was compiled for an intel mac. (In that case, I could recompile it from the provided C sources but I don't have any C compiler/linker/etc at hand for the moment.) Perhaps I forgot something in the process... However, considering the many deprecated instructions and the dependency on the now dead and buried OMS, my opinion is that perhaps I
should forget about this lib.