[PD-dev] Messaging between Pd and GUI

Martin Peach martin.peach at sympatico.ca
Wed Jun 4 18:02:20 CEST 2008


Samuel Tarakajian wrote:
>That's exactly what I was hoping to do: communicate with the Pd core though 
>a socket connection.  The real question is how to do that.  Setting up the 
>connection is easy, but I have no idea what kind of messages Pd core is 
>expecting.  Is there a list somewhere?

You can look in the source code for calls to sys_vgui().

Also starting pd with -d1 -d2 or -d3 prints the gui messages as they occur 
(-d1 prints messages from pd to pd-gui, -d2 prints messages from pd-gui to 
pd, -d3 prints both types).

And pd.tk is where the tcl/tk procs that communicate with pd are found.

Martin






More information about the Pd-dev mailing list