Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::AudioAnalyser Class Referenceabstract

#include <audioanalyser.h>

Inheritance diagram for ARDOUR::AudioAnalyser:
[legend]

Public Types

typedef Vamp::Plugin AnalysisPlugin
 
typedef std::string AnalysisPluginKey
 

Public Member Functions

 AudioAnalyser (float sample_rate, AnalysisPluginKey key)
 
 AudioAnalyser (const AudioAnalyser &)=delete
 
AudioAnalyseroperator= (const AudioAnalyser &)=delete
 
virtual ~AudioAnalyser ()
 
void reset ()
 

Protected Member Functions

int initialize_plugin (AnalysisPluginKey name, float sample_rate)
 
int analyse (const std::string &path, AudioReadable *, uint32_t channel)
 
virtual int use_features (Vamp::Plugin::FeatureSet &, std::ostream *)=0
 

Protected Attributes

float sample_rate
 
AnalysisPluginplugin
 
AnalysisPluginKey plugin_key
 
samplecnt_t bufsize
 
samplecnt_t stepsize
 

Detailed Description

Definition at line 34 of file audioanalyser.h.

Member Typedef Documentation

◆ AnalysisPlugin

Definition at line 37 of file audioanalyser.h.

◆ AnalysisPluginKey

Definition at line 38 of file audioanalyser.h.

Constructor & Destructor Documentation

◆ AudioAnalyser() [1/2]

ARDOUR::AudioAnalyser::AudioAnalyser ( float  sample_rate,
AnalysisPluginKey  key 
)

◆ AudioAnalyser() [2/2]

ARDOUR::AudioAnalyser::AudioAnalyser ( const AudioAnalyser )
delete

◆ ~AudioAnalyser()

virtual ARDOUR::AudioAnalyser::~AudioAnalyser ( )
virtual

Member Function Documentation

◆ analyse()

int ARDOUR::AudioAnalyser::analyse ( const std::string &  path,
AudioReadable ,
uint32_t  channel 
)
protected

◆ initialize_plugin()

int ARDOUR::AudioAnalyser::initialize_plugin ( AnalysisPluginKey  name,
float  sample_rate 
)
protected

◆ operator=()

AudioAnalyser& ARDOUR::AudioAnalyser::operator= ( const AudioAnalyser )
delete

◆ reset()

void ARDOUR::AudioAnalyser::reset ( )

◆ use_features()

virtual int ARDOUR::AudioAnalyser::use_features ( Vamp::Plugin::FeatureSet &  ,
std::ostream *   
)
protectedpure virtual

Member Data Documentation

◆ bufsize

samplecnt_t ARDOUR::AudioAnalyser::bufsize
protected

Definition at line 59 of file audioanalyser.h.

◆ plugin

AnalysisPlugin* ARDOUR::AudioAnalyser::plugin
protected

Definition at line 56 of file audioanalyser.h.

◆ plugin_key

AnalysisPluginKey ARDOUR::AudioAnalyser::plugin_key
protected

Definition at line 57 of file audioanalyser.h.

◆ sample_rate

float ARDOUR::AudioAnalyser::sample_rate
protected

Definition at line 55 of file audioanalyser.h.

◆ stepsize

samplecnt_t ARDOUR::AudioAnalyser::stepsize
protected

Definition at line 60 of file audioanalyser.h.


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