Ardour
9.0-pre0-582-g084a23a80d
|
#include <onset_detector.h>
Public Member Functions | |
OnsetDetector (float sample_rate) | |
~OnsetDetector () | |
void | set_silence_threshold (float) |
void | set_peak_threshold (float) |
void | set_minioi (float) |
void | set_function (int) |
int | run (const std::string &path, AudioReadable *, 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_onsets (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 |
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 29 of file onset_detector.h.
ARDOUR::OnsetDetector::OnsetDetector | ( | float | sample_rate | ) |
ARDOUR::OnsetDetector::~OnsetDetector | ( | ) |
|
static |
|
static |
int ARDOUR::OnsetDetector::run | ( | const std::string & | path, |
AudioReadable * | , | ||
uint32_t | channel, | ||
AnalysisFeatureList & | results | ||
) |
void ARDOUR::OnsetDetector::set_function | ( | int | ) |
void ARDOUR::OnsetDetector::set_minioi | ( | float | ) |
void ARDOUR::OnsetDetector::set_peak_threshold | ( | float | ) |
void ARDOUR::OnsetDetector::set_silence_threshold | ( | float | ) |
|
protectedvirtual |
Implements ARDOUR::AudioAnalyser.
|
staticprotected |
Definition at line 50 of file onset_detector.h.
|
protected |
Definition at line 47 of file onset_detector.h.