-
color organ
Hi all,
I want to make an 8 channel color organ based on a pick. 8 leds sync to a music input. Which pic I’ll use don't matter at this point (I have a nice collection of pics) I just want a general idea, directions or a sample code will be appreciated.
My idea is to sample the analog input (music) for frequency and amplitude:
1- Measure the frequency to determine which led is on or off (PULSIN).
2- Measure the amplitude to determine the brightness (ADC then pwm).
That was my idea but if you guys have any suggestion or a link please help!!!!
In advance I thank you for any ideas or better approach to make this projects.
Best Regards,
Joe
-
Joe,
There is another approach. Rather than have a frequency based sound to light you could set it up as a chaser with lots of pre-set programmed patterns.
If you then used a low pass filter and then a peak detection circuit you could use the bass beat as a trigger to step through some pre-set patterns This is what I used a few years back when I did something similar when I wanted a light system for my wife's birthday party.
http://www.youtube.com/watch?v=DpAD5OFoa9U
Have a look at my site http://micro-heli.co.uk/ the electronics page contains some PBP code and schematic which might get you started.
The filters were based on the following schematics
http://sound.westhost.com/p62-f5.gif
http://sound.westhost.com/p62-f6.gif
Full details on the following web site http://sound.westhost.com/project62.htm