[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] OSC between PureData and SC



Hello list, I'd like to send data with OSC between PureData and SuperCollider, and I did'nt get any result by now...

I use the OSX version of PureData (Pd-0.39-0 ) with the OSC lib (ver: 0.16-2); and i tried:
   in a PureData  patch :
the sendOSC object, sending it the message box 'connect localhost 57120' , or 'connect 192.0.0.1 57120' , then the message 'send /test' .
in SC:
        o = OSCresponder(nil, '\hello', {arg time, responder, msg;
        [  time, responder, msg].postln;
        });
    o.add;

(+ in PureData , the message box 'connect localhost 57120' returns an error : "SendData::SendHTMSocket()failure -- not connected")


in all cases, nothing happens in SC

no more success the other way:
in SC:
//--send to pd
n= NetAddr("127.0.0.1", 9999);
n.sendMsg("/test", 123);

and then I don't know what to do...
I tried the object box dumpOSC with 9999 as argument in Puredata, but didn't get anything.

thanks for any help!