I am planning to use this library to run a VU meter display.

I am planning to use this library to run a VU meter display. I intend to have 7 frequencies per channel, with left and right channels.There will also be an overall volume bar. Each of these will have 10 LEDs. THis adds up to 150 LEDs Finally I intend to have 1 strip of accent lights with 16-30LEDs. To drive all of these I plan to use a demux. I was wondering if this library supports this? I am struggling to understand this as I haven’t before used some of these parts.

You shouldn’t need a demux setup. Just send the data to the LED strip(s) directly.
What type of LED strip are you thinking of using? Some are faster then others which might help give better audio responsiveness.

Sounds like a pretty fun project!

@Earl_Watkins_Ruralgu here is a good start:
http://tronixstuff.com/2013/01/31/tutorial-arduino-and-the-msgeq7-spectrum-analyzer/
and my Wiki:

WS2812, I think I’ll use 1 array and re assign it 15 times. the fastLED library doesn’t know that the output changed since the pin won’t., then have 1 other 16-30LED array.

I have the msgeq7 running on stereo, my first library and it passes arrays(that was a cluster), Now im at the point I’m ready to do something with the info.

wow that’s great, I was also looking to do such ! thanks for the github :slight_smile:

Why use a MSGEQ7 when you could bring the signal into the microcontroller and compute FFT?

@PaulStoffregen There is a lot more to this project than just the VU and so I am letting chips do the heavy lifting to keep to micro controller as the CPU.

@Michel_G_Khoury I just posted my library to github

it works with arrays which is really handy.
feel free to comment or contact me if you have any questions

@PaulStoffregen Do you know of any libraries for FFT?

@Kev_Zhu had a post on this
https://plus.google.com/+KevZhuArt/posts/hVTLimr2rgX

@Juergen_Bruegl thank you. I’m still planning to use the MSGEQ7, But from my understanding, from the datasheet & reading, of the chip the RC circuit controls the 7 frequencies via the clock oscillator pin. So I’m going to look into it and if I am right I want to have my library be capable of finding the frequency of oscillations so that you can tell if the chip is tuned as you think it is.

that should be easy: after each time you set the strobe pin LOW you read a frequency band after another. However you have to keep the timing.

With LEFT = constrain(map(LEFT, 500, 3800, 73, 144), 73, 144); you get rid of the noise.

Which boards(s) are you using?

@PaulStoffregen I’m using the Uno for now. will be a mega.

@Juergen_Bruegl I know how to read the 7 frequencies the IC outputs. I posted a library above. I want to measure the oscillation frequency on the clock oscillator pin to verify that it is right and compare it to what it should be. By doing this I will know if the channels being output are what the datasheet states or if they are off do to the internal oscillation of the being off.