Vamp::Plugin::Feature Struct Reference

#include <Plugin.h>

List of all members.


Detailed Description

Definition at line 318 of file Plugin.h.


Public Attributes

bool hasTimestamp
 True if an output feature has its own timestamp.
RealTime timestamp
 Timestamp of the output feature.
std::vector< float > values
 Results for a single sample of this feature.
std::string label
 Label for the sample of this feature.

Member Data Documentation

True if an output feature has its own timestamp.

This is mandatory if the output has VariableSampleRate, and is likely to be disregarded otherwise.

Definition at line 325 of file Plugin.h.

Referenced by Vamp::PluginHostAdapter::convertFeatures(), ZeroCrossing::process(), SpectralCentroid::process(), PercussionOnsetDetector::process(), and AmplitudeFollower::process().

Timestamp of the output feature.

This is mandatory if the output has VariableSampleRate, and is likely to be disregarded otherwise. Undefined if hasTimestamp is false.

Definition at line 332 of file Plugin.h.

Referenced by Vamp::PluginHostAdapter::convertFeatures(), ZeroCrossing::process(), and PercussionOnsetDetector::process().

std::vector<float> Vamp::Plugin::Feature::values

Results for a single sample of this feature.

If the output hasFixedBinCount, there must be the same number of values as the output's binCount count.

Definition at line 339 of file Plugin.h.

Referenced by Vamp::PluginHostAdapter::convertFeatures(), ZeroCrossing::process(), SpectralCentroid::process(), PercussionOnsetDetector::process(), and AmplitudeFollower::process().

Label for the sample of this feature.

Definition at line 344 of file Plugin.h.

Referenced by Vamp::PluginHostAdapter::convertFeatures().


The documentation for this struct was generated from the following file:

Generated on Wed Jul 2 07:34:52 2008 for VampPluginSDK by  doxygen 1.5.5