projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b5a0479
)
[tests] run tempo until first analysis is done
author
Paul Brossier
<piem@piem.org>
Sat, 24 Nov 2018 17:29:55 +0000
(18:29 +0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 24 Nov 2018 17:29:55 +0000
(18:29 +0100)
tests/src/tempo/test-tempo.c
patch
|
blob
|
history
diff --git
a/tests/src/tempo/test-tempo.c
b/tests/src/tempo/test-tempo.c
index
87da22d
..
9a8cef8
100644
(file)
--- a/
tests/src/tempo/test-tempo.c
+++ b/
tests/src/tempo/test-tempo.c
@@
-115,7
+115,8
@@
int test_wrong_params(void)
in = new_fvec(hop_size);
out = new_fvec(1);
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 "
{
aubio_tempo_do(t,in,out);
PRINT_MSG("beat at %.3fms, %.3fs, frame %d, %.2f bpm "