- Timestamp:
- Oct 2, 2009, 1:09:46 AM (15 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:
- 2f64b0e
- Parents:
- d57c879
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tempo/beattracking.c
rd57c879 r1e2c82f 169 169 170 170 /* find non-zero Rayleigh period */ 171 maxindex = vec_max_elem (bt->acfout);171 maxindex = fvec_max_elem (bt->acfout); 172 172 bt->rp = maxindex ? vec_quadint (bt->acfout, maxindex, 1) : 1; 173 173 //rp = (maxindex==127) ? 43 : maxindex; //rayparam … … 196 196 197 197 /* find Rayleigh period */ 198 maxindex = vec_max_elem (bt->phout);198 maxindex = fvec_max_elem (bt->phout); 199 199 if (maxindex >= winlen - 1) { 200 200 #if AUBIO_BEAT_WARNINGS … … 305 305 } 306 306 fvec_weight (acfout, bt->gwv); 307 gp = vec_quadint (acfout, vec_max_elem (acfout), 1);307 gp = vec_quadint (acfout, fvec_max_elem (acfout), 1); 308 308 /* 309 309 while(gp<32) gp =gp*2; … … 419 419 { 420 420 if (bt->gp) { 421 return vec_max (bt->acfout);421 return fvec_max (bt->acfout); 422 422 } else { 423 423 return 0.;
Note: See TracChangeset
for help on using the changeset viewer.