Changeset ce6f652 for src/tempo/tempo.c
- Timestamp:
- Jul 31, 2015, 10:25:30 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:
- 8e94af5
- Parents:
- 053495b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tempo/tempo.c
r053495b rce6f652 110 110 tempo->data[0] = o->out->data[i] - FLOOR(o->out->data[i]); /* set tactus */ 111 111 /* test for silence */ 112 /*113 112 if (aubio_silence_detection(input, o->silence)==1) { 114 113 tempo->data[0] = 0; // unset beat if silent 115 114 } 116 */117 115 o->last_beat = o->total_frames + (uint_t)ROUND(tempo->data[0] * o->hop_size); 118 116 }
Note: See TracChangeset
for help on using the changeset viewer.