projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79adbda
)
src/tempo/tempo.c: do not write novelty function in output[1]
author
Paul Brossier
<piem@piem.org>
Thu, 21 Apr 2016 23:50:21 +0000
(
01:50
+0200)
committer
Paul Brossier
<piem@piem.org>
Thu, 21 Apr 2016 23:50:21 +0000
(
01:50
+0200)
src/tempo/tempo.c
patch
|
blob
|
history
diff --git
a/src/tempo/tempo.c
b/src/tempo/tempo.c
index
2000bcb
..
80c89e9
100644
(file)
--- a/
src/tempo/tempo.c
+++ b/
src/tempo/tempo.c
@@
-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 */