VampPluginSDK
2.10
|
SpectralCentroid.h
Go to the documentation of this file.
std::string getName() const
Get a human-readable name or title of the plugin.
Definition: SpectralCentroid.cpp:74
Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o...
Definition: vamp-sdk/Plugin.h:124
std::string getMaker() const
Get the name of the author or vendor of the plugin in human-readable form.
Definition: SpectralCentroid.cpp:86
FeatureSet process(const float *const *inputBuffers, Vamp::RealTime timestamp)
Process a single block of input data.
Definition: SpectralCentroid.cpp:146
void reset()
Reset the plugin after use, to prepare it for another clean run.
Definition: SpectralCentroid.cpp:116
std::string getDescription() const
Get a human-readable description for the plugin, typically a line of text that may optionally be disp...
Definition: SpectralCentroid.cpp:80
std::string getCopyright() const
Get the copyright statement or licensing summary for the plugin.
Definition: SpectralCentroid.cpp:98
std::string getIdentifier() const
Get the computer-usable name of the plugin.
Definition: SpectralCentroid.cpp:68
OutputList getOutputDescriptors() const
Get the outputs of this plugin.
Definition: SpectralCentroid.cpp:121
RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conve...
Definition: vamp-sdk/RealTime.h:66
int getPluginVersion() const
Get the version number of the plugin.
Definition: SpectralCentroid.cpp:92
SpectralCentroid(float inputSampleRate)
Definition: SpectralCentroid.cpp:56
InputDomain getInputDomain() const
Get the plugin's required input domain.
Definition: SpectralCentroid.h:56
Example plugin that calculates the centre of gravity of the frequency domain representation of each b...
Definition: SpectralCentroid.h:47
bool initialise(size_t channels, size_t stepSize, size_t blockSize)
Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).
Definition: SpectralCentroid.cpp:104
FeatureSet getRemainingFeatures()
After all blocks have been processed, calculate and return any remaining features derived from the co...
Definition: SpectralCentroid.cpp:192
Generated by 1.8.11