Max Communicating with pd?

May 10, 2011 at 3:20pm

Max Communicating with pd?

Hello everyone,

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

Any suggestions welcome

Thanks in advance

#57038
May 10, 2011 at 4:38pm

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

#204403
May 11, 2011 at 10:34pm

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?

#204404
May 12, 2011 at 12:32am

can you post an example patch?

#204405
May 12, 2011 at 9:00pm

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
#204406
May 12, 2011 at 9:26pm

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

#204407
May 13, 2011 at 1:53am

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. –
#204408

You must be logged in to reply to this topic.