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
  • PrintPrint
Share this Page URL
Help

6. Pd for iOS > Creating a Musical App: Part I

Creating a Musical App: Part I

As in Chapter 5, we’ll create a guitar tuner app. Our first version will be just a digital tuning fork, emitting reference tones on demand. Think of it as Hello World! for libpd.

In order to use libpd in an app, you need to import the libpd Xcode project into your project and wire it up so that the editor, compiler, and linker can find the necessary resources. Xcode 4.2 makes this initial setup rather hard, and it is frequently easier to copy a sample project and modify it for your purposes. Nevertheless, we’ll ignore the sample projects for now and build our guitar tuner app from scratch.

In Xcode, select File New New Project and ask the new project wizard to create the scaffolding of a Single View Application (Figure 6-3).


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint