Forums > MaxMSP

integrating MAX MSP and PROCESSING

November 22, 2010 | 1:14 pm


has anyone had any experience integrating max and processing languages?
is there a way to do it?



November 22, 2010 | 9:03 pm

I think mother is one way to go, but I never really had time to explore it

let us know if it works for you, I’m interested also in this topic

best, Phil

November 23, 2010 | 4:36 am

Open Sound Control works for me. Find the oscP5 library.


November 23, 2010 | 9:06 am

//1) you must declare osc5 and netP5
import oscP5.*;
import netP5.*;//oscP5library

NetP5 netP5;
OscP5 oscP5;

//step 2: create definisi data from max/msp and OSC event
void oscEvent(OscMessage theOscMessage) {
/* check if theOscMessage has the address pattern we are looking for. */

if(theOscMessage.checkAddrPattern("/dac")==true) {
/* check if the typetag is the right one. */
if(theOscMessage.checkTypetag("ff")) {
/* parse theOscMessage and extract the values from the osc message arguments. */
firstValue = theOscMessage.get(0).floatValue();
secondValue = theOscMessage.get(1).floatValue();
//int thirdValue = theOscMessage.get(2).intValue();
//print("### menerima pesan OSC /dac with typetag f f.");
println(" nilai: "+firstValue+", "+secondValue);


println("### menerima sebuah pesan osc. dengan pola alamat "+theOscMessage.addrPattern());


Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP