All Projects â†’ AnshumanFauzdar â†’ Sound-and-music-reactive-ESP8266-WS2812B

AnshumanFauzdar / Sound-and-music-reactive-ESP8266-WS2812B

Licence: other
Refined Version of @scottlawsonbc and all schematics + Tutorial 🎵🎵

Programming Languages

python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Sound-and-music-reactive-ESP8266-WS2812B

dirty-leds
Music reactive WS2812b LEDs with an ESP8266
Stars: ✭ 24 (-31.43%)
Mutual labels:  ws2812, ws2812b
lumazoid
Firmware for the Lumazoid realtime music visualizer board
Stars: ✭ 85 (+142.86%)
Mutual labels:  ws2812, ws2812b
WOWPixelDriver
A hardware based animation library,pixel driver & dynamic led mapping system for addressable LEDs
Stars: ✭ 39 (+11.43%)
Mutual labels:  ws2812, ws2812b
Hyperhdr
Open source ambilight implementation for the audio and video stream on Windows 10 and Linux (x86 and Raspberry Pi). Primarily for use with the movie content on your TV and the LED strip. Includes support for HDR10 tone mapping correction for video processing and multi-threading for better performance.
Stars: ✭ 71 (+102.86%)
Mutual labels:  sound, ws2812b
ArduLED
Control NeoPixels (ws2812b) easier than ever with an Arduino!
Stars: ✭ 25 (-28.57%)
Mutual labels:  music-visualizer, ws2812b
WS281x.swift
A Swift library for WS281x (WS2811,WS2812*,WS2813*) RGB led strips, rings, sticks, matrices and more.
Stars: ✭ 32 (-8.57%)
Mutual labels:  ws2812, ws2812b
raspi ws2812
A kernel module able to run as many WS2812 strips as there are GPIO pins on Raspberry Pi Zero
Stars: ✭ 35 (+0%)
Mutual labels:  ws2812, ws2812b
xmas-tree
XMAS Tree from stacked ws2812 rings driven by a Digispark
Stars: ✭ 22 (-37.14%)
Mutual labels:  ws2812, ws2812b
catnip
terminal audio visualizer for linux/unix/macOS/windblows*
Stars: ✭ 79 (+125.71%)
Mutual labels:  sound, music-visualizer
awesome-ws2812
A curated list of awesome resources for ws2812 LED strips and matrices
Stars: ✭ 84 (+140%)
Mutual labels:  ws2812, ws2812b
MusicVisualizer
A music visualizer based on the ATMEGA328P-AU
Stars: ✭ 30 (-14.29%)
Mutual labels:  ws2812b
WereSoCool
A language for composing microtonal music built in Rust. Make cool sounds. Impress your friends/pets/plants.
Stars: ✭ 41 (+17.14%)
Mutual labels:  sound
Keras-LSTM-Trajectory-Prediction
A Keras multi-input multi-output LSTM-based RNN for object trajectory forecasting
Stars: ✭ 88 (+151.43%)
Mutual labels:  anaconda
PSCondaEnvs
Implementation of Conda's activate/deactivate functions in Powershell.
Stars: ✭ 84 (+140%)
Mutual labels:  anaconda
Wortuhr ESP8266
Wortuhr mit ESP8266 WeMos D1 mini und NeoPixel WS2812B LEDs mit mp3 Sounds, Animationen, Transitions, Events und Spiele
Stars: ✭ 33 (-5.71%)
Mutual labels:  sound
arcin-infinitas
arcin firmware for beatmania IIDX controllers - native support for Infinitas, LR2, beatoraja
Stars: ✭ 26 (-25.71%)
Mutual labels:  ws2812b
FScape-next
Audio rendering software, based on UGen graphs. Issue tracker: https://codeberg.org/sciss/FScape-next/issues
Stars: ✭ 13 (-62.86%)
Mutual labels:  sound
LedStripSimulator
Simulates an LED strip and allows very NeoPixel-like access
Stars: ✭ 26 (-25.71%)
Mutual labels:  ws2812b
spc-player
SNES music player in your browser with original hardware and Arduino.
Stars: ✭ 37 (+5.71%)
Mutual labels:  sound
deep bait
Running the most popular deep learning frameworks on Azure Batch AI
Stars: ✭ 22 (-37.14%)
Mutual labels:  anaconda

This repo is not maintained anymore and if you are interested in music reactive WS2812 checkout this amazing project LEDFX fully compatible with WLED

Music Reactive WS2812 LED Strip via PC and raspberry with ESP8266

Want to enjoy some music reactive without any hassling wiring and microphone like stuff along with arduino, then this will be perfect for you!

This project utilises sound/music from PC and process it accordingly and send over wifi to ESP8266 device.

Parts, tools, softwares required:

Hardware Required:

  1. ESP8266 (I have used NodeMCU)
  2. Programmable LED Strip (I have used WS2812B)
  3. Laptop/PC
  4. Raspberry pi (Not covered in this documentation, I have raspberry pi but do not have usb-sound card)
  5. Wiring, resistors-capacitors for avoid burning your WS2812 or ESP8266.

Software Required:

  1. Arduino IDE for flashing code to ESP8266
  2. Anaconda installed on PC (https://www.anaconda.com/download/) for python environment.
  3. Working condition PC for all processing stuff with working sound card!

Tools Required: -> Basic knowledge is required

Download this repository and save according to your ease of access

How things are working?

The repository includes everything needed to build an LED strip music visualizer (excluding hardware):

Python visualization code, which includes code for:

So, music/sound is processed and hence signals are transferred to ESP8266

Signal Processing

ESP8266 recieving signals:

Block Diagram

Configuring Arduino and Anaconda

Arduino IDE

  • Install latest Arduino IDE from "https://www.arduino.cc/en/main/software".

    • Install all dependencies and libraries which include ESP8266 boards, ESP8266 libraries, FastLED, Neopixel Library, Neopixel BUS library.
    • Get all the libraries ready and flash your ESP8266 from board selection choice.
  • If there is any error while flashing, look into the error and install the corresponding library!

  • Upload the code and verify that ESP8266 is connected to your Wifi or not

Anaconda

  • Once you have installed anaconda we need to create the environment AKA the workstation through which this will work!
    • You can create conda environment thorugh base(root) terminal or just by pressing "Create" button
    • when you are creating through base(root) use "conda create --name visualization-env python=3.5"
    • activate visualization-env
    • Now we have to install several dependicies to able to work:
      • conda install numpy scipy pyqtgraph
      • pip install pyaudio

Connections

ESP8266 connection edit out pin output according to your requirement in (ws2812_controller.ino)

ESP8266

Connection WS2812 with care is important as they are very sensitive to voltage change and you can easily burn them!

WS2812 Connection

Sound selection

Stereo sound is preffered if you want to utilise music from your PC not from micrphone of PC

So, select stereo connection from sounds properties, and if it is not showing up - right click and check for disabled devices, if still it doesnot show you can use third party software like "VoiceMeeter". Sound Selection

Sound Selection2

Last But Not Least - Run the visualisation

Once you have done all this and flashed code to ESP8266 without any error, then run the environment and go to directory where you have downloaded this repository For ex- If you are in E drive and python folder is saved like this "E:\DATA\AURDINO PROJECTS\Music Reactive\audio-reactive-led-strip-master\python" then by "cd E:\DATA\AURDINO PROJECTS\Music Reactive\audio-reactive-led-strip-master\python" change to this directory and then "python visualization".

Boom! Enjoy the visualization and make your room sync to music, adjust the frequency slider according to your requirement!

Visualization

Effect

Project Credits:

This is refined Version of (@scottlawsonbc) and all schematics + Tutorial and all the errors and instructions covered

Arduino refined code is by (@joeybab3), (@gorgitko)

Themed Version is available at "https://anshumanfauzdar.github.io/Sound-and-music-reactive-ESP8266-WS2812B/"

Current Status:

I have moved my LED strips to TV frame and using WLED for daily use and LEDFX for music reactive purpose and it works great, but if you want to use more cool effects and dedicated to music reactive then use this project and do share with others!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].