Changeset 053495b
- Timestamp:
- Jul 31, 2015, 10:05:17 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:
- ce6f652
- Parents:
- a1718fc
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mathutils.c
ra1718fc r053495b 141 141 case aubio_win_parzen: 142 142 for (i=0;i<size;i++) 143 w[i] = 1.0 - ABS((2. *i-size)/(size+1.0));143 w[i] = 1.0 - ABS((2.f*i-size)/(size+1.0f)); 144 144 break; 145 145 default: -
src/spectral/specdesc.c
ra1718fc r053495b 119 119 onset->data[0] += 120 120 SQRT (ABS (SQR (o->oldmag->data[j]) + SQR (fftgrain->norm[j]) 121 - 2 .* o->oldmag->data[j] * fftgrain->norm[j]121 - 2 * o->oldmag->data[j] * fftgrain->norm[j] 122 122 * COS (o->dev1->data[j] - fftgrain->phas[j]))); 123 123 /* swap old phase data (need to remember 2 frames behind)*/ -
src/tempo/beattracking.c
ra1718fc r053495b 331 331 if (counter == 1 && flagstep == 1) { 332 332 //check for consistency between previous beatperiod values 333 if (ABS (2 .* rp - rp1 - rp2) < bt->g_var) {333 if (ABS (2 * rp - rp1 - rp2) < bt->g_var) { 334 334 //if true, can activate context dependent model 335 335 flagconst = 1;
Note: See TracChangeset
for help on using the changeset viewer.