Ardour
9.0-pre0-582-g084a23a80d
|
#include <transient_detector.h>
Public Member Functions | |
TransientDetector (float sample_rate) | |
~TransientDetector () | |
void | set_threshold (float) |
void | set_sensitivity (uint32_t, float) |
int | run (const std::string &path, AudioReadable *, uint32_t channel, AnalysisFeatureList &results) |
void | update_positions (AudioReadable *src, uint32_t channel, AnalysisFeatureList &results) |
Public Member Functions inherited from ARDOUR::AudioAnalyser | |
AudioAnalyser (float sample_rate, AnalysisPluginKey key) | |
AudioAnalyser (const AudioAnalyser &)=delete | |
AudioAnalyser & | operator= (const AudioAnalyser &)=delete |
virtual | ~AudioAnalyser () |
void | reset () |
Static Public Member Functions | |
static std::string | operational_identifier () |
static void | cleanup_transients (AnalysisFeatureList &, float sr, float gap_msecs) |
Protected Member Functions | |
int | use_features (Vamp::Plugin::FeatureSet &, std::ostream *) |
Protected Member Functions inherited from ARDOUR::AudioAnalyser | |
int | initialize_plugin (AnalysisPluginKey name, float sample_rate) |
int | analyse (const std::string &path, AudioReadable *, uint32_t channel) |
Protected Attributes | |
AnalysisFeatureList * | current_results |
float | threshold |
Protected Attributes inherited from ARDOUR::AudioAnalyser | |
float | sample_rate |
AnalysisPlugin * | plugin |
AnalysisPluginKey | plugin_key |
samplecnt_t | bufsize |
samplecnt_t | stepsize |
Static Protected Attributes | |
static std::string | _op_id |
Additional Inherited Members | |
Public Types inherited from ARDOUR::AudioAnalyser | |
typedef Vamp::Plugin | AnalysisPlugin |
typedef std::string | AnalysisPluginKey |
Definition at line 30 of file transient_detector.h.
ARDOUR::TransientDetector::TransientDetector | ( | float | sample_rate | ) |
ARDOUR::TransientDetector::~TransientDetector | ( | ) |
|
static |
|
static |
int ARDOUR::TransientDetector::run | ( | const std::string & | path, |
AudioReadable * | , | ||
uint32_t | channel, | ||
AnalysisFeatureList & | results | ||
) |
void ARDOUR::TransientDetector::set_sensitivity | ( | uint32_t | , |
float | |||
) |
void ARDOUR::TransientDetector::set_threshold | ( | float | ) |
void ARDOUR::TransientDetector::update_positions | ( | AudioReadable * | src, |
uint32_t | channel, | ||
AnalysisFeatureList & | results | ||
) |
|
protectedvirtual |
Implements ARDOUR::AudioAnalyser.
|
staticprotected |
Definition at line 50 of file transient_detector.h.
|
protected |
Definition at line 47 of file transient_detector.h.
|
protected |
Definition at line 51 of file transient_detector.h.