Hello all,
Was wondering if someone has implemented a project where the color of the LEDs change based on the frequency of the music? I have implemented the code but cannot get it to work. I am able to get the FFT portion of the code, and using music librarie’s FTT implementation. Its easy and pretty starightforward. When I try to light the LEDs that is when I face the issue. Either some of the LEDs dont light up or I see some of the LEDs blink. Despite me setting up specific colors, most of them light up as white. Was wondering if anyone has faced this issue in his/her attempt at awesomeness?
I can attach my code if anyone wants to take a look and point out where I could be going wrong. Appreciate any help here.
@kaushik_prakash , It would be great if someone incorporated FastLED into this project: https://github.com/AdySan/ESPSocket
I am using an Arduino Uno. Was wondering if this library could be used with Arduino Uno? And what is the name of this library?
Adding your code would help a lot. Along with type of strip. Does the ground of the led strip connect to the ground on the arduino?
The teensy audio library is only for the teensy, which is what I’ve used previously.
@kaushik_prakash , how are you mapping FFT bins to LEDs? One approach is to just simply have the same number of LEDs as FFT bins, then map() bin value to LED brightness. Another way is to make a “color organ”, where you divide your LEDs into, say, 3 different regions, for low, mid, high frequencies, then do a similar grouping of your FFT bins, average each group and assign that to color brightness of the LED groups. In typical color organs, red == bass, yellow == mids, green == highs.
Post your code as a gist or similar and we could offer more detailed suggestions.
I do a simple sound reacting by MSGEQ7 chip and esp8266 with FastLED. Really easy - but only 7 freq bands