1 #ifndef TIPIC_VAMP_PLUGIN_H 2 #define TIPIC_VAMP_PLUGIN_H 4 #include <vamp-sdk/Plugin.h> 16 class Tipic :
public Vamp::Plugin
19 Tipic(
float inputSampleRate);
22 string getIdentifier()
const;
23 string getName()
const;
24 string getDescription()
const;
25 string getMaker()
const;
26 int getPluginVersion()
const;
27 string getCopyright()
const;
29 InputDomain getInputDomain()
const;
30 size_t getPreferredBlockSize()
const;
31 size_t getPreferredStepSize()
const;
32 size_t getMinChannelCount()
const;
33 size_t getMaxChannelCount()
const;
35 ParameterList getParameterDescriptors()
const;
36 float getParameter(
string identifier)
const;
37 void setParameter(
string identifier,
float value);
39 ProgramList getPrograms()
const;
40 string getCurrentProgram()
const;
41 void selectProgram(
string name);
43 OutputList getOutputDescriptors()
const;
45 bool initialise(
size_t channels,
size_t stepSize,
size_t blockSize);
48 FeatureSet process(
const float *
const *inputBuffers,
49 Vamp::RealTime timestamp);
51 FeatureSet getRemainingFeatures();
56 float m_tuningFrequency;
62 mutable int m_pitchOutputNo;
63 mutable int m_cpOutputNo;
64 mutable int m_clpOutputNo;
65 mutable int m_censOutputNo;
66 mutable int m_crpOutputNo;
67 std::map<int, FeatureDownsample *> m_downsamplers;
69 void addFeatures(FeatureSet &,
int outputNo,
const RealBlock &,
bool final);
Definition: PitchFilterbank.h:20
Definition: TipicVampPlugin.h:16
Definition: FeatureDownsample.h:30