Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Let’s add a Pd patch to our app. As in Chapter 5, we use a straightforward modification of our synthesizer patch from Chapter 2 (Figure 6-9). Click on the menu item “File ? Add File to "GuitarTuner"…” and select the folder containing your patch. Xcode offers a number of ways of importing folders; make sure to select “Create groups for any added folders” before clicking on Add (Figure 6-10).
Now we set up the components of libpd as discussed in Launch Sequence. First, we need to configure the audio
components of libpd, using an instance of the PdAudioController class discussed in Chapter 4. The audio controller is a global object,
potentially relevant to all parts of the app, and so we have the
application delegate manage it and make it available through an accessor
method.