void reset()
Reset the plugin after use, to prepare it for another clean run.
PluginWrapper is a simple base class for adapter plugins.
FeatureList getSummaryForOutput(int output, SummaryType type, AveragingMethod method=SampleAverage)
Return summaries of the features that were returned on the given output, using the given SummaryType ...
FeatureSet process(const float *const *inputBuffers, RealTime timestamp)
Process a single block of input data.
std::set< RealTime > SegmentBoundaries
AveragingMethod
AveragingMethod indicates how the adapter should handle average-based summaries of features whose res...
void setSummarySegmentBoundaries(const SegmentBoundaries &)
Specify a series of segment boundaries, such that one summary will be returned for each of the contig...
PluginSummarisingAdapter(Plugin *plugin)
Construct a PluginSummarisingAdapter wrapping the given plugin.
FeatureSet getSummaryForAllOutputs(SummaryType type, AveragingMethod method=SampleAverage)
Return summaries of the features that were returned on all of the plugin's outputs,...
virtual ~PluginSummarisingAdapter()
PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...
FeatureSet getRemainingFeatures()
After all blocks have been processed, calculate and return any remaining features derived from the co...
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,...