SampleType » History » Version 9
Version 8 (Chris Cannam, 2014-02-10 01:04 PM) → Version 9/72 (Chris Cannam, 2014-02-10 01:06 PM)
h1. 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. The plugin declares that each output has certain properties, which constrain the sort of feature data the host can expect to see. (See diagram.)
!/attachments/download/980/feature-structures-20pc.png!
A Each returned feature may or may not might have a timestamp. 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 on which that returns the feature is returned. feature.
!/attachments/download/980/feature-structures-20pc.png!
h2. SampleType
A plugin output's @SampleType@ property may be either @OneSamplePerStep@, @FixedSampleRate@, or @VariableSampleRate@. Here's what they mean.
h3. OneSamplePerStep
This is the simplest option.
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. The plugin declares that each output has certain properties, which constrain the sort of feature data the host can expect to see. (See diagram.)
!/attachments/download/980/feature-structures-20pc.png!
A Each returned feature may or may not might have a timestamp. 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 on which that returns the feature is returned. feature.
!/attachments/download/980/feature-structures-20pc.png!
h2. SampleType
A plugin output's @SampleType@ property may be either @OneSamplePerStep@, @FixedSampleRate@, or @VariableSampleRate@. Here's what they mean.
h3. OneSamplePerStep
This is the simplest option.