Calculates the autocorrelation of audio signals recorded with the microphone. The frequency of the signal is given, which only works reasonable for single-frequency signals.