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

ZeroCrossing Class Reference

#include <ZeroCrossing.h>

Inheritance diagram for ZeroCrossing:

Vamp::Plugin Vamp::PluginBase

List of all members.

Detailed Description

Example plugin that calculates the positions and density of zero-crossing points in an audio waveform.

Definition at line 47 of file ZeroCrossing.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

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
virtual float getParameter (std::string) const
virtual 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)
virtual void setParameter (std::string, float)
 ZeroCrossing (float inputSampleRate)

Protected Attributes

float m_inputSampleRate
float m_previousSample
size_t m_stepSize

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

Generated by  Doxygen 1.6.0   Back to index