aubio  0.3.2
Typedefs | Functions
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 struct _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

execute pitch detection on an input buffer

Parameters:
ppitch detection object as returned by new_aubio_pitchyinfft
inputinput signal window (length as specified at creation time)
toltolerance parameter for minima selection [default 0.85]

deletion of the pitch detection object

Parameters:
ppitch detection object as returned by new_aubio_pitchyinfft()

creation of the pitch detection object

Parameters:
bufsizesize of the input buffer to analyse
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines