projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25db68c
)
src/onset/onset.c: add dummy default parameters for wphase (closes #150)
author
Paul Brossier
<piem@piem.org>
Mon, 4 Dec 2017 00:48:54 +0000
(
01:48
+0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 4 Dec 2017 00:48:54 +0000
(
01:48
+0100)
src/onset/onset.c
patch
|
blob
|
history
diff --git
a/src/onset/onset.c
b/src/onset/onset.c
index
0c7ebba
..
4e0141a
100644
(file)
--- a/
src/onset/onset.c
+++ b/
src/onset/onset.c
@@
-307,6
+307,8
@@
uint_t aubio_onset_set_default_parameters (aubio_onset_t * o, const char_t * ons
} else if (strcmp (onset_mode, "phase") == 0) {
o->apply_compression = 0;
aubio_onset_set_awhitening (o, 0);
+ } else if (strcmp (onset_mode, "wphase") == 0) {
+ // use defaults for now
} else if (strcmp (onset_mode, "mkl") == 0) {
aubio_onset_set_threshold (o, 0.05);
aubio_onset_set_awhitening(o, 1);