Changeset 7f3ccc5e for src/pitchyin.h
- Timestamp:
- May 17, 2006, 8:16:59 PM (19 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:
- 78fa561
- Parents:
- ba11e53
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitchyin.h
rba11e53 r7f3ccc5e 17 17 */ 18 18 19 /* This algorithm was developped by A. de Cheveigne and H. Kawahara and 20 * published in: 21 * 22 * de Cheveigné, A., Kawahara, H. (2002) "YIN, a fundamental frequency 23 * estimator for speech and music", J. Acoust. Soc. Am. 111, 1917-1930. 24 * 25 * see http://recherche.ircam.fr/equipes/pcm/pub/people/cheveign.html 26 */ 19 /** \file 20 21 Pitch detection using the YIN algorithm 22 23 This algorithm was developped by A. de Cheveigne and H. Kawahara and 24 published in: 25 26 De Cheveigné, A., Kawahara, H. (2002) "YIN, a fundamental frequency 27 estimator for speech and music", J. Acoust. Soc. Am. 111, 1917-1930. 28 29 see http://recherche.ircam.fr/equipes/pcm/pub/people/cheveign.html 30 31 */ 27 32 28 33 #ifndef PITCHYIN_H … … 33 38 #endif 34 39 40 /** compute difference function 41 42 \param input input signal 43 \param yinbuf output buffer to store difference function (half shorter than input) 44 45 */ 35 46 void aubio_pitchyin_diff(fvec_t * input, fvec_t * yinbuf); 36 47 48 /** in place computation of the YIN cumulative normalised function 49 50 \param yinbuf input signal (a square difference function), also used to store function 51 52 */ 37 53 void aubio_pitchyin_getcum(fvec_t * yinbuf); 38 54 55 /** detect pitch in a YIN function 56 57 \param yinbuf input buffer as computed by aubio_pitchyin_getcum 58 59 */ 39 60 uint_t aubio_pitchyin_getpitch(fvec_t *yinbuf); 40 61 62 /** fast implementation of the YIN algorithm 63 64 \param input input signal 65 \param yinbuf input buffer used to compute the YIN function 66 \param tol tolerance parameter for minima selection [default 0.15] 67 68 */ 41 69 smpl_t aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t *yinbuf, smpl_t tol); 42 70
Note: See TracChangeset
for help on using the changeset viewer.