- Timestamp:
- Nov 2, 2015, 9:22: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:
- 5f5edc1
- Parents:
- 2da7526
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tempo/tempo.c
r2da7526 r43b7c6d 65 65 sint_t blockpos; /** current position in dfframe */ 66 66 uint_t winlen; /** dfframe bufsize */ 67 uint_t step; /** dfframe hopsize */ 68 uint_t samplerate; /** sampling rate of the signal */ 67 uint_t step; /** dfframe hopsize */ 68 uint_t samplerate; /** sampling rate of the signal */ 69 69 uint_t hop_size; /** get hop_size */ 70 70 uint_t total_frames; /** total frames since beginning */ … … 91 91 aubio_beattracking_do(o->bt,o->dfframe,o->out); 92 92 /* rotate dfframe */ 93 for (i = 0 ; i < winlen - step; i++ ) 93 for (i = 0 ; i < winlen - step; i++ ) 94 94 o->dfframe->data[i] = o->dfframe->data[i+step]; 95 for (i = winlen - step ; i < winlen; i++ ) 95 for (i = winlen - step ; i < winlen; i++ ) 96 96 o->dfframe->data[i] = 0.; 97 97 o->blockpos = -1;
Note: See TracChangeset
for help on using the changeset viewer.