The the items in the next paragraph are taken from Stack Overflow. Should FFT(x) , FFT(w), and FFT© be calculated with rectangular windowing, or with rounded windowing such as Hann or Hamming? The copyright symbol should be an C inside parentheses.
Take time domain buffer x, make a windowed copy w.
Sx = FFT(x), Sw = FFT(w)
c = Log of square magnitude of Sw
Cx = FFT©
Estimate fundamental (and maybe harmonics) using Cx
Use Sw to do cunning phase trick on fundamental (or higher harmonic) bin(s)
And/or use Sx to do quadratic bin fit around fundamental (or higher harmonic)
Thank you for considering these questions about FFT analysis. Please share your ideas about what can be done with Sx, Sw, and Cx.
@ Stephen Kyne
Thank you for the link. It will take a long time to read the whole thing.