convert a WAV file into a frequency file (realtime)