projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix aubio-onset detection parameters
[ardour.git]
/
libs
/
ardour
/
onset_detector.cc
diff --git
a/libs/ardour/onset_detector.cc
b/libs/ardour/onset_detector.cc
index 60fea6dabb33dac17accf227ab16da7be146e984..eb64a774333304976cb0a4285ee5762c20f4b4d0 100644
(file)
--- 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)
{