Chapter 20

Sound

“Check. Check. Check 1. Sibilance. Sibilance. Check. Check. Check 2. Sibilance. Sibilance.”

Barry the Roadie

In this chapter:

Libraries for Sound.

Simple sound playback.

Playback with adjusting volume, pitch, and pan.

Microphone as sound sensor.

Processing does not have built-in support for sound. Not that there is anything wrong with sound. Not that Processing has a personal grudge against sound. There is just no built-in sound. As we discussed in the introduction to this book, Processing is a programming language and development environment, rooted in Java, designed for learning to program in a visual context. So, if you want to develop large-scale interactive applications primarily focused on sound, you should really ask ...

Get Learning Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.