Read more
Want to turn your mobile device into a musical instrument? Or equip your game with interactive audio, rather than canned samples? You can do it with Pure Data (Pd), an open source visual programming environment that lets you manipulate digital audio in real time. This concise book shows you how to use Pd - with help from the libpd library - as an easily embeddable and widely portable sound engine.
Whether you're an audio developer looking to create musical apps with sophisticated audio capabilities, or an application developer ready to enhance mobile games with real-time procedural audio, Making Musical Apps introduces you to Pd and libpd, and provides hands-on instructions for creating musical apps for Android and iOS. Get a crash course in Pd, and discover how to generate and control sounds Learn how to create and deploy algorithmic compositions that react to a user's activity and environment Use Java or Objective-C to integrate Pd and libpd into mobile apps Learn the steps necessary to build libpd-based apps for Android and iOS
List of contents
Preface;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Introduction;
1.1 A Great Investment;
1.2 Resources;
1.3 Prerequisites;
Chapter 2: Making Noise with Pure Data;
2.1 Installing Pure Data;
2.2 A First Patch;
2.3 Adding Audio Input;
2.4 Sample Rates and Audio Channels;
2.5 Control Rate Objects and Messages;
2.6 Sending and Receiving Messages;
2.7 More About Messages;
2.8 Using MIDI with Pd;
2.9 Further Topics;
Chapter 3: When Not to Make Musical Apps;
3.1 Creating RjDj Scenes;
3.2 Anatomy of an RjDj Scene;
3.3 Patching for RjDj;
3.4 Deploying an RjDj Scene;
3.5 Receiving Sensor Input;
3.6 Controlling Graphics and Text;
3.7 Using rjlib;
Chapter 4: Embedding Pure Data with libpd;
4.1 Introducing libpd;
4.2 API Overview;
4.3 Opening Patches;
4.4 Finding Resources;
4.5 Sending Messages to Pd;
4.6 Receiving Messages from Pd;
4.7 Reading and Writing Arrays in Pd;
4.8 MIDI Support in libpd;
4.9 Odds and Ends;
4.10 Externals in libpd;
4.11 Audio Glue;
4.12 Launch Sequence;
Chapter 5: Pd for Android;
5.1 Setting Up the Development Environment;
5.2 Creating a Musical App: Part I;
5.3 Creating a Musical App: Part II;
5.4 Improving the User Interface;
5.5 Building Externals for Android;
Chapter 6: Pd for iOS;
6.1 Setting Up the Development Environment;
6.2 Creating a Musical App: Part I;
6.3 Creating a Musical App: Part II;
6.4 Improving the User Interface;
Chapter 7: Outlook;
About the author
Peter Brinkmann, geboren 1945, Bundeswehroffizier, studierte von 1968 bis 1975, war danach Journalist bei der "Welt" in Bonn und Wirtschaftsredakteur bei "Bild" in Hamburg. Im Herbst 1989 war er als erster Korrespondent der Bild in der DDR-Hauptstadt akkreditiert. Später wurde Peter Brinkmann Chefkorrespondent des "Berliner Kurier" und Moderator bei TV Berlin.
Summary
Pure Data (Pd) is a graphical programming environment for audio and more; libpd is a wrapper that turns Pd into a portable, embeddable audio library. Brian Eno's soundtrack of the game Spore is generated by Pure Data. Inception The App is based on libpd and has been downloaded more than three million times. The popular RJDJ also uses the technology