Changeset f45dd12 for src/tempo/beattracking.c
- Timestamp:
- Sep 5, 2015, 12:12:32 PM (9 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:
- 44e9eeb5, 60fc05b, c59e693
- Parents:
- 0557af9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tempo/beattracking.c
r0557af9 rf45dd12 136 136 uint_t numelem = 4; 137 137 138 smpl_t phase; // beat alignment (step - lastbeat) 139 smpl_t beat; // beat position 138 smpl_t phase; // beat alignment (step - lastbeat) 139 smpl_t beat; // beat position 140 140 smpl_t bp; // beat period 141 141 uint_t a, b; // used to build shift invariant comb filterbank … … 227 227 beat = bp - phase; 228 228 229 // AUBIO_DBG ("bp: %f, phase: %f, lastbeat: %f, step: %d, winlen: %d\n", 229 // AUBIO_DBG ("bp: %f, phase: %f, lastbeat: %f, step: %d, winlen: %d\n", 230 230 // bp, phase, bt->lastbeat, step, winlen); 231 231 … … 319 319 } 320 320 321 //now look for step change - i.e. a difference between gp and rp that 321 //now look for step change - i.e. a difference between gp and rp that 322 322 // is greater than 2*constthresh - always true in first case, since gp = 0 323 323 if (counter == 0) { … … 342 342 } 343 343 } else if (counter > 0) { 344 //if counter doesn't = 1, 344 //if counter doesn't = 1, 345 345 counter = counter - 1; 346 346 }
Note: See TracChangeset
for help on using the changeset viewer.