X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Frhythm_ferret.cc;h=4d39232d8c734f713d8eb97394470acabc43683a;hb=25ec63968c0e792217a015c402ac52ae59a85e3b;hp=b1060a8a751562ccc290dec58b3c64c884e07d79;hpb=24e864d77030dc9d7364a41033cc238657ab19a5;p=ardour.git diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc index b1060a8a75..4d39232d8c 100644 --- a/gtk2_ardour/rhythm_ferret.cc +++ b/gtk2_ardour/rhythm_ferret.cc @@ -33,7 +33,7 @@ #include "editor.h" #include "time_axis_view.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; using namespace Gtk; @@ -263,7 +263,7 @@ RhythmFerret::run_percussion_onset_analysis (boost::shared_ptr 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;