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

Chapter 6. Pd for iOS

Core Audio and its audio unit plugin architecture are an excellent platform for making musical apps. Nonetheless, audio units are laborious to configure, and surprising and occasionally subtle problems do come up. As is its wont, however, libpd will protect app developers from platform-specific quirks as much as possible. For instance, early models of the iPod Touch exhibit subtle differences in their floating point representations of buffer durations, causing glitches due to mismatched buffers. Once we had diagnosed the problem, a workaround was easy to find, and users of recent versions of libpd won’t even notice this problem anymore.

Different devices come with different audio capabilities. For example, on iPhones you can expect to receive audio input from the microphone, while iPods don’t even have microphones. That much is obvious, but there are also less obvious configuration issues, such as audio session categories that are available on some devices but not on others.


  

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