Assuming that i can find a description of this protocol, how would I use it to communicate between Pd and Python ? I guess this more a question to ask in a Python forum, but still, i&#39;d love to have at least some hints...<br>
<br>Cheers,<br><br>Pierre.<br><br><div class="gmail_quote">2013/1/21 Jonathan Wilkes <span dir="ltr">&lt;<a href="mailto:jancsika@yahoo.com" target="_blank">jancsika@yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">----- Original Message -----<br>
&gt; From: Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;<br>
&gt; To: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>
&gt; Cc:<br>
&gt; Sent: Monday, January 21, 2013 11:17 AM<br>
&gt; Subject: Re: [PD] Pd --&gt; Python, IPC, FUDI, pdreceive, et cetera !<br>
&gt;<br>
&gt;<br>
&gt; FUDI is not just netsend/netreceive, its all Pd messages, including what<br>
&gt; pd-gui sends to pd.  Its basically space-separated data terminated with a<br>
&gt; semi-colon and a newline i.e. ;\n<br>
<br>
</div>Someone should add the description of the FUDI protocol to<br>
the man pages for pdsend/pdreceive, since its not a standard<br>
protocol and is slightly different from the messages people<br>
are used to sending from within the gui (i.e., without a terminating<br>
semicolon).<br>
<span class="HOEnZb"><font color="#888888"> <br>
-Jonathan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; .hc<br>
&gt;<br>
&gt; On 01/21/2013 09:42 AM, Pierre Massat wrote:<br>
&gt;&gt; Dear List,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve been working a lot with Python and Pd lately, and i would like to<br>
&gt; have<br>
&gt;&gt; better means of communication between the two.<br>
&gt;&gt; I know next to nothing about inter-process communication, I know nothing<br>
&gt;&gt; about FUDI (except that it&#39;s the protocol used by pdsend and<br>
&gt; pdreceive),<br>
&gt;&gt; and I have no idea what pdreceive was originally designed for. I&#39;ve<br>
&gt; only<br>
&gt;&gt; used the subprocess (formerly popen) module in python, but i don&#39;t know<br>
&gt; how<br>
&gt;&gt; to use it with streams of messages coming from the standard output of a<br>
&gt;&gt; running process.<br>
&gt;&gt; I don&#39;t want to use libpd for now because i only need to send and<br>
&gt; receive<br>
&gt;&gt; simple messages between Python and Pd.<br>
&gt;&gt;<br>
&gt;&gt; Can someone please provide a few hints ?<br>
&gt;&gt;<br>
&gt;&gt; Cheers!<br>
&gt;&gt;<br>
&gt;&gt; Pierre.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br>