Skip to content

Fast Python implementation of the Yin algorithm: a fundamental frequency estimator

License

Notifications You must be signed in to change notification settings

patriceguyot/Yin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yin

Fast Python implementation of the Yin algorithm: a fundamental frequency estimator.

Based on the article:

[1] De Cheveigné, A., & Kawahara, H. (2002). YIN, a fundamental frequency estimator for speech and music. The Journal of the Acoustical Society of America, 111(4), 1917-1930.

All the functions in the code correspond to steps in the article [1]. Meanwhile, the difference function has been modify substantially in order to improve speed. Finally, speed has been improved by more than 1000x.

Prerequisites

Usage

$python yin.py

All parameters (i.e frequence min, frequence max, harmonic threshold) in the yin.py function should be adapted to obtain good results. See the article [1] for more details.

Authors

Patrice Guyot

DOI

If you use this code, please cite: Patrice Guyot. (2018, April 19). Fast Python implementation of the Yin algorithm (Version v1.1.1). Zenodo. http://doi.org/10.5281/zenodo.1220947

Previous works on the implementation of the YIN algorithm have been made thanks to Robin Larvor, Maxime Le Coz and Lionel Koenig.

About

Fast Python implementation of the Yin algorithm: a fundamental frequency estimator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages