pitchyin.h File Reference

Pitch detection using the YIN algorithm. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void aubio_pitchyin_diff (fvec_t *input, fvec_t *yinbuf)
 compute difference function
void aubio_pitchyin_getcum (fvec_t *yinbuf)
 in place computation of the YIN cumulative normalised function
uint_t aubio_pitchyin_getpitch (fvec_t *yinbuf)
 detect pitch in a YIN function
smpl_t aubio_pitchyin_getpitchfast (fvec_t *input, fvec_t *yinbuf, smpl_t tol)
 fast implementation of the YIN algorithm


Detailed Description

Pitch detection using the YIN algorithm.

This algorithm was developped by A. de Cheveigne and H. Kawahara and published in:

De Cheveigné, A., Kawahara, H. (2002) "YIN, a fundamental frequency estimator for speech and music", J. Acoust. Soc. Am. 111, 1917-1930.

see http://recherche.ircam.fr/equipes/pcm/pub/people/cheveign.html


Function Documentation

void aubio_pitchyin_diff ( fvec_t input,
fvec_t yinbuf 
)

compute difference function

Parameters:
input input signal
yinbuf output buffer to store difference function (half shorter than input)

void aubio_pitchyin_getcum ( fvec_t yinbuf  ) 

in place computation of the YIN cumulative normalised function

Parameters:
yinbuf input signal (a square difference function), also used to store function

uint_t aubio_pitchyin_getpitch ( fvec_t yinbuf  ) 

detect pitch in a YIN function

Parameters:
yinbuf input buffer as computed by aubio_pitchyin_getcum

smpl_t aubio_pitchyin_getpitchfast ( fvec_t input,
fvec_t yinbuf,
smpl_t  tol 
)

fast implementation of the YIN algorithm

Parameters:
input input signal
yinbuf input buffer used to compute the YIN function
tol tolerance parameter for minima selection [default 0.15]


Generated on Wed Oct 11 17:36:53 2006 for aubio by  doxygen 1.4.7