Changeset 5284e0d for src/pitch/pitchyinfft.c
- Timestamp:
- Mar 11, 2013, 1:15:47 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:
- 426e6f7
- Parents:
- 8c4560e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchyinfft.c
r8c4560e r5284e0d 38 38 fvec_t *yinfft; /**< Yin function */ 39 39 smpl_t tol; /**< Yin tolerance */ 40 smpl_t confidence; /**< confidence */ 40 41 }; 41 42 … … 166 167 } 167 168 169 smpl_t 170 aubio_pitchyinfft_get_confidence (aubio_pitchyinfft_t * o) { 171 o->confidence = 1. - fvec_min (o->yinfft); 172 return o->confidence; 173 } 174 168 175 uint_t 169 176 aubio_pitchyinfft_set_tolerance (aubio_pitchyinfft_t * p, smpl_t tol)
Note: See TracChangeset
for help on using the changeset viewer.