mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
use updated API from prev. commit
This commit is contained in:
parent
6c502b8315
commit
ad7295f5e1
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ RhythmFerret::run_percussion_onset_analysis (boost::shared_ptr<Readable> readabl
|
||||||
float dB = detection_threshold_adjustment.get_value();
|
float dB = detection_threshold_adjustment.get_value();
|
||||||
float coeff = dB > -80.0f ? pow (10.0f, dB * 0.05f) : 0.0f;
|
float coeff = dB > -80.0f ? pow (10.0f, dB * 0.05f) : 0.0f;
|
||||||
t.set_threshold (coeff);
|
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)) {
|
if (t.run ("", readable.get(), i, these_results)) {
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue