Typedefs | Functions

pitchmcomb.h File Reference

Pitch detection using multiple-comb filter. More...

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

Go to the source code of this file.

Typedefs

typedef struct _aubio_pitchmcomb_t aubio_pitchmcomb_t
 pitch detection object

Functions

smpl_t aubio_pitchmcomb_detect (aubio_pitchmcomb_t *p, cvec_t *fftgrain)
 execute pitch detection on an input spectral frame
uint_t aubio_pitch_cands (aubio_pitchmcomb_t *p, cvec_t *fftgrain, smpl_t *cands)
 select the best candidates
aubio_pitchmcomb_tnew_aubio_pitchmcomb (uint_t bufsize, uint_t hopsize, uint_t channels, uint_t samplerate)
 creation of the pitch detection object
void del_aubio_pitchmcomb (aubio_pitchmcomb_t *p)
 deletion of the pitch detection object

Detailed Description

Pitch detection using multiple-comb filter.

This fundamental frequency estimation algorithm implements spectral flattening, multi-comb filtering and peak histogramming.

This method was designed by Juan P. Bello and described in:

Juan-Pablo Bello. ``Towards the Automated Analysis of Simple Polyphonic Music''. PhD thesis, Centre for Digital Music, Queen Mary University of London, London, UK, 2003.


Function Documentation

smpl_t aubio_pitchmcomb_detect ( aubio_pitchmcomb_t p,
cvec_t fftgrain 
)

execute pitch detection on an input spectral frame

Parameters:
ppitch detection object as returned by new_aubio_pitchmcomb
fftgraininput signal spectrum as computed by aubio_pvoc_do
void del_aubio_pitchmcomb ( aubio_pitchmcomb_t p )

deletion of the pitch detection object

Parameters:
ppitch detection object as returned by new_aubio_pitchfcomb
aubio_pitchmcomb_t* new_aubio_pitchmcomb ( uint_t  bufsize,
uint_t  hopsize,
uint_t  channels,
uint_t  samplerate 
)

creation of the pitch detection object

Parameters:
bufsizesize of the input buffer to analyse
hopsizestep size between two consecutive analysis instant
channelsnumber of channels to analyse
sampleratesampling rate of the signal
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines