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 _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:
p pitch detection object as returned by new_aubio_pitchmcomb
fftgrain input signal spectrum as computed by aubio_pvoc_do

void del_aubio_pitchmcomb ( aubio_pitchmcomb_t p  ) 

deletion of the pitch detection object

Parameters:
p pitch 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:
bufsize size of the input buffer to analyse
hopsize step size between two consecutive analysis instant
channels number of channels to analyse
samplerate sampling rate of the signal


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