Now we have a Pd patch and we have the design for the native apps, but we need a bridge between the two. Let’s talk about libpd, the excellent library that allows us to embed Pd right into our apps, with interfaces to handle two-way communication.
Libpd started out as an experiment by Peter Brinkmann to get Pure Data working on Android, but has developed into what we have today: the ability to run an instance of Pd in an Android or iOS app. We’ll use libpd in both of our implementations of the task app. Refer to the libpd website for specific integration instructions for each platform, but let’s first talk about a few things to keep in mind when building patches meant to be used with libpd.