ref: 560fc509c8f140a342daba01e1826cbef579fe1f
parent: 25db68c4eefe354f18c58a47eeb5643fc534eb81
author: Paul Brossier <piem@piem.org>
date: Sun Dec 3 20:48:54 EST 2017
src/onset/onset.c: add dummy default parameters for wphase (closes #150)
--- a/src/onset/onset.c
+++ b/src/onset/onset.c
@@ -307,6 +307,8 @@
} 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);