If by current frequency, you mean something about captured audio, realize that live sound is composed of a massive number of frequencies, so you will never get just one frequency result.
This is true even for a single musical pitch (except maybe for synthesized pure sinusoidal test data in zero noise).