- Timestamp:
- Apr 14, 2013, 5:23:04 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:
- 0fa325b, dd15573
- Parents:
- 54dd945
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tempo/tempo.c
r54dd945 rac67de7 89 89 tempo->data[0] = o->out->data[i] - FLOOR(o->out->data[i]); /* set tactus */ 90 90 /* test for silence */ 91 /* 91 92 if (aubio_silence_detection(input, o->silence)==1) { 92 //tempo->data[0] = 0; /* unset onset */ 93 } else { 94 o->last_beat = o->total_frames + (uint_t)ROUND(tempo->data[0] * o->hop_size); 93 tempo->data[0] = 0; // unset beat if silent 95 94 } 95 */ 96 o->last_beat = o->total_frames + (uint_t)ROUND(tempo->data[0] * o->hop_size); 96 97 } 97 98 }
Note: See TracChangeset
for help on using the changeset viewer.