SKILL BUILDER

image

Gunther Kirsch

MODERATE

ADVANCED ARDUINO SOUND SYNTHESIS

From "bit banging" to morphing and fading.

Written by Jon Thompson

THE ARDUINO IS AN AMAZING PLATFORM

for all kinds of projects, but when it comes to generating sound, many users struggle to get beyond simple beeps. With a deeper understanding of the hardware, you can use Arduino to generate any waveform you can imagine, and manipulate it in real time.

Basic Sound Output

“Bit banging” is the most basic method of producing sound from an Arduino. Just connect a digital output pin to a small speaker and then rapidly and repeatedly flip the pin between high and low. This is how ...

Get Best of Make: Volume 2 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.