Best method to extract a particular frequency from a raw signal