Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/Plugin.h @ 64:9d3272c7db60
* Merge from host-factory-stuff branch: this adds several helper classes in
the hostext directory that should make a host's life much easier. This
will become version 1.1 of the SDK, eventually.
author | cannam |
---|---|
date | Fri, 01 Jun 2007 15:10:17 +0000 |
parents | 74822738965b |
children | 64d45f526afc |
comparison
equal
deleted
inserted
replaced
54:933fee59d33a | 64:9d3272c7db60 |
---|---|
356 * will point to one array of floats per input channel, and each | 356 * will point to one array of floats per input channel, and each |
357 * of these arrays will contain blockSize/2+1 consecutive pairs of | 357 * of these arrays will contain blockSize/2+1 consecutive pairs of |
358 * real and imaginary component floats corresponding to bins | 358 * real and imaginary component floats corresponding to bins |
359 * 0..(blockSize/2) of the FFT output, where bin 0 contains the DC | 359 * 0..(blockSize/2) of the FFT output, where bin 0 contains the DC |
360 * output and bin blockSize/2 corresponds to the Nyquist output. | 360 * output and bin blockSize/2 corresponds to the Nyquist output. |
361 * There will therefore be blockSize+2 floats per channel in total. | |
361 * The timestamp will be the real time in seconds of the centre of | 362 * The timestamp will be the real time in seconds of the centre of |
362 * the FFT input window (i.e. the very first block passed to | 363 * the FFT input window (i.e. the very first block passed to |
363 * process might contain the FFT of half a block of zero samples | 364 * process might contain the FFT of half a block of zero samples |
364 * and the first half-block of the actual data, with a timestamp | 365 * and the first half-block of the actual data, with a timestamp |
365 * of zero). | 366 * of zero). |
377 */ | 378 */ |
378 virtual FeatureSet getRemainingFeatures() = 0; | 379 virtual FeatureSet getRemainingFeatures() = 0; |
379 | 380 |
380 /** | 381 /** |
381 * Used to distinguish between Vamp::Plugin and other potential | 382 * Used to distinguish between Vamp::Plugin and other potential |
382 * sibling subclasses of PluginBase. Do not implement this | 383 * sibling subclasses of PluginBase. Do not reimplement this |
383 * function in your subclass. | 384 * function in your subclass. |
384 */ | 385 */ |
385 virtual std::string getType() const { return "Feature Extraction Plugin"; } | 386 virtual std::string getType() const { return "Feature Extraction Plugin"; } |
386 | 387 |
387 protected: | 388 protected: |