src/onset/onset.c: warning, not error, for python not to raise an error
authorPaul Brossier <piem@piem.org>
Fri, 10 Mar 2017 18:56:32 +0000 (19:56 +0100)
committerPaul Brossier <piem@piem.org>
Fri, 10 Mar 2017 18:56:32 +0000 (19:56 +0100)
src/onset/onset.c

index ea9c01c..d29c844 100644 (file)
@@ -279,7 +279,7 @@ void aubio_onset_default_parameters (aubio_onset_t * o, const char_t * onset_mod
     aubio_onset_set_threshold (o, 0.4);
   } else if (strcmp (onset_mode, "specdiff") == 0) {
   } else {
-    AUBIO_ERR ("onset: unknown spectral descriptor type %s, "
+    AUBIO_WRN("onset: unknown spectral descriptor type %s, "
                "using default parameters.\n", onset_mode);
   }
 }