SampleType » History » Version 7

Chris Cannam, 2014-02-10 12:09 PM

1 1 Chris Cannam
h1. Output Sample Type and Sample Rate
2 1 Chris Cannam
3 6 Chris Cannam
A Vamp plugin takes audio as input, as a series of process blocks with associated timestamps, and returns a series of "feature structures". (See diagram.)
4 6 Chris Cannam
5 7 Chris Cannam
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.
6 3 Chris Cannam
7 1 Chris Cannam
!/attachments/download/980/feature-structures-20pc.png!
8 7 Chris Cannam
9 7 Chris Cannam
h2. Sample Type
10 7 Chris Cannam
11 7 Chris Cannam
A plugin output's @SampleType@ property may be either @OneSamplePerStep@, @FixedSampleRate@, or @VariableSampleRate@.