Introduction - If you have any usage issues, please Google them yourself
The Yin algorithm was developed by Alain de Cheveigné of IRCAM-CNRS and Hideki Kawahara of Wakayama University. It allows for real-time continuous (for each sample) fundamental frequency estimation.
It features a very low error rate and few tuning parameters.
This implementation is a C++ template, with EMM support for faster processing. Developped in Visual C++ 6.0, but should compile with other compilers.