Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-23 Thread Lorenzo Sutton
On 22/01/13 17:06, Charles Goyard wrote: Hi, Lorenzo Sutton wrote: In python use sockets... in Pd use [netreceive] - I'm sure there's loads of good examples out there and I'm working on some pygtk for a project (but it's still very very early). Menwhile this is a very minimal python - Pd

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-23 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-23 10:22, Lorenzo Sutton wrote: it seems your example is missing the newline (;\n). iirc I've had a few pd lockups when sending lots of messages from Processing without the newline. Good to know, and easy to add to the script. And of

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-23 Thread Charles Goyard
Lorenzo Sutton wrote: Just for curiosity, how many is 'lots'?. lots is a bit more than many I think :). Seriously I don't know, but I was basically hooking a slider in processing/controlP5 (for setting a crossfade length) to a netreceive in pd. I could lock (or crash, don't remember) pd in a

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-23 Thread Lorenzo Sutton
On 23/01/13 10:28, IOhannes m zmoelnig wrote: On 2013-01-23 10:22, Lorenzo Sutton wrote: it seems your example is missing the newline (;\n). iirc I've had a few pd lockups when sending lots of messages from Processing without the newline. Good to know, and easy to add to the script. And of

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-23 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-23 12:45, Lorenzo Sutton wrote: On 23/01/13 10:28, IOhannes m zmoelnig wrote: On 2013-01-23 10:22, Lorenzo Sutton wrote: it seems your example is missing the newline (;\n). iirc I've had a few pd lockups when sending lots of messages

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-23 Thread Lorenzo Sutton
On 23/01/13 12:50, IOhannes m zmoelnig wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-23 12:45, Lorenzo Sutton wrote: On 23/01/13 10:28, IOhannes m zmoelnig wrote: On 2013-01-23 10:22, Lorenzo Sutton wrote: it seems your example is missing the newline (;\n). iirc I've had a

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-22 Thread Charles Goyard
Hi, Lorenzo Sutton wrote: In python use sockets... in Pd use [netreceive] - I'm sure there's loads of good examples out there and I'm working on some pygtk for a project (but it's still very very early). Menwhile this is a very minimal python - Pd example it seems your example is missing the

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Olivier Baudu
Hi, I've succeed in make Pd and Python communicate by OSC (no sure it's the best way) with mrpeach library. I'll try to find the simple version of my patch/script but if not, you know now it's possible. To be continued... Cheers 01ivier Le 21.01.2013 15:42, Pierre Massat a écrit : Dear

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Hans-Christoph Steiner
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 .hc On 01/21/2013 09:42 AM, Pierre Massat wrote: Dear List, I've been working a lot with Python and Pd lately,

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Olivier Baudu
Well, You can look at the attached archive. I repeat that I'm not sure it a good way... But it's a working way... :-p Cheers 01ivier Le 21.01.2013 15:42, Pierre Massat a écrit : Dear List, I've been working a lot with Python and Pd lately, and i would like to have better means of

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Jonathan Wilkes
- Original Message - From: Hans-Christoph Steiner h...@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

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Pierre Massat
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 padawa...@obiwannabe.co.uk padawa...@obiwannabe.co.uk ** With popen you'll quickly discover the joys of unix buffers, queueing

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Pierre Massat
- Original Message - From: Hans-Christoph Steiner h...@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

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Jonathan Wilkes
...@at.or.at; pd-list@iem.at pd-list@iem.at Sent: Monday, January 21, 2013 12:52 PM Subject: Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera ! 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

Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Lorenzo Sutton
...@yahoo.com - Original Message - From: Hans-Christoph Steiner h...@at.or.at mailto:h...@at.or.at To: pd-list@iem.at mailto:pd-list@iem.at Cc: Sent: Monday, January 21, 2013 11:17 AM Subject: Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera