cannam@0: cannam@0: cannam@0: VampPluginSDK: Vamp::Plugin::Feature Struct Reference cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0:
cannam@0:

Vamp::Plugin::Feature Struct Reference

#include <Plugin.h> cannam@0:

cannam@0: cannam@0:

cannam@0: List of all members.


Detailed Description

cannam@0: cannam@0:

Definition at line 318 of file Plugin.h.

cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0: cannam@0:

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.
cannam@0:

Member Data Documentation

cannam@0: cannam@0:
cannam@0:
cannam@0: cannam@0: cannam@0: cannam@0: cannam@0:
bool Vamp::Plugin::Feature::hasTimestamp
cannam@0:
cannam@0:
cannam@0: cannam@0:

cannam@0: True if an output feature has its own timestamp. cannam@0:

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

Definition at line 325 of file Plugin.h.

cannam@0: cannam@0:

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

cannam@0: cannam@0:
cannam@0:

cannam@0: cannam@0:

cannam@0:
cannam@0: cannam@0: cannam@0: cannam@0: cannam@0:
RealTime Vamp::Plugin::Feature::timestamp
cannam@0:
cannam@0:
cannam@0: cannam@0:

cannam@0: Timestamp of the output feature. cannam@0:

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

Definition at line 332 of file Plugin.h.

cannam@0: cannam@0:

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

cannam@0: cannam@0:
cannam@0:

cannam@0: cannam@0:

cannam@0:
cannam@0: cannam@0: cannam@0: cannam@0: cannam@0:
std::vector<float> Vamp::Plugin::Feature::values
cannam@0:
cannam@0:
cannam@0: cannam@0:

cannam@0: Results for a single sample of this feature. cannam@0:

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

Definition at line 339 of file Plugin.h.

cannam@0: cannam@0:

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

cannam@0: cannam@0:
cannam@0:

cannam@0: cannam@0:

cannam@0:
cannam@0: cannam@0: cannam@0: cannam@0: cannam@0:
std::string Vamp::Plugin::Feature::label
cannam@0:
cannam@0:
cannam@0: cannam@0:

cannam@0: Label for the sample of this feature. cannam@0:

cannam@0: cannam@0:

Definition at line 344 of file Plugin.h.

cannam@0: cannam@0:

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

cannam@0: cannam@0:
cannam@0:

cannam@0:


The documentation for this struct was generated from the following file: cannam@0:
cannam@0:
Generated on Wed Jul 9 11:36:09 2008 for VampPluginSDK by  cannam@0: cannam@0: doxygen 1.5.5
cannam@0: cannam@0: