projects
/
pd-aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/aubioonset~.c: always get threshold with aubio_onset_get_threshold
[pd-aubio.git]
/
src
/
aubioonset~.c
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);