summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rhythm_ferret.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-25 17:59:28 +0200
committerRobin Gareus <robin@gareus.org>2016-05-25 17:59:28 +0200
commitad7295f5e19017bfffbab4f83312adc9d08c365d (patch)
tree9ad6879bba9d9c05945a497229085f8988b899dd /gtk2_ardour/rhythm_ferret.cc
parent6c502b8315bec6540e7ab94e2821e328b1f5af30 (diff)
use updated API from prev. commit
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r--gtk2_ardour/rhythm_ferret.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc
index b1060a8a75..d73b376439 100644
--- a/gtk2_ardour/rhythm_ferret.cc
+++ b/gtk2_ardour/rhythm_ferret.cc
@@ -263,7 +263,7 @@ RhythmFerret::run_percussion_onset_analysis (boost::shared_ptr<Readable> readabl
float dB = detection_threshold_adjustment.get_value();
float coeff = dB > -80.0f ? pow (10.0f, dB * 0.05f) : 0.0f;
t.set_threshold (coeff);
- t.set_sensitivity (sensitivity_adjustment.get_value());
+ t.set_sensitivity (4, sensitivity_adjustment.get_value());
if (t.run ("", readable.get(), i, these_results)) {
continue;