How do you detect pitch using an FFT transformed array?

195 views Asked by At

So I have an array of transformed complex numbers. I do not know what do with the returned data. I've tried calculating the magnitude each element, designating the one with the highest element as the correct frequency, but found that I get weird numbers like 5,000hz often. Is there a better operation I can perform on the returned data to determine pitch?

Note: I want to use the pitch as part of Voice Activity Detection Algorithm.

1

There are 1 answers

0
Paul R On BEST ANSWER

There are many different algorithms for pitch detection - I recommend you try using the Harmonic Product Spectrum method, since you have already embarked down the FFT-based route, and it's fairly simple to implement one you have a power spectrum.