O'Reilly logo

Best of Make: Volume 2 by The Editors of Make:

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required