java to max msp. HELP.

mudit's icon

Okay, here is a code, which i am using in eclipse... the output of the whole code with minim library is like -a piano DISPLAY ,with sounds when you press a key.. what i wanna do is send this sound to max msp, where i can then process it or add effects using my max msp patch. HELP. pretty urgent.

mudit's icon
mudit's icon

Anybody? PLEASE....

$Adam's icon

mudit,

I guess you won't get much help here just by creating new threads on the forums with the same problem and shouting it loudly. Moving a working Java code to MXJ (this is the name of the Max-Java interface) is a straightforward (in terms of complexity), however, quite slow process. You should first familiarize yourself with the Java SDK for MaxMSP, then you have to re-build your whole code to fit with it. As I told in the other thread, assuming you're an average Java programmer, it is not that hard once you understand the backgrounds, but it will take time. Time, which you won't be able to spare for yourself, as it is much more complex than simple copy-pasting code from here to there. So I guess the best you could do is, download the Java SDK and the documentation with it (it is on Cycling '74-s website), read it at least once (if you're at least average good in Java, you won't need to read it more than once to understand it) and then do the external. If you've never programmed anything for Max in Java or in C before and you're not too good in Java, I'd let myself at least a week to go through this process. If after that week you're still having questions, I'd post for help on the Java forum, not this one, as this forum is mainly for solving MaxMSP-related problems; most of the members of this forum won't be able to help you with MXJ-programming questions anyway...

Hope this helps,
Ádám