fix aubio-onset detection parameters
[ardour.git] / libs / ardour / onset_detector.cc
index 60fea6dabb33dac17accf227ab16da7be146e984..eb64a774333304976cb0a4285ee5762c20f4b4d0 100644 (file)
@@ -92,6 +92,16 @@ OnsetDetector::set_peak_threshold (float val)
        }
 }
 
+void
+OnsetDetector::set_minioi (float val)
+{
+#ifdef HAVE_AUBIO4
+       if (plugin) {
+               plugin->setParameter ("minioi", val);
+       }
+#endif
+}
+
 void
 OnsetDetector::set_function (int val)
 {