projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10b11d6
)
src/onset/onset.c: default depends on hop_size, not samplerate
author
Paul Brossier
<piem@piem.org>
Fri, 21 Feb 2014 16:09:34 +0000
(13:09 -0300)
committer
Paul Brossier
<piem@piem.org>
Fri, 21 Feb 2014 16:09:34 +0000
(13:09 -0300)
src/onset/onset.c
patch
|
blob
|
history
diff --git
a/src/onset/onset.c
b/src/onset/onset.c
index
9bc3f1b
..
115f4c6
100644
(file)
--- a/
src/onset/onset.c
+++ b/
src/onset/onset.c
@@
-185,7
+185,7
@@
aubio_onset_t * new_aubio_onset (char_t * onset_mode,
/* set some default parameter */
aubio_onset_set_threshold (o, 0.3);
- aubio_onset_set_delay
_ms(o, 50.
);
+ aubio_onset_set_delay
(o, 4.3 * hop_size
);
aubio_onset_set_minioi_ms(o, 20.);
aubio_onset_set_silence(o, -70.);