SampleType » History » Version 8
« Previous -
Version 8/72
(diff) -
Next » -
Current version
Chris Cannam, 2014-02-10 01:04 PM
Output Sample Type and Sample Rate¶
A Vamp plugin takes audio as input, as a series of process blocks with associated timestamps, and returns a series of "feature" structures. These features are associated with a particular output of the plugin. (See diagram.)
Each returned feature might have a timestamp... or it might not. Whether a timestamp is provided -- and, if it is provided, what it means -- are determined by the SampleType
and SampleRate
properties of the plugin output that returns the feature.
SampleType¶
A plugin output's SampleType
property may be either OneSamplePerStep
, FixedSampleRate
, or VariableSampleRate
. Here's what they mean.
OneSamplePerStep¶
This is the simplest option.