aubio  0.3.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
pitchschmitt.h File Reference

Pitch detection using a Schmitt trigger. More...

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

Go to the source code of this file.

Typedefs

typedef struct
_aubio_pitchschmitt_t 
aubio_pitchschmitt_t
 pitch detection object

Functions

smpl_t aubio_pitchschmitt_detect (aubio_pitchschmitt_t *p, fvec_t *input)
 execute pitch detection on an input buffer
aubio_pitchschmitt_tnew_aubio_pitchschmitt (uint_t size, uint_t samplerate)
 creation of the pitch detection object
void del_aubio_pitchschmitt (aubio_pitchschmitt_t *p)
 deletion of the pitch detection object

Detailed Description

Pitch detection using a Schmitt trigger.

This pitch extraction method implements a Schmitt trigger to estimate the period of a signal.

This file was derived from the tuneit project, written by Mario Lang to detect the fundamental frequency of a sound.

see http://delysid.org/tuneit.html

Function Documentation

smpl_t aubio_pitchschmitt_detect ( aubio_pitchschmitt_t p,
fvec_t input 
)

execute pitch detection on an input buffer

Parameters
ppitch detection object as returned by new_aubio_pitchschmitt
inputinput signal window (length as specified at creation time)
void del_aubio_pitchschmitt ( aubio_pitchschmitt_t p)

deletion of the pitch detection object

Parameters
ppitch detection object as returned by new_aubio_pitchschmitt
aubio_pitchschmitt_t* new_aubio_pitchschmitt ( uint_t  size,
uint_t  samplerate 
)

creation of the pitch detection object

Parameters
sizesize of the input buffer to analyse
sampleratesampling rate of the signal