[PD] noob asking : is there a way to script pd?

Claude Heiland-Allen claudiusmaximus at goto10.org
Thu Oct 14 23:18:56 CEST 2010

On 14/10/10 22:07, Achim Bloch wrote:
> Hello listees
> I'd like to know if there is a way to act on pd objects via a script language, I mean, coding behaviors and feedbacks?
> Sorry if this sounds noob, my knowledge about pd is very basic.
> Thanks,
> C

I'm not sure what you mean - do you want to write new objects, or do you 
want to script patch creation/usage?

You can write objects in scripting languages (python, lua, ...), and 
these objects can send messages, and messages to canvases can create new 
objects and connect them and manipulate them in other ways - see also 
the iemguts library for additional ways of manipulating objects that 
might be what you mean.

You can also interact with scripts running externally, using the 
pdsend/pdreceive executables or direct socket communication with 
[netsend] and [netreceive] in Pd.  OSC is also an option if this 
workflow suits your problem domain.


More information about the Pd-list mailing list