summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/transient_detector.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/transient_detector.h')
-rw-r--r--libs/ardour/ardour/transient_detector.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/ardour/transient_detector.h b/libs/ardour/ardour/transient_detector.h
index eb75f71c85..0e071e03a8 100644
--- a/libs/ardour/ardour/transient_detector.h
+++ b/libs/ardour/ardour/transient_detector.h
@@ -25,6 +25,7 @@
namespace ARDOUR {
class AudioSource;
+class Readable;
class Session;
class TransientDetector : public AudioAnalyser
@@ -43,14 +44,17 @@ class TransientDetector : public AudioAnalyser
float get_sensitivity () const;
int run (const std::string& path, Readable*, uint32_t channel, AnalysisFeatureList& results);
-
+ void update_positions (Readable* src, uint32_t channel, AnalysisFeatureList& results);
+
static void cleanup_transients (AnalysisFeatureList&, float sr, float gap_msecs);
+
protected:
AnalysisFeatureList* current_results;
int use_features (Vamp::Plugin::FeatureSet&, std::ostream*);
static std::string _op_id;
+ float threshold;
};
} /* namespace */