nice! getting it to run under os x took some time, though. the link on http://pypi.python.org/pypi/purity to the tar.gz package seems broken, I had to fink install twisted2-py25, and also change the pd command in server.py and then the purity-0.1.1-py2.5.egg/purity/data was missing the file dynamic_patch.pd. will continue testing... at the moment I am wondering, if there is a (better) way to work around the ugly pd file format with all the connects at the end and naming the objects... I guess I am looking for something like:
for i in range(20000): obj1 = pdobj.osc~(i) obj2 = pdobj.throw~("bus-1") pdconnect(obj1 0, obj2 0) obj1 = pdobj.receive~("bus-1") obj2 = pdobj.dac~ pdconnect(obj1 0, obj2 0 1)
and then call this script from within pd itself, hehe... marius.
2009/10/6 Alexandre Quessy listes@sourcelibre.com:
Hi Pure Data users ! I am happy to announce the first official release of the Purity dynamic patching package for Python.
You can install it using the command "sudo easy_install purity" See its Python package at http://pypi.python.org/pypi/purity
Its official documentation is on the DataFlow wiki at http://wiki.dataflow.ws/Purity It is released under the terms of the GPL.
Purity is a Python library for Pure Data dynamic patching. The idea is to be able to harness the power of Pure Data for audio programming without having to use its graphical interface. Python's clear and intuitive syntax can be used with profit in order to create intricate patches with advanced string handling, graphical user interfaces and asynchronous network operations. Purity uses Twisted, an event-driven Python framework.
-- Alexandre Quessy http://alexandre.quessy.net
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list