shithub: aubio

Download patch

ref: be83390fa819252aa9bb0bb7430472a2011d501c
parent: b5a0479816f1c7a51ff60b58a0499d7a34f48dd8
author: Paul Brossier <piem@piem.org>
date: Sat Nov 24 13:29:55 EST 2018

[tests] run tempo until first analysis is done

--- a/tests/src/tempo/test-tempo.c
+++ b/tests/src/tempo/test-tempo.c
@@ -115,7 +115,8 @@
   in = new_fvec(hop_size);
   out = new_fvec(1);
 
-  for (i = 0; i < 4; i++)
+  // up to step = (next_power_of_two(5.8 * samplerate / hop_size ) / 4 )
+  for (i = 0; i < 256 + 1; i++)
   {
     aubio_tempo_do(t,in,out);
     PRINT_MSG("beat at %.3fms, %.3fs, frame %d, %.2f bpm "