diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-02 12:43:44 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-02 12:43:44 +0000 |
commit | 5fb296cd6b63ee333a108e0f0847df51019432cd (patch) | |
tree | 5176b171c9114568332af3f2fb8845b9486c0810 /libs/ardour/ardour/transient_detector.h | |
parent | 730cdb38bcefc6dd2af7bd62b3be42f0d4c57000 (diff) |
lincoln's patch to use QM onset detection in RFerret, and other tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@9031 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/transient_detector.h')
-rw-r--r-- | libs/ardour/ardour/transient_detector.h | 6 |
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 */ |