Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Using Externals

The problem is that fiddle~ is not a built-in object of Pd but an external, i.e., a shared library that Pd will load as needed. This poses two problems for us. By itself, libpd does not provide a shared library for fiddle~, and even if it did, we wouldn’t be able to use it here because iOS does not allow dynamic loading of shared libraries.

Fortunately, there is a simple solution. First, we need to add the external to our project, either as source code or as a static library. For the fiddle~ external, we find the source code in libpd/pure-data/extra/fiddle~/fiddle~.c and add it to the group that contains our app delegate and view controller (Figure 6-13).

Adding the source of an external

Figure 6-13. Adding the source of an external


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial