Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::TransientDetector Class Reference

#include <transient_detector.h>

Inheritance diagram for ARDOUR::TransientDetector:
[legend]

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
 
AudioAnalyseroperator= (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

AnalysisFeatureListcurrent_results
 
float threshold
 
- Protected Attributes inherited from ARDOUR::AudioAnalyser
float sample_rate
 
AnalysisPluginplugin
 
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
 

Detailed Description

Definition at line 30 of file transient_detector.h.

Constructor & Destructor Documentation

◆ TransientDetector()

ARDOUR::TransientDetector::TransientDetector ( float  sample_rate)

◆ ~TransientDetector()

ARDOUR::TransientDetector::~TransientDetector ( )

Member Function Documentation

◆ cleanup_transients()

static void ARDOUR::TransientDetector::cleanup_transients ( AnalysisFeatureList ,
float  sr,
float  gap_msecs 
)
static

◆ operational_identifier()

static std::string ARDOUR::TransientDetector::operational_identifier ( )
static

◆ run()

int ARDOUR::TransientDetector::run ( const std::string &  path,
AudioReadable ,
uint32_t  channel,
AnalysisFeatureList results 
)

◆ set_sensitivity()

void ARDOUR::TransientDetector::set_sensitivity ( uint32_t  ,
float   
)

◆ set_threshold()

void ARDOUR::TransientDetector::set_threshold ( float  )

◆ update_positions()

void ARDOUR::TransientDetector::update_positions ( AudioReadable src,
uint32_t  channel,
AnalysisFeatureList results 
)

◆ use_features()

int ARDOUR::TransientDetector::use_features ( Vamp::Plugin::FeatureSet &  ,
std::ostream *   
)
protectedvirtual

Implements ARDOUR::AudioAnalyser.

Member Data Documentation

◆ _op_id

std::string ARDOUR::TransientDetector::_op_id
staticprotected

Definition at line 50 of file transient_detector.h.

◆ current_results

AnalysisFeatureList* ARDOUR::TransientDetector::current_results
protected

Definition at line 47 of file transient_detector.h.

◆ threshold

float ARDOUR::TransientDetector::threshold
protected

Definition at line 51 of file transient_detector.h.


The documentation for this class was generated from the following file: