src/tempo/tempo.c: do not write novelty function in output[1]
authorPaul Brossier <piem@piem.org>
Thu, 21 Apr 2016 23:50:21 +0000 (01:50 +0200)
committerPaul Brossier <piem@piem.org>
Thu, 21 Apr 2016 23:50:21 +0000 (01:50 +0200)
src/tempo/tempo.c

index 2000bcb..80c89e9 100644 (file)
@@ -79,7 +79,8 @@ void aubio_tempo_do(aubio_tempo_t *o, const fvec_t * input, fvec_t * tempo)
   }
   o->blockpos++;
   aubio_peakpicker_do (o->pp, o->of, o->onset);
-  tempo->data[1] = o->onset->data[0];
+  // store onset detection function in second sample of vector
+  //tempo->data[1] = o->onset->data[0];
   thresholded = aubio_peakpicker_get_thresholded_input(o->pp);
   o->dfframe->data[winlen - step + o->blockpos] = thresholded->data[0];
   /* end of second level loop */