pitchyinfft.h File Reference

Pitch detection using a spectral implementation of the YIN algorithm. More...

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

Go to the source code of this file.

Typedefs

typedef _aubio_pitchyinfft_t aubio_pitchyinfft_t
 pitch detection object

Functions

smpl_t aubio_pitchyinfft_detect (aubio_pitchyinfft_t *p, fvec_t *input, smpl_t tol)
 execute pitch detection on an input buffer
aubio_pitchyinfft_tnew_aubio_pitchyinfft (uint_t bufsize)
 creation of the pitch detection object
void del_aubio_pitchyinfft (aubio_pitchyinfft_t *p)
 deletion of the pitch detection object


Detailed Description

Pitch detection using a spectral implementation of the YIN algorithm.

This algorithm was derived from the YIN algorithm (see pitchyin.c). In this implementation, a Fourier transform is used to compute a tapered square difference function, which allows spectral weighting. Because the difference function is tapered, the selection of the period is simplified.

Paul Brossier, ``Automatic annotation of musical audio for interactive systems'', Chapter 3, Pitch Analysis, PhD thesis, Centre for Digital music, Queen Mary University of London, London, UK, 2006.


Function Documentation

smpl_t aubio_pitchyinfft_detect ( aubio_pitchyinfft_t p,
fvec_t input,
smpl_t  tol 
)

execute pitch detection on an input buffer

Parameters:
p pitch detection object as returned by new_aubio_pitchyinfft
input input signal window (length as specified at creation time)
tol tolerance parameter for minima selection [default 0.85]

void del_aubio_pitchyinfft ( aubio_pitchyinfft_t p  ) 

deletion of the pitch detection object

Parameters:
p pitch detection object as returned by new_aubio_pitchyinfft()

aubio_pitchyinfft_t* new_aubio_pitchyinfft ( uint_t  bufsize  ) 

creation of the pitch detection object

Parameters:
bufsize size of the input buffer to analyse


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