I'm able to read a wav files and its values. I need to find peaks and pits positions and their values. First time, i tried to smooth it by `(i-1 + i + i +1) / 3` formula then searching on array as `array[i-1] > array[i] & direction == 'up' --> pits` style solution but because of noise and other reasons of future calculations of project, I'm tring to find better working area. Since couple days, I'm researching FFT. As my understanding, fft translates the audio files to series of sines and cosines. After fft operation the given values is `a0`'s and `a1`'s for `a0 + ak * cos(k*x) + bk * sin(k*x) which k++ and x++` as this picture 

<http://zone.ni.com/images/reference/en-XX/help/371361E-01/loc_eps_sigadd3freqcomp.gif>

My question is, does fft helps to me find peaks and pits on audio? Does anybody has a experience for this kind of problems?