From 560fc509c8f140a342daba01e1826cbef579fe1f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 4 Dec 2017 01:48:54 +0100 Subject: [PATCH] src/onset/onset.c: add dummy default parameters for wphase (closes #150) --- src/onset/onset.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/onset/onset.c b/src/onset/onset.c index 0c7ebba9..4e0141a8 100644 --- 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); -- 2.11.0