shithub: aubio

Download patch

ref: e644757f93f667907c21c41620f99a81c24040a6
parent: 79adbda260aba32baf903e25bf2dabf07d5a9023
author: Paul Brossier <piem@piem.org>
date: Thu Apr 21 21:50:21 EDT 2016

src/tempo/tempo.c: do not write novelty function in output[1]

--- a/src/tempo/tempo.c
+++ b/src/tempo/tempo.c
@@ -79,7 +79,8 @@
   }
   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 */