POV-Ray : Newsgroups : povray.off-topic : Frequency locked loop? : Re: Frequency locked loop? Server Time
6 Sep 2024 01:26:40 EDT (-0400)
  Re: Frequency locked loop?  
From: triple r
Date: 16 Mar 2009 12:00:01
Message: <web.49be76c2cee620ed805d39df0@news.povray.org>
Mike Raiford <"m[raiford]!at"@gmail.com> wrote:
> What about using correlation with the desired frequency sine or cosine
> wave? This is essentially what DFT does is correlate input data with a
> series of cosines and sines to get the data into the frequency domain.

Signal -> frequency domain = spectrum
Sine wave -> frequency domain = delta function
Correlation in frequency domain = product.

In other words, this just picks off the nearest frequency (since it probably
won't fit exactly on the scale).  I'm not sure this will improve the precision
quite enough.

>
> Alternatively, you may be able to use a much larger FFT and get a better
> frequency resolution.

You're limited if you want good temporal resolution too.

> I have seen software that can analyze a signal and give its pitch,
> though I'm not sure how it works. I'm sure it's using an FFT, it might
> be using some means of interpolation to estimate where the peak really
> sits.

I would assume those cheap electronic tuners must be using some sort of feedback
loop since they're certainly not FFT'ing it.  So far, the FFT method works
acceptably well, but I'm still curious how it should be done properly.  Thanks
for the advice!

 - Ricky


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.