Changeset 69b11d8 for src/pitch/pitchyin.h
- Timestamp:
- Mar 3, 2013, 4:44:18 AM (12 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- b173ca1
- Parents:
- f72364d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchyin.h
rf72364d r69b11d8 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 32 … … 44 44 45 45 /** creation of the pitch detection object 46 47 \param buf_size size of the input buffer to analyse 48 46 47 \param buf_size size of the input buffer to analyse 48 49 49 */ 50 50 aubio_pitchyin_t *new_aubio_pitchyin (uint_t buf_size); 51 51 52 52 /** deletion of the pitch detection object 53 54 \param ppitch detection object as returned by new_aubio_pitchyin()55 53 54 \param o pitch detection object as returned by new_aubio_pitchyin() 55 56 56 */ 57 57 void del_aubio_pitchyin (aubio_pitchyin_t * o); 58 58 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 59 /** execute pitch detection an input buffer 60 61 \param o pitch detection object as returned by new_aubio_pitchyin() 62 \param samples_in input signal vector (length as specified at creation time) 63 \param cands_out pitch period candidates, in samples 64 65 65 */ 66 void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * in, fvec_t *out);66 void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * samples_in, fvec_t * cands_out); 67 67 68 68 69 /** set tolerance parameter for YIN algorithm 70 71 \param o YIN pitch detection object 69 /** set tolerance parameter for YIN algorithm 70 71 \param o YIN pitch detection object 72 72 \param tol tolerance parameter for minima selection [default 0.15] 73 73 … … 75 75 uint_t aubio_pitchyin_set_tolerance (aubio_pitchyin_t * o, smpl_t tol); 76 76 77 /** get tolerance parameter for YIN algorithm 78 79 \param o YIN pitch detection object 77 /** get tolerance parameter for YIN algorithm 78 79 \param o YIN pitch detection object 80 80 \return tolerance parameter for minima selection [default 0.15] 81 81 … … 87 87 #endif 88 88 89 #endif /*PITCHYIN_H*/ 89 #endif /*PITCHYIN_H*/
Note: See TracChangeset
for help on using the changeset viewer.