SkillAgentSearch skills...

Yin

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

Install / Use

/learn @patriceguyot/Yin
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

Related Skills

View on GitHub
GitHub Stars107
CategoryDevelopment
Updated1d ago
Forks22

Languages

Python

Security Score

95/100

Audited on Apr 6, 2026

No findings