A bunch of LEDs programmed using Raspberry to light up according to music tones and beats.
Follow the steps below to do the project yourself.
- Connect the circuit as shown below
- Make you have the following Python dependencies - numpy, pyaudio, wave, math, Rpi, scipy
- Save the music file in WAVE format in the same folder as the main code.
- Connect your earphone/speaker to the raspberry pi.
- Now run the main code.
Here is a demo of the project
The project is implemented using python. It essentially works by sensing the audio amplitude from wave file and lighting up LEDs proportionate to the audio level.
Electrical Components required - Raspberry Pi Board, Female to Male Connectors, Bread board, Speaker/Audio Output Device, 12 x LEDs, 12 x 330 Ohm Resistors.