18 #ifndef _SPEECHMUSIC_PLUGIN_H_ 19 #define _SPEECHMUSIC_PLUGIN_H_ 22 #include <vamp-sdk/Plugin.h> 83 string getIdentifier()
const;
84 string getName()
const;
85 string getDescription()
const;
86 string getMaker()
const;
87 int getPluginVersion()
const;
88 string getCopyright()
const;
90 InputDomain getInputDomain()
const;
91 size_t getPreferredBlockSize()
const;
92 size_t getPreferredStepSize()
const;
93 size_t getMinChannelCount()
const;
94 size_t getMaxChannelCount()
const;
96 ParameterList getParameterDescriptors()
const;
97 float getParameter(
string identifier)
const;
98 void setParameter(
string identifier,
float value);
100 ProgramList getPrograms()
const;
101 string getCurrentProgram()
const;
102 void selectProgram(
string name);
104 OutputList getOutputDescriptors()
const;
106 bool initialise(
size_t channels,
size_t stepSize,
size_t blockSize);
109 FeatureSet process(
const float *
const *inputBuffers,
110 Vamp::RealTime timestamp);
112 FeatureSet getRemainingFeatures();
113 vector<double> getSkewnessFunction();
120 vector<double> m_zcr;
124 double change_threshold;
125 double decision_threshold;
126 double min_music_length;
Calculates boundaries between speech and music.
Definition: SpeechMusicSegmenter.h:76