From 9d50074a99c4bd9e9b07ae3dccde6df889a8d899 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 1 May 2016 18:47:14 +0200 Subject: fix aubio-onset detection parameters --- libs/ardour/onset_detector.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libs/ardour/onset_detector.cc') diff --git a/libs/ardour/onset_detector.cc b/libs/ardour/onset_detector.cc index 60fea6dabb..eb64a77433 100644 --- a/libs/ardour/onset_detector.cc +++ b/libs/ardour/onset_detector.cc @@ -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) { -- cgit v1.2.3