Hello! I’m using Audacity 2.4.1 for birdsong analysis and I’m hoping to use autocorrelation to get information on key frequencies of the call. I have a couple questions, listed below:

Does autocorrelation show the center frequency? If not, what is the difference?

What exactly does autocorrelation show? The audacity manual says it is “the key frequencies,” does this just mean the most prominent/ the ones with the highest amplitude?

I’m attaching some images below, showing the spectrogram and the plots.
the spectrogram:

the plot spectrum:

the standard autocorrelation:

the enhanced autocorrelation:

The highest peak I get from the FFT spectrum vs. the autocorrelation spectrum are different – why is this and which one should I trust?

How should I decide what bin size to use for the autocorrelation?

Does it matter if I use enhanced vs standard autocorrelation? Is there a possibility of getting skewed results if I choose one and what are some precautions to take?

Imagine that you have a sine wave, with a frequency of 100 Hz. That waveform has peaks at intervals of 0.01 seconds.
Now imagine that you make a duplicate copy of it, and align the two waveforms one above the other - the two waveforms will exactly correlate.

Now gradually shift the duplicate waveform slowly to the right.
At first the correlation between the two waveforms decreases.
When the duplicate has been shifted (delayed) by 0.005 seconds, the two waveforms are exactly out of phase - peaks in one are where the troughs appear in the other.
But then if you continue shifting the duplicate copy, the peaks gradually start lining up again- correlation is increasing.
When the duplicate has shifted by 0.01 seconds, the peaks once again line up - we have correlation again.

As we continue shifting the duplicate, we see that maximum correlation occurs every 0.01 seconds.
If we draw a graph with the “delay time” on the X axis, and the amount of correlation on the Y axis, we get a graph like this:
(Audacity’s other types of autocorrelation are variations of this algorithm, which may show points of interest more clearly, depending on what you are looking for.)

Hi! Thank you so much, that absolutely clears things up! So autocorrelation doesn’t really give information about frequencies, more about the periodicity of a signal?

Yes, though if you know the periodicity of a signal, then you know the frequency because frequency = 1/periodicity, or as more commonly stated:
frequency=1/wavelength

Actually! I just wanted to clarify one more thing – so for the example Autocorrelation spectrum in your post, the maximum correlation occurs every 0.01 seconds. So if the period is 0.01s, the key frequency is 100 Hz? What do the frequency values on the other peaks indicate? Thanks again!