VampPluginSDK
2.10
|
AmplitudeFollower.cpp
Go to the documentation of this file.
102 return "Code copyright 2006 Dan Stowell; method from SuperCollider. Freely redistributable (BSD license)";
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
bool hasFixedBinCount
True if the output has the same number of values per sample for every output sample.
Definition: vamp-sdk/Plugin.h:239
std::vector< float > values
Results for a single sample of this feature.
Definition: vamp-sdk/Plugin.h:382
std::string identifier
The name of the parameter, in computer-usable form.
Definition: vamp-sdk/PluginBase.h:133
std::string description
A human-readable short text describing the output.
Definition: vamp-sdk/Plugin.h:227
std::string identifier
The name of the output, in computer-usable form.
Definition: vamp-sdk/Plugin.h:214
FeatureSet getRemainingFeatures()
After all blocks have been processed, calculate and return any remaining features derived from the co...
Definition: AmplitudeFollower.cpp:249
Definition: vamp-sdk/Plugin.h:344
std::string getMaker() const
Get the name of the author or vendor of the plugin in human-readable form.
Definition: AmplitudeFollower.cpp:88
std::string unit
The unit of the parameter, in human-readable form.
Definition: vamp-sdk/PluginBase.h:149
RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conve...
Definition: vamp-sdk/RealTime.h:66
std::string description
A human-readable short text describing the parameter.
Definition: vamp-sdk/PluginBase.h:144
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
Results from each process() align with that call's block start.
Definition: vamp-sdk/Plugin.h:290
virtual size_t getMaxChannelCount() const
Get the maximum supported number of input channels.
Definition: vamp-sdk/Plugin.h:204
int getPluginVersion() const
Get the version number of the plugin.
Definition: AmplitudeFollower.cpp:94
bool isQuantized
True if the output values are quantized to a particular resolution.
Definition: vamp-sdk/Plugin.h:278
void setParameter(std::string paramid, float newval)
Set a named parameter.
Definition: AmplitudeFollower.cpp:185
virtual size_t getMinChannelCount() const
Get the minimum supported number of input channels.
Definition: vamp-sdk/Plugin.h:199
FeatureSet process(const float *const *inputBuffers, Vamp::RealTime timestamp)
Process a single block of input data.
Definition: AmplitudeFollower.cpp:206
bool isQuantized
True if the parameter values are quantized to a particular resolution.
Definition: vamp-sdk/PluginBase.h:173
virtual ~AmplitudeFollower()
Definition: AmplitudeFollower.cpp:65
float getParameter(std::string paramid) const
Get the value of a named parameter.
Definition: AmplitudeFollower.cpp:194
bool hasKnownExtents
True if the results in each output bin fall within a fixed numeric range (minimum and maximum values)...
Definition: vamp-sdk/Plugin.h:260
std::vector< ParameterDescriptor > ParameterList
Definition: vamp-sdk/PluginBase.h:203
Generated by 1.8.11