aubio
0.3.2
|
Pitch detection using a fast harmonic comb filter. More...
Go to the source code of this file.
Typedefs | |
typedef struct _aubio_pitchfcomb_t | aubio_pitchfcomb_t |
pitch detection object |
Functions | |
smpl_t | aubio_pitchfcomb_detect (aubio_pitchfcomb_t *p, fvec_t *input) |
execute pitch detection on an input buffer | |
aubio_pitchfcomb_t * | new_aubio_pitchfcomb (uint_t bufsize, uint_t hopsize, uint_t samplerate) |
creation of the pitch detection object | |
void | del_aubio_pitchfcomb (aubio_pitchfcomb_t *p) |
deletion of the pitch detection object |
Pitch detection using a fast harmonic comb filter.
This pitch extraction method implements a fast harmonic comb filter to determine the fundamental frequency of a harmonic sound.
This file was derived from the tuneit project, written by Mario Lang to detect the fundamental frequency of a sound.
smpl_t aubio_pitchfcomb_detect | ( | aubio_pitchfcomb_t * | p, |
fvec_t * | input | ||
) |
execute pitch detection on an input buffer
p | pitch detection object as returned by new_aubio_pitchfcomb |
input | input signal window (length as specified at creation time) |
void del_aubio_pitchfcomb | ( | aubio_pitchfcomb_t * | p | ) |
deletion of the pitch detection object
p | pitch detection object as returned by new_aubio_pitchfcomb |
aubio_pitchfcomb_t* new_aubio_pitchfcomb | ( | uint_t | bufsize, |
uint_t | hopsize, | ||
uint_t | samplerate | ||
) |
creation of the pitch detection object
bufsize | size of the input buffer to analyse |
hopsize | step size between two consecutive analysis instant |
samplerate | sampling rate of the signal |