<div dir="ltr"><div><div>It has been along time since I've worked with SC but I vaguely remember having to set the localhost value to nil instead of "127.0.0.1"<br></div>Also, have you tried using another port?<br><br></div>-Alex<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 20, 2015 at 2:27 PM, Clifford Dunn <span dir="ltr"><<a href="mailto:beatleboy07@gmail.com" target="_blank">beatleboy07@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi PD list,<br>
<br>
I want to be sending this to the SC list as well, but for some reason<br>
I can't get through there.<br>
<br>
I'm getting pretty frustrated as I try to figure out why these two<br>
programs are currently refusing to talk to each other. I'm not really<br>
sure about how to type out PD code, so please bear with me.<br>
<br>
First, I have SC set up to receive OSC:<br>
<br>
n = NetAddr("127.0.0.1", NetAddr.langPort);<br>
<br>
OSCFunc({arg msg, time, addr, recvPort; "Hello World".postln;}, '/test', n);<br>
<br>
Testing this internally with SC works fine:<br>
<br>
m = NetAddr("127.0.0.1", NetAddr.langPort);<br>
<br>
m.sendMsg("/test", "Hi")<br>
<br>
<br>
PD on the other hand:<br>
<br>
object: import mrpeach<br>
message: connect 127.0.0.1 57120<br>
*connected to*<br>
object: udpsend<br>
<br>
The listener tells me: udpsend connecting to port 57120<br>
<br>
message: send /test 5<br>
*connected to*<br>
object: packOSC<br>
*connected to*<br>
object udpsend<br>
<br>
Nothing happens on the supercollider end. However, within PD, if I set<br>
up a udpreceiver, I get a response<br>
<br>
object: udpreceive 57120<br>
*connected to*<br>
object: unpackOSC<br>
*connected to*<br>
object: spigot (toggle on right inlet)<br>
*connected to*<br>
object: print received<br>
<br>
And then I can send messages within PD and it prints fine.<br>
<br>
Also, if I send from SC:<br>
<br>
n.sendMsg("/test", 45);<br>
<br>
It prints fine in PD.<br>
<br>
So what am I missing that is preventing PD from sending to SC? If it<br>
helps, I'm running ArchLinux, SC 3.6.6, and Pd 0.43.4-extended.<br>
<br>
Thanks a lot for any help you can provide!<br>
<br>
connect 1<br>
Clifford Dunn<br>
Flutist/Composer<br>
<a href="http://www.ckdmusic.weebly.com" rel="noreferrer" target="_blank">http://www.ckdmusic.weebly.com</a><br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br></div>