Hello together
I have a question and that is what do I need to do so that I can use my W2812b Leds as a visualizer?
Would be great if I get a quick but working help!
Which Arduino?
How will you sample the music?
How will the music be processed, and what aspect of the results should be displayed?
What has this post got to do with Arduino IDE Installation and Troubleshooting?
Your topic was moved to its current location as it is more suitable.
I note that your previous topic also had to be moved, please take more care when choosing a forum section to post in.
Could you also take a few moments to Learn How To Use The Forum.
It will help you get the best out of the forum in the future.
Thank you
This is an Arduino UNO
The Arduino should simply display the treble and bass like a normal visualizer just without a microphone in the case here it should really happen mainly via the PC
Plenty of visualizers for PCs! The Arduino has to sample the music, process it to determine the treble and bass components, and send signals to the display. This is not a simple task, but people have done it and posted tutorials on line.
Search for "Arduino Uno music visualizer".
Here is the "standard" bias circuit that can be uses with a line-level or headphone-level audio signal. The signal needs to be biased because the Arduino can't read the negative half of the audio signal. (The Arduino can be damaged by negative voltages and the distortion from loosing the negative half of the waveform will mess -up any frequency analysis.)
You can also use a bias circuit for speaker-level signals but with high-power amplifier you'll need to add a voltage divider (2 more resistors) so you don't over-voltage the Arduino.
Then you'll need to use the FFT library to get the frequency information.
Or instead of a bias circuit you can use an MSGEQ7 chip which will give DC voltages relative to 7 frequency bands, which means you also don't need FFT and the software is a lot simpler.
(You'll need a Y-splitter so you can connect speakers or headphones at the same time. When you plug something into the headphone jack on a laptop the speakers will be turned off.)
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.