Yes, I only want to launch Pd from Python and the status of some objects in return, so nothing too critical.
I'll try the OSC example.
Cheers,
Pierre.
2013/1/21 padawan12@obiwannabe.co.uk padawan12@obiwannabe.co.uk
**
With popen you'll quickly discover the joys of unix buffers, queueing and all the reasons libPd was invented :)
Probably a frustrating journey if you want to do any kind of time critical musical control this way. If transferring bulk data, or launching Pd instances for control by other sources is your aim, then it will be okay.
On 21 January 2013 at 14:42 Pierre Massat pimassat@gmail.com 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