Changes in src/pitch/pitchschmitt.h [3ac7cb0:69b11d8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchschmitt.h
r3ac7cb0 r69b11d8 19 19 */ 20 20 21 /** \file 21 /** \file 22 22 23 Pitch detection using a Schmitt trigger 24 23 Pitch detection using a Schmitt trigger 24 25 25 This pitch extraction method implements a Schmitt trigger to estimate the 26 26 period of a signal. … … 28 28 This file was derived from the tuneit project, written by Mario Lang to 29 29 detect the fundamental frequency of a sound. 30 31 see http://delysid.org/tuneit.html 30 31 See http://delysid.org/tuneit.html 32 33 \example pitch/test-pitchschmitt.c 32 34 33 35 */ … … 43 45 typedef struct _aubio_pitchschmitt_t aubio_pitchschmitt_t; 44 46 45 /** execute pitch detection on an input buffer 46 47 \param p pitch detection object as returned by new_aubio_pitchschmitt 48 \param input input signal window (length as specified at creation time)49 \param output pitch period estimates, in samples50 47 /** execute pitch detection on an input buffer 48 49 \param p pitch detection object as returned by new_aubio_pitchschmitt 50 \param samples_in input signal vector (length as specified at creation time) 51 \param cands_out pitch period estimates, in samples 52 51 53 */ 52 void aubio_pitchschmitt_do (aubio_pitchschmitt_t * p, fvec_t * in,53 fvec_t * out);54 void aubio_pitchschmitt_do (aubio_pitchschmitt_t * p, fvec_t * samples_in, 55 fvec_t * cands_out); 54 56 55 57 /** creation of the pitch detection object 56 57 \param buf_size size of the input buffer to analyse 58 58 59 \param buf_size size of the input buffer to analyse 60 59 61 */ 60 62 aubio_pitchschmitt_t *new_aubio_pitchschmitt (uint_t buf_size); 61 63 62 64 /** deletion of the pitch detection object 63 64 \param p pitch detection object as returned by new_aubio_pitchschmitt 65 65 66 \param p pitch detection object as returned by new_aubio_pitchschmitt 67 66 68 */ 67 69 void del_aubio_pitchschmitt (aubio_pitchschmitt_t * p);
Note: See TracChangeset
for help on using the changeset viewer.