Constant-Q Library
Public Member Functions | Protected Member Functions | Protected Attributes
CQVamp Class Reference

#include <CQVamp.h>

List of all members.

Public Member Functions

 CQVamp (float inputSampleRate, bool midiPitchParameters)
virtual ~CQVamp ()
bool initialise (size_t channels, size_t stepSize, size_t blockSize)
void reset ()
InputDomain getInputDomain () const
std::string getIdentifier () const
std::string getName () const
std::string getDescription () const
std::string getMaker () const
int getPluginVersion () const
std::string getCopyright () const
ParameterList getParameterDescriptors () const
float getParameter (std::string) const
void setParameter (std::string, float)
size_t getPreferredStepSize () const
size_t getPreferredBlockSize () const
OutputList getOutputDescriptors () const
FeatureSet process (const float *const *inputBuffers, Vamp::RealTime timestamp)
FeatureSet getRemainingFeatures ()

Protected Member Functions

std::string noteName (int i) const
FeatureSet convertToFeatures (const std::vector< std::vector< double > > &)

Protected Attributes

bool m_midiPitchParameters
int m_minMIDIPitch
int m_maxMIDIPitch
float m_tuningFrequency
int m_bpo
CQSpectrogram::Interpolation m_interpolation
CQSpectrogramm_cq
float m_maxFrequency
float m_minFrequency
int m_stepSize
int m_blockSize
Vamp::RealTime m_startTime
bool m_haveStartTime
int m_columnCount
std::vector< float > m_prevFeature

Constructor & Destructor Documentation

CQVamp::CQVamp ( float  inputSampleRate,
bool  midiPitchParameters 
)
CQVamp::~CQVamp ( ) [virtual]

Member Function Documentation

CQVamp::FeatureSet CQVamp::convertToFeatures ( const std::vector< std::vector< double > > &  ) [protected]
string CQVamp::getCopyright ( ) const
string CQVamp::getDescription ( ) const
string CQVamp::getIdentifier ( ) const
InputDomain CQVamp::getInputDomain ( ) const [inline]
string CQVamp::getMaker ( ) const
string CQVamp::getName ( ) const
CQVamp::OutputList CQVamp::getOutputDescriptors ( ) const
float CQVamp::getParameter ( std::string  param) const
CQVamp::ParameterList CQVamp::getParameterDescriptors ( ) const
int CQVamp::getPluginVersion ( ) const
size_t CQVamp::getPreferredStepSize ( ) const
CQVamp::FeatureSet CQVamp::getRemainingFeatures ( )
bool CQVamp::initialise ( size_t  channels,
size_t  stepSize,
size_t  blockSize 
)
std::string CQVamp::noteName ( int  i) const [protected]
CQVamp::FeatureSet CQVamp::process ( const float *const *  inputBuffers,
Vamp::RealTime  timestamp 
)
void CQVamp::reset ( )
void CQVamp::setParameter ( std::string  param,
float  value 
)

Member Data Documentation

int CQVamp::m_blockSize [protected]
int CQVamp::m_bpo [protected]
int CQVamp::m_columnCount [protected]
bool CQVamp::m_haveStartTime [protected]
float CQVamp::m_maxFrequency [protected]
int CQVamp::m_maxMIDIPitch [protected]
float CQVamp::m_minFrequency [protected]
int CQVamp::m_minMIDIPitch [protected]
std::vector<float> CQVamp::m_prevFeature [protected]
Vamp::RealTime CQVamp::m_startTime [protected]
int CQVamp::m_stepSize [protected]
float CQVamp::m_tuningFrequency [protected]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator