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

5. Pd for Android > Creating a Musical App: Part II

Creating a Musical App: Part II

So far, our app is essentially a tuning fork. Let’s turn it into an actual guitar tuner that picks up sounds from your guitar and lets you know how far you are from the desired pitch. This will require an object that we haven’t seen yet, fiddle~. It takes an audio stream and extracts a number of useful features from it, most importantly the dominant pitch, which it sends to its left outlet as a MIDI note value (Figure 5-6).

Guitar tuner patch (second version)
Figure 5-6. Guitar tuner patch (second version)

You can try this in Pd; just open the patch and sing or whistle into the microphone, and you should see note values in the number box that’s attached to the fiddle~ object. Update the zip file containing your patch and don’t forget to refresh your project to make Eclipse aware of the change.


  

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