- STAFF PICKS
- GIFTS + GIFT CARDS
- SELL BOOKS
- FIND A STORE
Used Trade Paper
Ships in 1 to 3 days
More copies of this ISBN
Making Musical Apps: Real-Time Audio Synthesis on Android and IOSby Peter Brinkmann
Synopses & Reviews
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 Enos 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.
The purpose of this book is to present tools and techniques for using Pure Data and libpd as an audio engine in mobile apps (for Android and iOS). The tools described are perfect for the sound engine for a game or for transforming a phone or tablet into an experimental instrument. After reading the book, audio developers will know how to prepare Pd patches for use with libpd, and app developers will know how to use all features of the libpd API. Readers with some experience in both computer music and mobile development will be able to create complete musical apps.
The book includes a crash course in Pd, just enough to allow readers to make sounds and control them, as well as a discussion of existing solutions for rapidly deploying Pd patches to mobile devices. An introduction to Android or iOS development is beyond the scope of this book; readers will be expected to have a basic grasp of their platform of choice, including a working development setup. The book will, however, explain how to integrate libpd into an existing setup. A number of sample apps, ranging from minimal to full featured, for both Android and iOS, will illustrate all major points.
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 youre 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.
Do you want to turn your smartphone into a musical instrument? Are you thinking about equipping a game with real-time procedural audio instead of relying on canned samples? If so, then Pure Data and libpd are for you. Pure Data (Pd) is an open-source graphical programming environment for digital audio that has been popular in computer music circles for more than a decade. libpd is a library that turns Pd into an easily embeddable and widely portable sound engine.
Making Musical Apps explains how to integrate Pd and libpd into mobile apps for Android and iOS, with special emphasis on the interface between Pd programs, known as patches, and the application code. Audio developers will learn how to prepare patches for use with libpd, and application developers will learn how to control patches with the libpd API. Readers with knowledge of both digital audio and mobile development will be able to create complete musical apps.
The book begins with a crash course in Pd, just enough to allow new users to generate and control sounds, followed by an overview of existing solutions for rapidly deploying Pd patches to mobile devices. After a thorough discussion of the libpd API in both Java and Objective-C, the book walks readers through the implementation of sample apps for both Android and iOS that illustrate all aspects of libpd development, from the integration of libpd into the development setup to the use of advanced features.
About the Author
Peter is the principal developer behind libpd. He has a PhD in mathematics and has published in pure mathematics, virtual reality, and computer music. He has contributed to several open source projects, was a college professor, and is now a software engineer at Google.
Table 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;
What Our Readers Are Saying
» Computers and Internet » Computers Reference » General