hey, i also failed trying this, hope you find out and let us know
2015-06-20 18:27 GMT-03:00 Clifford Dunn beatleboy07@gmail.com:
Hi PD list,
I want to be sending this to the SC list as well, but for some reason I can't get through there.
I'm getting pretty frustrated as I try to figure out why these two programs are currently refusing to talk to each other. I'm not really sure about how to type out PD code, so please bear with me.
First, I have SC set up to receive OSC:
n = NetAddr("127.0.0.1", NetAddr.langPort);
OSCFunc({arg msg, time, addr, recvPort; "Hello World".postln;}, '/test', n);
Testing this internally with SC works fine:
m = NetAddr("127.0.0.1", NetAddr.langPort);
m.sendMsg("/test", "Hi")
PD on the other hand:
object: import mrpeach message: connect 127.0.0.1 57120 *connected to* object: udpsend
The listener tells me: udpsend connecting to port 57120
message: send /test 5 *connected to* object: packOSC *connected to* object udpsend
Nothing happens on the supercollider end. However, within PD, if I set up a udpreceiver, I get a response
object: udpreceive 57120 *connected to* object: unpackOSC *connected to* object: spigot (toggle on right inlet) *connected to* object: print received
And then I can send messages within PD and it prints fine.
Also, if I send from SC:
n.sendMsg("/test", 45);
It prints fine in PD.
So what am I missing that is preventing PD from sending to SC? If it helps, I'm running ArchLinux, SC 3.6.6, and Pd 0.43.4-extended.
Thanks a lot for any help you can provide!
connect 1 Clifford Dunn Flutist/Composer http://www.ckdmusic.weebly.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list