Efficient real-time pitch detection algorithm
YINS fft is the best method that worked for me in the past. I have my open source implementation of it written in awesome D language: link . I compared the results with Praat they match.