Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino BLINK Blueprints

You're reading from   Arduino BLINK Blueprints Get the most out of your Arduino to develop exciting and creative LED-based projects

Arrow left icon
Product type Paperback
Published in May 2016
Publisher Packt
ISBN-13 9781785284182
Length 134 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Utsav Shah Utsav Shah
Author Profile Icon Utsav Shah
Utsav Shah
Samarth Shah Samarth Shah
Author Profile Icon Samarth Shah
Samarth Shah
Arrow right icon
View More author details
Toc

Introduction to sound visualization


Sound visualization, or music visualization, has been an integral part of the music industry since the evolution of media players. For example, on your computer, when you play any music, you can see the visualization in the default media player or VLC media player, as shown in the following image:

You have noticed that, as the loudness of the music, or the frequency of the sound changes, the visualization changes. We will use the same principle to visualize sound using Arduino.

How to visualize the sound

In simple terms, sound/music is nothing but a series of signals with a certain frequency and a certain amplitude. We can get the value at each point by using analogRead(). But, this function would be much too slow for sampling audio. So, we will use the microcontroller's analog-to-digital converter, which automatically takes repeated analog intervals at precise intervals. We will learn both ways of sampling audio. There are a number of algorithms available...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime