Re: framerate asFFT needs dir to run at to be accurate?
Date: December 18, 2009 09:44PM
Hi,
I'm not sure that I understand what you are doing exactly, but I think the variation of the framerate is probably the problem : each time you run your animation (playing the sound and computing the FFTs and comparing), the frames do not happen at the same moments because the framerate is not stable. The framerate is just an indication for director to do as well as it can, but depending on what the computer is doing at the same moment there will be slight variations.
To improve your recognition, you should take this into account, and for example allow for an imprecision in the comparisons of the frequency patterns. Like "equal within 5%". Something like this..
I hope this helps..