Changes in src/pitch/pitchyin.h [3ac7cb0:fbc5544]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/pitch/pitchyin.h ¶
r3ac7cb0 rfbc5544 19 19 */ 20 20 21 /** \file 22 21 /** \file 22 23 23 Pitch detection using the YIN algorithm 24 24 25 25 This algorithm was developped by A. de Cheveigne and H. Kawahara and 26 26 published in: 27 27 28 28 De Cheveigné, A., Kawahara, H. (2002) "YIN, a fundamental frequency 29 estimator for speech and music", J. Acoust. Soc. Am. 111, 1917-1930. 30 29 estimator for speech and music", J. Acoust. Soc. Am. 111, 1917-1930. 30 31 31 see http://recherche.ircam.fr/equipes/pcm/pub/people/cheveign.html 32 33 \example pitch/test-pitchyin.c 32 34 33 35 */ … … 44 46 45 47 /** creation of the pitch detection object 46 47 \param buf_size size of the input buffer to analyse 48 48 49 \param buf_size size of the input buffer to analyse 50 49 51 */ 50 52 aubio_pitchyin_t *new_aubio_pitchyin (uint_t buf_size); 51 53 52 54 /** deletion of the pitch detection object 53 54 \param ppitch detection object as returned by new_aubio_pitchyin()55 55 56 \param o pitch detection object as returned by new_aubio_pitchyin() 57 56 58 */ 57 59 void del_aubio_pitchyin (aubio_pitchyin_t * o); 58 60 59 /** execute pitch detection on an input buffer60 61 \param ppitch detection object as returned by new_aubio_pitchyin()62 \param input input signal window (length as specified at creation time)63 \param tol tolerance parameter for minima selection [default 0.85]64 61 /** execute pitch detection an input buffer 62 63 \param o pitch detection object as returned by new_aubio_pitchyin() 64 \param samples_in input signal vector (length as specified at creation time) 65 \param cands_out pitch period candidates, in samples 66 65 67 */ 66 void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * in, fvec_t *out);68 void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * samples_in, fvec_t * cands_out); 67 69 68 70 69 /** set tolerance parameter for YIN algorithm 70 71 \param o YIN pitch detection object 71 /** set tolerance parameter for YIN algorithm 72 73 \param o YIN pitch detection object 72 74 \param tol tolerance parameter for minima selection [default 0.15] 73 75 … … 75 77 uint_t aubio_pitchyin_set_tolerance (aubio_pitchyin_t * o, smpl_t tol); 76 78 77 /** get tolerance parameter for YIN algorithm 78 79 \param o YIN pitch detection object 79 /** get tolerance parameter for YIN algorithm 80 81 \param o YIN pitch detection object 80 82 \return tolerance parameter for minima selection [default 0.15] 81 83 … … 87 89 #endif 88 90 89 #endif /*PITCHYIN_H*/ 91 #endif /*PITCHYIN_H*/
Note: See TracChangeset
for help on using the changeset viewer.