multiple inputs (sound, light, color) for single output (RGB LED)

Hi everyone,

New to the arduino and need some help with a project I'm trying to do. I want to create a device that uses multiple inputs; sound detector, photo sensor, color matching sensor, to power a single RGB LED light. I would like sound to control on/off, light to control intensity, and color to control the color of the LED. Is this possible?

Thanks for anyone's help on the issue!

More information that may be helpful:

I have the Arduino UNO r3

Photo sensor that came with the starter kit here: http://www.amazon.com/gp/product/B00HI0RYJK/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1

Sound sensor: http://www.amazon.com/gp/product/B00AF2GB1U/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

SainSmart Color Recognition/Discrimination Sensor TCS3200D/TCS230D: http://www.amazon.com/gp/product/B009A5256I/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

Yes that is possible you will need a piezo from radioshack, a photo cell and a color sensor from mouser.com.

MaxSC: Yes that is possible you will need a piezo from radioshack, a photo cell and a color sensor from mouser.com.

Okay, are the sensors I listed not adequate for the job?

I am trying to use the sensor above with the following code but am getting a series of error messages. Can anyone take a look at the code and tell me how to fix them? Would be much appreciated.

chameleon_code.ino (3.05 KB)

According to the instructions, I downloaded the "metro library", found here: http://playground.arduino.cc/code/metro#.UylIrvmSySo

I think the library might be the problem but I don't know how to correct it.