alesgenova / pitch-detection

A collection of algorithms to determine the pitch of a sound sample.
MIT License
231 stars 27 forks source link

Add YIN Pitch Detection Algorithm #15

Closed siefkenj closed 3 years ago

siefkenj commented 3 years ago

Adds the YIN pitch detection algorithm introduced in the paper: http://recherche.ircam.fr/equipes/pcm/cheveign/ps/2002_JASA_YIN_proof.pdf

It turns out this algorithm is super fast! This is probably due to the fact that it mostly operates on a window of half the size of signal.

siefkenj commented 3 years ago

@alesgenova I've forced YIN to always return quality 1. Does this work as a temporary workaround before a better API is figured out?