projects
/
pd-aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8227725
)
src/aubioonset~.c: always get threshold with aubio_onset_get_threshold
author
Paul Brossier
<piem@piem.org>
Wed, 28 Sep 2016 13:06:24 +0000
(15:06 +0200)
committer
Paul Brossier
<piem@piem.org>
Wed, 28 Sep 2016 13:06:24 +0000
(15:06 +0200)
src/aubioonset~.c
patch
|
blob
|
history
diff --git
a/src/aubioonset~.c
b/src/aubioonset~.c
index
8137ddc
..
1ea75e1
100644
(file)
--- a/
src/aubioonset~.c
+++ b/
src/aubioonset~.c
@@
-118,6
+118,7
@@
aubioonset_tilde_new (t_symbol *s, int argc, t_atom *argv)
if (x->threshold != -1) {
aubio_onset_set_threshold(x->o, x->threshold);
}
+ x->threshold = aubio_onset_get_threshold(x->o);
x->in = (fvec_t *) new_fvec (x->hopsize);
x->out = (fvec_t *) new_fvec (1);