Chapter 11. Sound

Raspberry Pi can record and analyze sounds. In one project, you’ll use a fast Fourier transform (FFT) to split sound into frequencies. This calculation can extract frequencies from any wave. With Arduino, you’ll use a microphone to measure volume.

Experiment: Hearing Voices/Volume Level

A microphone can detect sound level. This first experiment simply reads and prints values from a microphone.

For many projects, you probably want to manipulate the numbers read from the microphone. You could set a threshold, apply a moving average, or detect minimum and maximum values. Later examples in this chapter let you try setting ...

Get Make: Sensors 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.