Pages

Showing posts with label Processing. Show all posts
Showing posts with label Processing. Show all posts

13 April 2011

Compiling libpd as a Processing library

Last week Peter Kirn of CreateDigitalMusic gave a presentation at Virginia Tech on using libpd--the PureData library--inside of Processing.  He showed a simple PD patch that could then be controlled through a visual interface set up in a Processing sketch.  Coupled with the piece that Peter performed at the Laptop Orchestra concert event, which used libpd inside of Processing, my interest was definitely peaked.  So I began searching the Internet to find this libpd and documentation on how to get it running inside of Processing.

It became readily apparent that, while libpd was simple enough to find (hosted here: http://gitorious.org/pdlib), documentation on building, installing, or getting it into Processing was somewhat lacking.  Considering libpd is still an alpha build according to the puredata.info community, I can let this slide.  Documentation will probably improve once an official stable release is out.  But until then, I've put together this tutorial to show how I got libpd built and working inside of the Processing environment on Linux using the Eclipse IDE.