Making Music with Arduino

Oh, I'm hoping to use a photo resistor to capture a change in color which will then trigger a midi signal output form the arduino.
Similar to this but with LEGO.