PyPd

PyPd is a set of LGPLv3 Python classes for interfacing with the Pure Data DSP patching system.

Download the latest version: PyPd-<#version#>.tar.gz

or check out the sourcecode with bazaar:

	

Documentation

Pd.py provides a cross platform way to launch Pd in a Python subprocess and communicate with it using sockets (netsend and netreceive), and stderr. Socket communications with Pd are accomplished by instantiating the [patches/python-interface] abstraction in your Pd patch to be loaded. Use the Send() method to send messages to Pd, and catch methods by overriding PdMessage(). You can also create methods to catch specific Pd messages using methods called Pd_xxx to catch all messages starting with the atom "xxx" for example.



PdParser.py provides a way to parse Pd patches and extract information from them.