VampPluginSDK
2.10
|
AmplitudeFollower.h
Go to the documentation of this file.
Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o...
Definition: vamp-sdk/Plugin.h:124
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: AmplitudeFollower.cpp:106
OutputList getOutputDescriptors() const
Get the outputs of this plugin.
Definition: AmplitudeFollower.cpp:134
AmplitudeFollower(float inputSampleRate)
An implementation of SuperCollider's amplitude-follower algorithm as a simple Vamp plugin...
Definition: AmplitudeFollower.cpp:56
FeatureSet getRemainingFeatures()
After all blocks have been processed, calculate and return any remaining features derived from the co...
Definition: AmplitudeFollower.cpp:249
std::string getMaker() const
Get the name of the author or vendor of the plugin in human-readable form.
Definition: AmplitudeFollower.cpp:88
Definition: vamp-sdk/Plugin.h:152
RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conve...
Definition: vamp-sdk/RealTime.h:66
InputDomain getInputDomain() const
Get the plugin's required input domain.
Definition: AmplitudeFollower.h:56
std::string getIdentifier() const
Get the computer-usable name of the plugin.
Definition: AmplitudeFollower.cpp:70
std::string getDescription() const
Get a human-readable description for the plugin, typically a line of text that may optionally be disp...
Definition: AmplitudeFollower.cpp:82
void reset()
Reset the plugin after use, to prepare it for another clean run.
Definition: AmplitudeFollower.cpp:128
std::string getName() const
Get a human-readable name or title of the plugin.
Definition: AmplitudeFollower.cpp:76
std::string getCopyright() const
Get the copyright statement or licensing summary for the plugin.
Definition: AmplitudeFollower.cpp:100
ParameterList getParameterDescriptors() const
Get the controllable parameters of this plugin.
Definition: AmplitudeFollower.cpp:154
int getPluginVersion() const
Get the version number of the plugin.
Definition: AmplitudeFollower.cpp:94
void setParameter(std::string paramid, float newval)
Set a named parameter.
Definition: AmplitudeFollower.cpp:185
FeatureSet process(const float *const *inputBuffers, Vamp::RealTime timestamp)
Process a single block of input data.
Definition: AmplitudeFollower.cpp:206
virtual ~AmplitudeFollower()
Definition: AmplitudeFollower.cpp:65
Example plugin implementing the SuperCollider amplitude follower function.
Definition: AmplitudeFollower.h:47
float getParameter(std::string paramid) const
Get the value of a named parameter.
Definition: AmplitudeFollower.cpp:194
std::vector< ParameterDescriptor > ParameterList
Definition: vamp-sdk/PluginBase.h:203
Generated by 1.8.11