Go Down

Topic: VU meter audio signal break up (Read 2 times) previous topic - next topic

Paranemertes

oh, so the library doesn't just have a function that says this many outputs wanted (12) then breaks it up? *SIGH* ok... what about anything besides a fft?
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."

Nick Gammon

Huh? The one for the lots of leds shield simply averaged the arrays so you average down 128 items (or whatever it was) to 12.

Paranemertes

what function do i use for that?
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."

Paranemertes

In the library that is? where did the 128 items come from?
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."

Nick Gammon

You are the one that posted a link to the code. Here:

http://www.instructables.com/id/LoL-Shield-Audio-Spectrum-VU-Meter/step3/program-Arduino/

On that page he averages out the FFT values in a few lines of code.

Go Up