VampPluginSDK
2.10
|
PercussionOnsetDetector.h
Go to the documentation of this file.
FeatureSet getRemainingFeatures()
After all blocks have been processed, calculate and return any remaining features derived from the co...
Definition: PercussionOnsetDetector.cpp:283
std::string getIdentifier() const
Get the computer-usable name of the plugin.
Definition: PercussionOnsetDetector.cpp:65
Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o...
Definition: vamp-sdk/Plugin.h:124
OutputList getOutputDescriptors() const
Get the outputs of this plugin.
Definition: PercussionOnsetDetector.cpp:196
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: PercussionOnsetDetector.cpp:113
std::string getMaker() const
Get the name of the author or vendor of the plugin in human-readable form.
Definition: PercussionOnsetDetector.cpp:83
std::string getCopyright() const
Get the copyright statement or licensing summary for the plugin.
Definition: PercussionOnsetDetector.cpp:95
std::string getName() const
Get a human-readable name or title of the plugin.
Definition: PercussionOnsetDetector.cpp:71
ParameterList getParameterDescriptors() const
Get the controllable parameters of this plugin.
Definition: PercussionOnsetDetector.cpp:145
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: PercussionOnsetDetector.cpp:89
size_t getPreferredBlockSize() const
Get the preferred block size (window size – the number of sample frames passed in each block to the ...
Definition: PercussionOnsetDetector.cpp:107
std::string getDescription() const
Get a human-readable description for the plugin, typically a line of text that may optionally be disp...
Definition: PercussionOnsetDetector.cpp:77
void reset()
Reset the plugin after use, to prepare it for another clean run.
Definition: PercussionOnsetDetector.cpp:134
size_t getPreferredStepSize() const
Get the preferred step size (window increment – the distance in sample frames between the start fram...
Definition: PercussionOnsetDetector.cpp:101
void setParameter(std::string id, float value)
Set a named parameter.
Definition: PercussionOnsetDetector.cpp:182
PercussionOnsetDetector(float inputSampleRate)
Definition: PercussionOnsetDetector.cpp:47
float getParameter(std::string id) const
Get the value of a named parameter.
Definition: PercussionOnsetDetector.cpp:174
FeatureSet process(const float *const *inputBuffers, Vamp::RealTime timestamp)
Process a single block of input data.
Definition: PercussionOnsetDetector.cpp:226
Example plugin that detects percussive events.
Definition: PercussionOnsetDetector.h:46
InputDomain getInputDomain() const
Get the plugin's required input domain.
Definition: PercussionOnsetDetector.h:55
virtual ~PercussionOnsetDetector()
Definition: PercussionOnsetDetector.cpp:59
std::vector< ParameterDescriptor > ParameterList
Definition: vamp-sdk/PluginBase.h:203
float * m_priorMagnitudes
Definition: PercussionOnsetDetector.h:84
Generated by 1.8.11