Several people have expressed interested in embedded Pd's audio engine inside their application, often a game, and Pd has already been implemented in at least one commercial game (Spore). At the moment, using Pd's engine as a library is kind of annoying. There is no default makefile target to build it like that and you have to tweak and mess about with things quite a lot.
For this summer of code task I'd like to see it easy to compile Pd's engine as a library to enable it to be embedded inside other programs. The result should be:
- Modifications to the makefile to provide a libpd.so target (cross platform).
- Example code for linking Pd into your own projects.
This will also help other SOC projects such as PluggoPD.
Some useful links pertaining to this are:
- This thread: http://lists.puredata.info/pipermail/pd-list/2007-12/057951.html
- This thread: http://lists.puredata.info/pipermail/pd-list/2008-02/059463.html
- My (Chris McCormick's) Post in this thread includes a makefile example: http://lists.puredata.info/pipermail/pd-list/2008-02/059572.html
- Pd in spore post: http://lists.puredata.info/pipermail/pd-list/2007-11/056324.html
- Gamasutra article on using Pd: http://www.gamasutra.com/resource_guide/20030528/paul_01.shtml