simple sound detection(something like a clap of a whistle)

Ever visited the arduino tutorial pages? :wink:

Check - http://arduino.cc/en/Tutorial/Knock - !