Changeset ce3ff2b for src/pitch/pitchyin.c
- Timestamp:
- Apr 21, 2016, 7:32:58 PM (8 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:
- feb694b
- Parents:
- eaee767
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchyin.c
reaee767 rce3ff2b 41 41 42 42 /** compute difference function 43 44 \param input input signal 43 44 \param input input signal 45 45 \param yinbuf output buffer to store difference function (half shorter than input) 46 46 … … 48 48 void aubio_pitchyin_diff (fvec_t * input, fvec_t * yinbuf); 49 49 50 /** in place computation of the YIN cumulative normalised function 51 52 \param yinbuf input signal (a square difference function), also used to store function 50 /** in place computation of the YIN cumulative normalised function 51 52 \param yinbuf input signal (a square difference function), also used to store function 53 53 54 54 */ … … 56 56 57 57 /** detect pitch in a YIN function 58 58 59 59 \param yinbuf input buffer as computed by aubio_pitchyin_getcum 60 60 61 61 */ 62 uint_t aubio_pitchyin_getpitch ( fvec_t * yinbuf);62 uint_t aubio_pitchyin_getpitch (const fvec_t * yinbuf); 63 63 64 64 aubio_pitchyin_t * … … 112 112 113 113 uint_t 114 aubio_pitchyin_getpitch ( fvec_t * yin)114 aubio_pitchyin_getpitch (const fvec_t * yin) 115 115 { 116 116 uint_t tau = 1; … … 131 131 /* all the above in one */ 132 132 void 133 aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * input, fvec_t * out)133 aubio_pitchyin_do (aubio_pitchyin_t * o, const fvec_t * input, fvec_t * out) 134 134 { 135 135 smpl_t tol = o->tol;
Note: See TracChangeset
for help on using the changeset viewer.