shithub: aubio

Download patch

ref: 988345f8275ddf91d02daef58b175f63004de716
parent: a4c1e861f03a220d9448dac07e2b768b516f742e
author: Paul Brossier <piem@piem.org>
date: Wed Nov 13 08:27:57 EST 2013

tests/src/tempo/test-beattracking.c: print bpm

--- a/tests/src/tempo/test-beattracking.c
+++ b/tests/src/tempo/test-beattracking.c
@@ -1,6 +1,7 @@
 #define AUBIO_UNSTABLE 1
 
 #include <aubio.h>
+#include <stdio.h>
 
 int main ()
 {
@@ -24,6 +25,7 @@
 
     // get bpm and confidence
     bpm = aubio_beattracking_get_bpm(tempo);
+    fprintf(stderr, "found bpm %f\n", bpm);
     confidence = aubio_beattracking_get_confidence(tempo);
     i++;
   };