filter music

Hi guys i would create a project with arduino that turns on/off some leds strips.
1 for bass, 1 for medium and 1 for high, but i have a question:
the filter process can be made with arduino? or i have to create a low pass filter, an high pass filter and a band pass filter with an electronic circuit? (with resistors, capacitors and so on)

Thanks

Can use MSGEQ7 for the filtering.
Am sure libraries exist for it, has been around a while.

MSGEQ7 7-band EQ chip.pdf (146 KB)

I've found a library "FFT" that can help i think. If i use this library i have to connect the jack wire in an analogic port? without any circuit?

Can use MSGEQ7 for the filtering.

Thank you, i've bought 3 of them :slight_smile:

Do read up on that library. It may require the analog signal to be centered around 2.5V so the low end is not clipped off below -0.5V by the input protection diodes.

Then i'll need a simple circuit, thank you :slight_smile:

CrossRoads:
... below -0.5V by the input protection diodes.

detail of circuit, please
thanks

angel67:
detail of circuit, please
thanks

http://interface.khm.de/index.php/labor/experimente/arduino-realtime-audio-processing/

Grumpy_Mike:
http://interface.khm.de/index.php/labor/experimente/arduino-realtime-audio-processing/

no input protection diodes there.

[u]Protection Diodes[/u].

[u]Input Bias Circuit[/u]

angel67:
no input protection diodes there.

Correct they are inside each and every arduino. There is no need to add them. Read again what CrossRoads said with this new knowlage in your head.

Grumpy_Mike:
Correct they are inside each and every arduino. There is no need to add them. Read again what CrossRoads said with this new knowlage in your head.

I see, the answer is this so..

Most microcontrollers have clamping diodes on their I/O pins