<div dir="ltr">can you share de code from supercollider and the pd patch for us please?</div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-21 2:46 GMT-03:00 Clifford Dunn <span dir="ltr"><<a href="mailto:beatleboy07@gmail.com" target="_blank">beatleboy07@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Okay, I figured it out.<br>
<br>
It's a supercollider thing. Turns out that I was being too specific<br>
when defining the NetAddr. By not specifying in the OSCdef, everything<br>
is working fine now. Thanks for all the help!<br>
<span class="im HOEnZb">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>
<br>
</span><div class="HOEnZb"><div class="h5">On Sat, Jun 20, 2015 at 5:54 PM, Martin Peach <<a href="mailto:chakekatzil@gmail.com">chakekatzil@gmail.com</a>> wrote:<br>
> Are you sure NetAddr.langPort is 57120?<br>
><br>
> Martin<br>
><br>
> On Sat, Jun 20, 2015 at 5:27 PM, Clifford Dunn <<a href="mailto:beatleboy07@gmail.com">beatleboy07@gmail.com</a>><br>
> wrote:<br>
>><br>
>> 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',<br>
>> 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 -><br>
>> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
><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>
</div></div></blockquote></div><br></div>