Forums > MaxMSP

Max Communicating with pd?

May 10, 2011 | 3:20 pm

Hello everyone,

Is it possible to make max/msp talk to pure data?

Any suggestions welcome

Thanks in advance


May 10, 2011 | 4:38 pm

I used to use netsend and netreceive, OSC works as well.


May 11, 2011 | 10:34 pm

OSC is working for me.
But I have one problem. I can seem to send float numbers across the network.
EG a float number from pd controlling a slider in Max.

Is there a solution to this?


May 12, 2011 | 12:32 am

can you post an example patch?


May 12, 2011 | 9:00 pm

Here are two patches that communicate with each other.
Sending float numbers does not work but sending a multiple and dividing once acquired in the opposing program works fine.

Attachments:
  1. UDP.pd

May 12, 2011 | 9:26 pm

Sending numbers from pd to Max is proving more tricky..


May 13, 2011 | 1:53 am

It’s a pretty straightforward thing. You’ll need to download the OpenSoundControl objects for Max from here : http://www.cnmat.berkeley.edu/MAX and I’d recommend Hans Steiner’s PD-extended build from here : http://puredata.info/community/projects/software/pd-extended

pd patch

#N canvas 0 22 379 198 10;
#X declare -lib mrpeach;
#X obj -93 29 import mrpeach;
#X msg -77 83 connect 127.0.0.1 9997;
#X floatatom 104 82 5 0 0 0 – - -;
#X msg 103 114 send /float/bla $1;
#X obj 103 144 sendOSC;
#X connect 1 0 4 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;

and the Max patch

– Pasted Max Patch, click to expand. –

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