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
there are some Python modules that work with Pd.
http://pypi.python.org/pypi/purity -----Purity AFAIK its a dynamic patching module
http://puredata.info/Members/thomas/py ----python integration with Puredata. check them out, maybe its what you need.
2010/10/14 Achim Bloch achim.bloch@yahoo.fr
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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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.
Claude
Thanks for your answers, but in fact I think my question was really stupid. I wanted to do some scripting outside of pd, because I didn't realize that this part could be done in pd... <blush/>
--- En date de : Jeu 14.10.10, Claude Heiland-Allen claudiusmaximus@goto10.org a écrit :
De: Claude Heiland-Allen claudiusmaximus@goto10.org Objet: Re: [PD] noob asking : is there a way to script pd? À: pd-list@iem.at Date: Jeudi 14 octobre 2010, 21h18
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.
Claude
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list