- Timestamp:
- Apr 8, 2013, 5:19:48 PM (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:
- f84cea7
- Parents:
- 9499eefb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchyin.c
r9499eefb r69d642a 100 100 { 101 101 uint_t tau; 102 smpl_t tmp; 103 tmp = 0.; 102 smpl_t tmp = 0.; 104 103 yin->data[0] = 1.; 105 104 //AUBIO_DBG("%f\t",yin->data[0]); … … 151 150 if (tau > 4 && (yin->data[period] < tol) && 152 151 (yin->data[period] < yin->data[period + 1])) { 153 out->data[0] = fvec_quad int(yin, period);152 out->data[0] = fvec_quadratic_peak_pos (yin, period); 154 153 goto beach; 155 154 } 156 155 } 157 out->data[0] = fvec_quad int(yin, fvec_min_elem (yin));156 out->data[0] = fvec_quadratic_peak_pos (yin, fvec_min_elem (yin)); 158 157 beach: 159 158 return;
Note: See TracChangeset
for help on using the changeset viewer.