Vamp::Plugin::Feature Struct Reference

#include <Plugin.h>

List of all members.


Detailed Description

Definition at line 331 of file vamp-sdk/Plugin.h.


Public Member Functions

 Feature ()

Public Attributes

bool hasTimestamp
 True if an output feature has its own timestamp.
RealTime timestamp
 Timestamp of the output feature.
bool hasDuration
 True if an output feature has a specified duration.
RealTime duration
 Duration 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.

Constructor & Destructor Documentation

Vamp::Plugin::Feature::Feature (  )  [inline]

Definition at line 376 of file vamp-sdk/Plugin.h.


Member Data Documentation

True if an output feature has its own timestamp.

This is mandatory if the output has VariableSampleRate, optional if the output has FixedSampleRate, and unused if the output has OneSamplePerStep.

Definition at line 339 of file vamp-sdk/Plugin.h.

Referenced by FixedTempoEstimator::D::assembleFeatures(), ZeroCrossing::process(), SpectralCentroid::process(), PowerSpectrum::process(), PercussionOnsetDetector::process(), and AmplitudeFollower::process().

Timestamp of the output feature.

This is mandatory if the output has VariableSampleRate or if the output has FixedSampleRate and hasTimestamp is true, and unused otherwise.

Definition at line 347 of file vamp-sdk/Plugin.h.

Referenced by FixedTempoEstimator::D::assembleFeatures(), ZeroCrossing::process(), and PercussionOnsetDetector::process().

True if an output feature has a specified duration.

This is optional if the output has VariableSampleRate or FixedSampleRate, and and unused if the output has OneSamplePerStep.

Definition at line 355 of file vamp-sdk/Plugin.h.

Referenced by FixedTempoEstimator::D::assembleFeatures().

Duration of the output feature.

This is mandatory if the output has VariableSampleRate or FixedSampleRate and hasDuration is true, and unused otherwise.

Definition at line 362 of file vamp-sdk/Plugin.h.

Referenced by FixedTempoEstimator::D::assembleFeatures().

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 369 of file vamp-sdk/Plugin.h.

Referenced by FixedTempoEstimator::D::assembleFeatures(), ZeroCrossing::process(), SpectralCentroid::process(), PowerSpectrum::process(), PercussionOnsetDetector::process(), and AmplitudeFollower::process().

Label for the sample of this feature.

Definition at line 374 of file vamp-sdk/Plugin.h.

Referenced by FixedTempoEstimator::D::assembleFeatures().


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

Generated on Mon Dec 8 14:37:20 2008 for VampPluginSDK by  doxygen 1.5.6