So if you want to show off at your next house party or just make something cool to add some visualization to music, lets go!
Remove these ads by
Signing UpStep 1: Parts List
Basic
- Arduino UNO (or similar)
- 8 Super Bright LEDs
- 8 Resistors
- Wire/Ribbon Cable
- 3.5 mm Female Connector
- Soldiering Equipment
- Poster Board
- X-acto Knife
- Audio Equipment
- Mini Breadboard
- Mini Blank Circuit Board
- Heat Shrink
Additional
- 10 k Potentiometer
- Potentiometer Knob
- Colored PVC/Arcylic Film
- Diffuser








































Visit Our Store »
Go Pro Today »




The data_avgs[ ] array becomes 14 different frequencies ranging from about 80Hz (the bass) to 12000Hz (the highest treble). So if you change the "0" to a "7" or so, you will get the higher frequencies. Thanks!
Just a tip for the code, you should be able to write:
void ledArray (int input) {
for (int i = 0; i < input; i++)
{
digitalWrite(led[i], HIGH);
}
for (int i = input; i <8; i++)
{
digitalWrite(led[i], LOW);
}
}
and save yourself some if statements!