37#ifndef _VAMP_PLUGIN_SUMMARISING_ADAPTER_H_
38#define _VAMP_PLUGIN_SUMMARISING_ADAPTER_H_
98 bool initialise(
size_t channels,
size_t stepSize,
size_t blockSize);
130 StandardDeviation = 7,
133 UnknownSummaryType = 999
160 ContinuousTimeAverage = 1
PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...
void setSummarySegmentBoundaries(const SegmentBoundaries &)
Specify a series of segment boundaries, such that one summary will be returned for each of the contig...
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,...
AveragingMethod
AveragingMethod indicates how the adapter should handle average-based summaries of features whose res...
PluginSummarisingAdapter(Plugin *plugin)
Construct a PluginSummarisingAdapter wrapping the given plugin.
FeatureSet process(const float *const *inputBuffers, RealTime timestamp)
Process a single block of input data.
void reset()
Reset the plugin after use, to prepare it for another clean run.
virtual ~PluginSummarisingAdapter()
std::set< RealTime > SegmentBoundaries
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 getSummaryForAllOutputs(SummaryType type, AveragingMethod method=SampleAverage)
Return summaries of the features that were returned on all of the plugin's outputs,...
FeatureSet getRemainingFeatures()
After all blocks have been processed, calculate and return any remaining features derived from the co...
PluginWrapper is a simple base class for adapter plugins.
Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o...
std::vector< Feature > FeatureList
std::map< int, FeatureList > FeatureSet
#define _VAMP_SDK_HOSTSPACE_END(h)
#define _VAMP_SDK_HOSTSPACE_BEGIN(h)
RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conve...