The end goal of my project is to create an autotune program, But the problem I'm trying to solve right now concerns finding the pitch of someone singing a note. I have written some code that performs a Discrete Fourier Transform on a sample of 2048 values derived via my microphone. Heres the results of the code:
The top graph is the original pressure v time graph and the bottom is the Fourier Transform amplitude v frequency graph.
Basically my question is this: From this point, how would I determine the "pitch" or "frequency" of the original sample? Im sorry if I seem to be a noob (I am), I just can't find many resources that are much help to me on this. Any help is greatly appreciated!