Forums

FFT for Pitch Detection

Started by bloodfire1004 June 26, 2011
Hi!

Ive been recently using FFT for Pitch Detection and I notice that, although
the notes are correct (e.g. C, D#, etc.), there are a lot of notes that are
in the wrong octave (e.g. E2 is categorized as E3, C3 is categorized as C4,
always an octave up).

Why is this the case? My algorithm is after calculating the FFT bins, I get
the bin with the greatest intensity and calculate which frequency it is.

Any help on this? Thanks!
bloodfire1004 wrote:
> Hi! > > Ive been recently using FFT for Pitch Detection and I notice that, although > the notes are correct (e.g. C, D#, etc.), there are a lot of notes that are > in the wrong octave (e.g. E2 is categorized as E3, C3 is categorized as C4, > always an octave up). > > Why is this the case? My algorithm is after calculating the FFT bins, I get > the bin with the greatest intensity and calculate which frequency it is. > > Any help on this? Thanks!
Harmonics. -- Les Cargill