Errata

Making Musical Apps

Errata for Making Musical Apps

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed, PDF, ePub
Page Chapter 6

XCode 4.4 changes the way static libraries are handled. When submitting an app to the App Store, you need to take extra steps to bundle libpd with your app: http://charlesmartin.com.au/2012/9/10/submitting-apps-with-libpd

Peter Brinkmann
Peter Brinkmann
 
Sep 10, 2012 
Printed, PDF, ePub, Mobi, , Other Digital Version
Page 4
1st paragraph

The paragraph states that you need at least SDK Version 10 to build Pd for Android. In fact, you need to have Version 10 installed in order to build Pd for Android. This is only about building the library project for Android; you can still deploy libpd-based apps to SDK Versions 3 and later.

Peter Brinkmann
Peter Brinkmann
 
Sep 04, 2012 
PDF
Page 7
2nd paragraph

Missing article --- the title of Miller Puckette's book is "The Theory and Technique of Electronic Music".

Peter Brinkmann
Peter Brinkmann
 
Feb 21, 2012 
PDF
Page 73
sample code (4th paragraph)

The first line of the sample code is missing an opening brace at the end. It's supposed to look like this:
dispatcher.addListener("pitch", new PdListener.Adapter() {

Peter Brinkmann
Peter Brinkmann
 
Mar 04, 2012 
PDF
Page 76
Last paragraph

When running the Pd service with foreground privileges, we also need to change the launch mode of the GuitarTuner activity to single task, in order to avoid audio artifacts when returning to the activity by way of the persistent notification:

<activity
android:name=".guitartuner.GuitarTunerActivity"
android:launchMode="singleTask"
android:label="@string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

Peter Brinkmann
Peter Brinkmann
 
Jun 12, 2012 
PDF
Page 85
2nd paragraph

Missing word: ... while many iPods don't even have microphones.

Background: The 4th generation iPod Touch actually has a built-in microphone.

Peter Brinkmann
Peter Brinkmann
 
Feb 21, 2012 
PDF,
Page 89
United States

On page 89 the instructions for entering a user header search path say:

"select the box labeled 'recursive' and enter the path to your libpd installation.'

In XCode 4.3, for some ridiculous reason, the box is not labeled. It's just an unlabeled checkbox!

The instructions here (https://github.com/libpd/pd-for-ios/wiki/ios) don't mention the checkbox at all.

Obviously, I could have inferred that I should check the unlabeled checkbox, but I didn't and lost a few days building and rebuilding sample apps that mysteriously didn't work. Bad luck!

At any rate, I think it would be helpful to mention that Apple has made this particular bit of UI much worse in XCode 4.3. And so that future readers may avoid my pain, tell them to check the secret box!

Great book, though, and libpd is wonderful. Thanks!

Note from the Author or Editor:
Actually, the instructions in the wiki (https://github.com/libpd/pd-for-ios/wiki/ios) point out that you need to add a _recursive_ entry for libpd to the header search path.

About the unlabeled checkbox in XCode 4.3, I'll make a note to point this out in the next revision.

Thanks for your feedback!

Anonymous  Apr 04, 2012