I’m trying to do an application, where user will say something and then click a button which will give them the frequency value for what they said. I have been searching a lot , and I have concluded that ,I need to use firstly audio record class, to record the voice, and then use FFT to convert it to frequency. My main question is that FFT gives a frequency graph, and I don’t need that, I need the frequency and pitch value. how can i do that?
Please help me :)
Unless you are collecting a pure-pitch sound (like a sine wave), your results will actually be a range of frequencies which you are getting at the moment with the FFT (check out this description).
The pitch of a sound can be gathered from the FFT graph by using pitch-estimation algorithms (see answer here). Here's some links to open-source pitch tracking implementations if that would suit.
It's definitely doable!
Good luck.