Logo Search packages:      
Sourcecode: vamp-plugin-sdk version File versions  Download package

AmplitudeFollower Class Reference

#include <AmplitudeFollower.h>

Inheritance diagram for AmplitudeFollower:

Vamp::Plugin Vamp::PluginBase

List of all members.

Detailed Description

Example plugin implementing the SuperCollider amplitude follower function.

Definition at line 47 of file AmplitudeFollower.h.

Public Types

typedef std::vector< Feature > FeatureList
typedef std::map< int,
FeatureList > 
enum  InputDomain { TimeDomain, FrequencyDomain }
typedef std::vector
< OutputDescriptor > 
typedef std::vector
< ParameterDescriptor > 
typedef std::vector< std::string > ProgramList

Public Member Functions

 AmplitudeFollower (float inputSampleRate)
std::string getCopyright () const
virtual std::string getCurrentProgram () const
std::string getDescription () const
std::string getIdentifier () const
InputDomain getInputDomain () const
std::string getMaker () const
virtual size_t getMaxChannelCount () const
virtual size_t getMinChannelCount () const
std::string getName () const
OutputList getOutputDescriptors () const
float getParameter (std::string paramid) const
ParameterList getParameterDescriptors () const
int getPluginVersion () const
virtual size_t getPreferredBlockSize () const
virtual size_t getPreferredStepSize () const
virtual ProgramList getPrograms () const
FeatureSet getRemainingFeatures ()
virtual std::string getType () const
virtual unsigned int getVampApiVersion () const
bool initialise (size_t channels, size_t stepSize, size_t blockSize)
FeatureSet process (const float *const *inputBuffers, Vamp::RealTime timestamp)
void reset ()
virtual void selectProgram (std::string)
void setParameter (std::string paramid, float newval)

Protected Attributes

float m_clampcoef
float m_inputSampleRate
float m_previn
float m_relaxcoef
size_t m_stepSize

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

Generated by  Doxygen 1.6.0   Back to index