• Stars
    star
    179
  • Rank 206,461 (Top 5 %)
  • Language
    C++
  • Created almost 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An Arduino based music visualizer using the FastLED library and a strip of individually addressable LEDs

Arduino FastLED Music Visualizer


Instagram - YouTube - Website

Like my content? Show your support by subscribing to my channel and following my page.

Catch my live stream on Twitch where I play games, have just chatting sessions to talk tech, and just generally be an ordinary person who can't figure out how to make proper life decisions.

Stream Schedule:
Mon: 1800 - 2000 EST
Wed: 1800 - 2000 EST
Sun: 1200 - 1400 EST

Table Of Constituents

Intro

An Arduino based music visualizer using the FastLED library and a strip of individually addressable LEDs.
Imagine this scenario. Does this not make you want to create your own music visualizer?

> crawled inside of the neighbor's dog
> dog walks inside of neighbor house
> broke into neighbor house by being inside of dog
> it is night now
> brown cow
> creep upstairs to find their mushroom farm
> go into bed room
> nothing
> turn to leave
> emergency yogurt falls out of pocket onto hardwood floor of bedroom
> yogurt everywhere
> wife gets up
> slips on yogurt
> impaled by mattress and is dead
> yogurt murder
> heinous Crims
> power dump on dad's face so he doesn't feel as bad about his dead yogurt wife
> poop yogurt and leave
> poo and yogurt all over
> in the air
> zero gravity and poop

I can't find a guide worth a shit on YouTube or Github. I saw many videos showing a demo of a DIY music visualizer using these exact lights and an arduino. People seem to love to brag about how awesome their shit is but they won't show you how to make it. I have created this repo for anyone who faces the same challenge I did. I hope you find this useful and beneficial to your daily intake of fiber.

Setup

So this is how to setup the most "dank" music visualizer ever.
There will be two ways to set this puppy up. I prefer the second way, but that costs money. There is a full video tutorial here

Materials

Standalone Arduino UNO Setup

Code

  1. Open this code in your Arduino editor
  2. Line 13, adjust NUM_LEDS to the number of LEDs you plan to use
  3. Upload to your Arduino UNO

Pins

  • 5v - Connect to Vcc on LED strip
  • GND - Connect to GND on LED strip
  • A0 - Connect to the other end of the 3.5mm jack connected to your music source
    • A0 must be pulled down with a resistor (shown in the picture below)
  • 6 - Connect to DATA on LED strip alt text

Arduino UNO with Sparkfun Spectrum Shield Setup

For this version of the music visualizer, you will need the Sparkfun Spectrum Shield
I prefer this version because it allows you to split the audio signal into 7 seperate channels (bass, mids, treb). This is important for anyone who wants their music visualizer to respond only to bass like mine.

Code

  1. Open this code in your Arduino IDE
  2. Line 15, adjust NUM_LEDS to the number of LEDs you plan to use
  3. Install the FastLED library under "Manage Libraries"
  4. Upload to your Arduino UNO

Pins

  • 5v - Connect to Vcc on LED strip
  • GND - Connect to GND on LED strip
  • 6 - Connect to DATA on LED strip

More Repositories

1

ESP32Marauder

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
C++
2,246
star
2

USBKeylogger

A WiFi enabled USB Keylogger and Keystroke injection tool
C
113
star
3

BPNVG

94
star
4

Tinyduck

The super tiny USB Rubber Ducky
C++
92
star
5

Links

TikTok sucks so this is my new Link hosting repo
60
star
6

MarauderCentauri

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32 and ESP8266
C++
59
star
7

justcallmekoko

57
star
8

ESP8266_Deauth_All

Arduino code for your ESP8266. Deauthenticate all clients from all access points
C++
48
star
9

Hardware-Keyloggers

Research done about modern hardware keyloggers
30
star
10

MusicVisualizer

A music visualizer based on the ATMEGA328P-AU
C++
30
star
11

XboxOneRapidFire

Source code for the Xbox One Arduino/ATtiny85 Rapid Fire Mod
C++
24
star
12

MarauderMini

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
C
23
star
13

PythonDiscordBot

A modular Python bot that integrates with Discord
Python
16
star
14

ROTA

A WiFi enabled Xbox One rapid-fire mod
13
star
15

Arduino-LED-Ticker

An LED matrix ticker which can receive new ticker messages over WiFi via web interface
C++
9
star
16

pScan

Multi-threaded port scanner written in C++
7
star
17

DucoShiv

An AVR based USB miner for Duinocoin
C
5
star
18

TwitchMCU

A Twitch Chat reactive LED controller
C++
4
star
19

SSHscanner

botnet scanner written in python
Python
4
star
20

LVGLMarauder

C++
3
star
21

ArduboyTheHorde

C++
3
star
22

SwitchLib

An Arduino Library for handling tactile switches...or anything else.
C++
3
star
23

RGBShutterShades

Shutter Shades with RGB Leds
C++
3
star
24

ESP32BeaconSpam

C++
3
star
25

Marauder-Featherwing

C++
2
star
26

RaspberryPiMOTD

This is just a trashy little MOTD script I made for the raspberry pi
Python
2
star
27

JankLoRa

Trash holds this LoRa communicator together
C++
2
star
28

DiscordBot

Python
2
star
29

ESP8266-Auto-Update

1
star
30

ESP8266-Business-Card

1
star
31

ChatControlsMinecraft-Kubernetes

Helm chart for a Python based Minecraft mod that allows Twitch chat to control Minecraft
Smarty
1
star
32

ResinIoT

Code for a resin encased Wemos D1 Mini
C++
1
star
33

PythonTwitchBot-Kubernetes

A Helm chart for deploying a Python Twitch bot on Kubernetes
Python
1
star
34

justcallmekoko.github.io

HTML
1
star
35

PythonTwitchBot

The non-kubernetes version of the python Twitch Bot
Python
1
star
36

RGBbadge2

C++
1
star
37

HelmCharPythonTest

Smarty
1
star