Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
ZVampFeature Struct Reference

Data Fields

bool has_timestamp
 True if an output feature has its own timestamp.
 
long timestamp
 Timestamp of the output feature.
 
bool has_duration
 True if an output feature has a specified duration.
 
size_t duration
 Duration of the output feature.
 
float * values
 Results for a single sample of this feature.
 
size_t num_values
 
char * label
 Label for the sample of this feature.
 

Detailed Description

Definition at line 98 of file vamp.h.

Field Documentation

◆ duration

size_t ZVampFeature::duration

Duration of the output feature.

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

Number of frames.

Definition at line 138 of file vamp.h.

◆ has_duration

bool ZVampFeature::has_duration

True if an output feature has a specified duration.

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

Definition at line 128 of file vamp.h.

◆ has_timestamp

bool ZVampFeature::has_timestamp

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 110 of file vamp.h.

◆ label

char* ZVampFeature::label

Label for the sample of this feature.

Definition at line 153 of file vamp.h.

◆ num_values

size_t ZVampFeature::num_values

Definition at line 148 of file vamp.h.

◆ timestamp

long ZVampFeature::timestamp

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.

Number of frames from start (per channel).

Definition at line 120 of file vamp.h.

◆ values

float* ZVampFeature::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 146 of file vamp.h.


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