Read a freqency from an analog pin

You need to detect high & low volume then?
That is easier.
Run your signal thru an amplifier, and low pass filter, make it more like a DC level, then measure the level with analog pin.
That's easily doable.