Changeset 5284e0d for src/pitch/pitchyin.c
- Timestamp:
- Mar 11, 2013, 1:15:47 AM (11 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/pitchyin.c
r8c4560e r5284e0d 37 37 fvec_t *yin; 38 38 smpl_t tol; 39 smpl_t confidence; 39 40 }; 40 41 … … 159 160 } 160 161 162 smpl_t 163 aubio_pitchyin_get_confidence (aubio_pitchyin_t * o) { 164 o->confidence = 1. - fvec_min (o->yin); 165 return o->confidence; 166 } 167 161 168 uint_t 162 169 aubio_pitchyin_set_tolerance (aubio_pitchyin_t * o, smpl_t tol)
Note: See TracChangeset
for help on using the changeset viewer.