Read a freqency from an analog pin

I do not want to work exactly.If sound is low, blink a led. If sound is high, blink another led.