VampPluginSDK
2.10
|
FixedTempoEstimator.cpp
Go to the documentation of this file.
148 d.description = "Length of audio input, in seconds, which should be taken into account when estimating tempo. There is no need to supply the plugin with any further input once this time has elapsed since the start of the audio. The tempo estimator may use only the first part of this, up to eight times the slowest beat duration: increasing this value further than that is unlikely to improve results.";
663 return "Code copyright 2008 Queen Mary, University of London. Freely redistributable (BSD license)";
float * m_priorMagnitudes
Definition: FixedTempoEstimator.cpp:86
bool hasDuration
True if the returned results for this output are known to have a duration field.
Definition: vamp-sdk/Plugin.h:320
ParameterList getParameterDescriptors() const
Definition: FixedTempoEstimator.cpp:125
FeatureSet process(const float *const *inputBuffers, Vamp::RealTime timestamp)
Process a single block of input data.
Definition: FixedTempoEstimator.cpp:718
float sampleRate
Sample rate of the output results, as samples per second.
Definition: vamp-sdk/Plugin.h:314
FeatureSet getRemainingFeatures()
Definition: FixedTempoEstimator.cpp:352
size_t getPreferredStepSize() const
Definition: FixedTempoEstimator.cpp:57
bool hasFixedBinCount
True if the output has the same number of values per sample for every output sample.
Definition: vamp-sdk/Plugin.h:239
std::vector< float > values
Results for a single sample of this feature.
Definition: vamp-sdk/Plugin.h:382
Results are evenly spaced in time (sampleRate specified below)
Definition: vamp-sdk/Plugin.h:293
virtual ~FixedTempoEstimator()
Definition: FixedTempoEstimator.cpp:625
float quantizeStep
Quantization resolution of the output values (e.g.
Definition: vamp-sdk/Plugin.h:285
std::string getName() const
Get a human-readable name or title of the plugin.
Definition: FixedTempoEstimator.cpp:637
std::string identifier
The name of the parameter, in computer-usable form.
Definition: vamp-sdk/PluginBase.h:133
std::string description
A human-readable short text describing the output.
Definition: vamp-sdk/Plugin.h:227
void reset()
Reset the plugin after use, to prepare it for another clean run.
Definition: FixedTempoEstimator.cpp:688
std::string getDescription() const
Get a human-readable description for the plugin, typically a line of text that may optionally be disp...
Definition: FixedTempoEstimator.cpp:643
std::string identifier
The name of the output, in computer-usable form.
Definition: vamp-sdk/Plugin.h:214
float getParameter(std::string id) const
Get the value of a named parameter.
Definition: FixedTempoEstimator.cpp:700
OutputList getOutputDescriptors() const
Definition: FixedTempoEstimator.cpp:190
std::string getIdentifier() const
Get the computer-usable name of the plugin.
Definition: FixedTempoEstimator.cpp:631
Definition: vamp-sdk/Plugin.h:344
Definition: FixedTempoEstimator.cpp:50
size_t getPreferredBlockSize() const
Get the preferred block size (window size – the number of sample frames passed in each block to the ...
Definition: FixedTempoEstimator.cpp:673
std::string getMaker() const
Get the name of the author or vendor of the plugin in human-readable form.
Definition: FixedTempoEstimator.cpp:649
float getParameter(string id) const
Definition: FixedTempoEstimator.cpp:159
std::string unit
The unit of the parameter, in human-readable form.
Definition: vamp-sdk/PluginBase.h:149
RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conve...
Definition: vamp-sdk/RealTime.h:66
FeatureSet getRemainingFeatures()
After all blocks have been processed, calculate and return any remaining features derived from the co...
Definition: FixedTempoEstimator.cpp:724
void setParameter(std::string id, float value)
Set a named parameter.
Definition: FixedTempoEstimator.cpp:706
std::string description
A human-readable short text describing the parameter.
Definition: vamp-sdk/PluginBase.h:144
ParameterList getParameterDescriptors() const
Get the controllable parameters of this plugin.
Definition: FixedTempoEstimator.cpp:694
FeatureSet process(const float *const *, RealTime)
Definition: FixedTempoEstimator.cpp:303
float m_inputSampleRate
Definition: FixedTempoEstimator.cpp:78
bool hasDuration
True if an output feature has a specified duration.
Definition: vamp-sdk/Plugin.h:368
std::string getCopyright() const
Get the copyright statement or licensing summary for the plugin.
Definition: FixedTempoEstimator.cpp:661
size_t getPreferredBlockSize() const
Definition: FixedTempoEstimator.cpp:58
virtual size_t getMaxChannelCount() const
Get the maximum supported number of input channels.
Definition: vamp-sdk/Plugin.h:204
void setParameter(string id, float value)
Definition: FixedTempoEstimator.cpp:172
size_t getPreferredStepSize() const
Get the preferred step size (window increment – the distance in sample frames between the start fram...
Definition: FixedTempoEstimator.cpp:667
bool initialise(size_t channels, size_t stepSize, size_t blockSize)
Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).
Definition: FixedTempoEstimator.cpp:679
bool initialise(size_t channels, size_t stepSize, size_t blockSize)
Definition: FixedTempoEstimator.cpp:252
bool isQuantized
True if the output values are quantized to a particular resolution.
Definition: vamp-sdk/Plugin.h:278
OutputList getOutputDescriptors() const
Get the outputs of this plugin.
Definition: FixedTempoEstimator.cpp:712
virtual size_t getMinChannelCount() const
Get the minimum supported number of input channels.
Definition: vamp-sdk/Plugin.h:199
int getPluginVersion() const
Get the version number of the plugin.
Definition: FixedTempoEstimator.cpp:655
bool isQuantized
True if the parameter values are quantized to a particular resolution.
Definition: vamp-sdk/PluginBase.h:173
FeatureSet assembleFeatures()
Definition: FixedTempoEstimator.cpp:481
FixedTempoEstimator(float inputSampleRate)
Definition: FixedTempoEstimator.cpp:619
Results are unevenly spaced and have individual timestamps.
Definition: vamp-sdk/Plugin.h:296
bool hasKnownExtents
True if the results in each output bin fall within a fixed numeric range (minimum and maximum values)...
Definition: vamp-sdk/Plugin.h:260
std::vector< ParameterDescriptor > ParameterList
Definition: vamp-sdk/PluginBase.h:203
Generated by 1.8.11