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'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"><<a href="mailto:jancsika@yahoo.com" target="_blank">jancsika@yahoo.com</a>></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>
> From: Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>><br>
> To: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>
> Cc:<br>
> Sent: Monday, January 21, 2013 11:17 AM<br>
> Subject: Re: [PD] Pd --> Python, IPC, FUDI, pdreceive, et cetera !<br>
><br>
><br>
> FUDI is not just netsend/netreceive, its all Pd messages, including what<br>
> pd-gui sends to pd. Its basically space-separated data terminated with a<br>
> 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>
><br>
> .hc<br>
><br>
> On 01/21/2013 09:42 AM, Pierre Massat wrote:<br>
>> Dear List,<br>
>><br>
>> I've been working a lot with Python and Pd lately, and i would like to<br>
> have<br>
>> better means of communication between the two.<br>
>> I know next to nothing about inter-process communication, I know nothing<br>
>> about FUDI (except that it's the protocol used by pdsend and<br>
> pdreceive),<br>
>> and I have no idea what pdreceive was originally designed for. I've<br>
> only<br>
>> used the subprocess (formerly popen) module in python, but i don't know<br>
> how<br>
>> to use it with streams of messages coming from the standard output of a<br>
>> running process.<br>
>> I don't want to use libpd for now because i only need to send and<br>
> receive<br>
>> simple messages between Python and Pd.<br>
>><br>
>> Can someone please provide a few hints ?<br>
>><br>
>> Cheers!<br>
>><br>
>> Pierre.<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>> UNSUBSCRIBE and account-management -><br>
> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
>><br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -><br>
> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">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>
</div></div></blockquote></div><br>