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