<div dir="ltr"><div><div><div><div><div>Hi Matijoncek,<br><br></div>Thanks for your suggestion. Unfortunately it doesn't work.<br></div><div>Adding 'localhost to the .py file made no difference.<br></div>Also, the Pd receive patch has [udpreceive] which only takes the port address as an argument.<br>
<br></div>Must admit that I'm now distracted by this post '<span class="">[PD] Pd --> Python, IPC, FUDI, pdreceive, et cetera !' which works here but is quite a lot more involved. More steep learning curves.<br>
<br></span></div><span class="">All the best,<br><br></span></div><span class="">Julian<br></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 May 2013 09:17, matijoncek prdoncek <span dir="ltr"><<a href="mailto:ilovedrisk@gmail.com" target="_blank">ilovedrisk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font face="times new roman, serif">Try changing the IP in the python script to "localhost"</font><div>
<font face="times new roman, serif"><br></font><div><span style="line-height:18px;color:rgb(51,51,51);white-space:pre-wrap;font-family:Consolas,'Liberation Mono',Courier,monospace;margin:0px;border:0px;padding:0px">client</span><span style="margin:0px;padding:0px;border:0px;font-weight:bold;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;line-height:18px;white-space:pre-wrap">.</span><span style="line-height:18px;color:rgb(51,51,51);white-space:pre-wrap;font-family:Consolas,'Liberation Mono',Courier,monospace;margin:0px;border:0px;padding:0px">connect</span><span style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;line-height:18px;white-space:pre-wrap">((</span><span style="margin:0px;padding:0px;border:0px;color:rgb(221,17,68);font-family:Consolas,'Liberation Mono',Courier,monospace;line-height:18px;white-space:pre-wrap">'127.0.0.1'</span><span style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;line-height:18px;white-space:pre-wrap">,</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;line-height:18px;white-space:pre-wrap"> </span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,153,153);font-family:Consolas,'Liberation Mono',Courier,monospace;line-height:18px;white-space:pre-wrap">9001</span><span style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;line-height:18px;white-space:pre-wrap">))</span></div>
<div><span style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);line-height:18px;white-space:pre-wrap"><font face="times new roman, serif">to</font></span></div><div><span style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;line-height:18px;white-space:pre-wrap"><span style="line-height:18px;margin:0px;border:0px;padding:0px">client</span><span style="margin:0px;padding:0px;border:0px;font-weight:bold;line-height:18px">.</span><span style="line-height:18px;margin:0px;border:0px;padding:0px">connect</span><span style="margin:0px;padding:0px;border:0px;line-height:18px">((</span><span style="margin:0px;padding:0px;border:0px;color:rgb(221,17,68);line-height:18px">'localhost'</span><span style="margin:0px;padding:0px;border:0px;line-height:18px">,</span><span style="line-height:18px"> </span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,153,153);line-height:18px">9001</span><span style="margin:0px;padding:0px;border:0px;line-height:18px">))</span></span></div>
<div><span style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;line-height:18px;white-space:pre-wrap"><span style="margin:0px;padding:0px;border:0px;line-height:18px"><br>
</span></span></div><div><span style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);line-height:18px;white-space:pre-wrap"><span style="margin:0px;padding:0px;border:0px;line-height:18px"><font face="times new roman, serif">make sure it is also set to "localhost" in the pd patch.</font></span></span></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Sun, May 5, 2013 at 10:38 PM, Julian Brooks <span dir="ltr"><<a href="mailto:jbeezez@gmail.com" target="_blank">jbeezez@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Hey Alex / all,<br><br></div><div>This could be stupidly obvious but I'm completely new to python so bear with me please:<br>
<br>I'm following the tutorials that Alex put up here:<br>
<a href="https://github.com/alx-s/RPi_tutorials/tree/master/OSC_python-pd" target="_blank">https://github.com/alx-s/RPi_tutorials/tree/master/OSC_python-pd</a><br></div><div><br></div>First off, many thanks for the tutorials Alex:)<br>
<br>
</div>I can't seem to get the test python program to connect/receive from Pd.<br><a href="https://github.com/alx-s/RPi_tutorials/blob/master/OSC_python-pd/OSC_send_python.py" target="_blank">https://github.com/alx-s/RPi_tutorials/blob/master/OSC_python-pd/OSC_send_python.py</a><br>
<br></div>When I do this:<br></div><div>python OSC_send_python.py<br></div><div>with the corresponding pd patch up and running I get:<br></div><div>not connected<br></div><div>In the console where the py file is running from.<br>
<br></div><div>Must be something simple as the py file has very little in it.<br><br></div><div>On the RPi<br></div><div>pd 0.44-2<br></div><div>iemnet/[udpreceive]<br><br></div><div>Send examples work btw<br></div><div>
<br>
</div>Does anyone have a quick fix/some wisdom?<br><br></div><div>Best wishes,<br><br></div>Julian<br></div>
<br></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>