# HG changeset patch # User cannam # Date 1253893218 0 # Node ID 0976232e353b76fb2c25b47549742af279aaf18c # Parent 4b4db9230e94537cb7bcb72189c22b8f11ba4430 * Update for 2.1 release; add wiki link diff -r 4b4db9230e94 -r 0976232e353b code-doc/AmplitudeFollower_8cpp-source.html --- a/code-doc/AmplitudeFollower_8cpp-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/AmplitudeFollower_8cpp-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: AmplitudeFollower.cpp Source File + - - + @@ -146,15 +152,15 @@ 00130 OutputList list; 00131 00132 OutputDescriptor sca; -00133 sca.identifier = "amplitude"; -00134 sca.name = "Amplitude"; -00135 sca.description = ""; -00136 sca.unit = "V"; -00137 sca.hasFixedBinCount = true; -00138 sca.binCount = 1; -00139 sca.hasKnownExtents = false; -00140 sca.isQuantized = false; -00141 sca.sampleType = OutputDescriptor::OneSamplePerStep; +00133 sca.identifier = "amplitude"; +00134 sca.name = "Amplitude"; +00135 sca.description = "The peak tracked amplitude for the current processing block"; +00136 sca.unit = "V"; +00137 sca.hasFixedBinCount = true; +00138 sca.binCount = 1; +00139 sca.hasKnownExtents = false; +00140 sca.isQuantized = false; +00141 sca.sampleType = OutputDescriptor::OneSamplePerStep; 00142 list.push_back(sca); 00143 00144 return list; @@ -166,26 +172,26 @@ 00150 ParameterList list; 00151 00152 ParameterDescriptor att; -00153 att.identifier = "attack"; -00154 att.name = "Attack time"; -00155 att.description = ""; -00156 att.unit = "s"; -00157 att.minValue = 0.0f; -00158 att.maxValue = 1.f; -00159 att.defaultValue = 0.01f; -00160 att.isQuantized = false; +00153 att.identifier = "attack"; +00154 att.name = "Attack time"; +00155 att.description = "The 60dB convergence time for an increase in amplitude"; +00156 att.unit = "s"; +00157 att.minValue = 0.0f; +00158 att.maxValue = 1.f; +00159 att.defaultValue = 0.01f; +00160 att.isQuantized = false; 00161 00162 list.push_back(att); 00163 00164 ParameterDescriptor dec; -00165 dec.identifier = "release"; -00166 dec.name = "Release time"; -00167 dec.description = ""; -00168 dec.unit = "s"; -00169 dec.minValue = 0.0f; -00170 dec.maxValue = 1.f; -00171 dec.defaultValue = 0.01f; -00172 dec.isQuantized = false; +00165 dec.identifier = "release"; +00166 dec.name = "Release time"; +00167 dec.description = "The 60dB convergence time for a decrease in amplitude"; +00168 dec.unit = "s"; +00169 dec.minValue = 0.0f; +00170 dec.maxValue = 1.f; +00171 dec.defaultValue = 0.01f; +00172 dec.isQuantized = false; 00173 00174 list.push_back(dec); 00175 @@ -248,8 +254,8 @@ 00232 00233 // Now store the "feature" (peak amp) for this sample 00234 Feature feature; -00235 feature.hasTimestamp = false; -00236 feature.values.push_back(peak); +00235 feature.hasTimestamp = false; +00236 feature.values.push_back(peak); 00237 returnFeatures[0].push_back(feature); 00238 00239 return returnFeatures; @@ -262,8 +268,8 @@ 00246 } 00247 -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/AmplitudeFollower_8cpp.html --- a/code-doc/AmplitudeFollower_8cpp.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/AmplitudeFollower_8cpp.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: AmplitudeFollower.cpp File Reference + - - +

AmplitudeFollower.cpp File Reference

- -

Go to the source code of this file.

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/AmplitudeFollower_8h-source.html --- a/code-doc/AmplitudeFollower_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/AmplitudeFollower_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: AmplitudeFollower.h Source File + - - + @@ -99,8 +105,8 @@ 00083 00084 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/AmplitudeFollower_8h.html --- a/code-doc/AmplitudeFollower_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/AmplitudeFollower_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: AmplitudeFollower.h File Reference + - - +

AmplitudeFollower.h File Reference

- -

Go to the source code of this file. @@ -31,8 +35,8 @@

Classes

 Example plugin implementing the SuperCollider amplitude follower function. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/FixedTempoEstimator_8cpp-source.html --- a/code-doc/FixedTempoEstimator_8cpp-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/FixedTempoEstimator_8cpp-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: FixedTempoEstimator.cpp Source File + - - + @@ -27,7 +33,7 @@ 00006 An API for audio analysis and feature extraction plugins. 00007 00008 Centre for Digital Music, Queen Mary, University of London. -00009 Copyright 2006-2008 Chris Cannam and QMUL. +00009 Copyright 2006-2009 Chris Cannam and QMUL. 00010 00011 Permission is hereby granted, free of charge, to any person 00012 obtaining a copy of this software and associated documentation @@ -71,52 +77,52 @@ 00050 // this class just avoids us having to declare any data members in the header 00051 { 00052 public: -00053 D(float inputSampleRate); -00054 ~D(); +00053 D(float inputSampleRate); +00054 ~D(); 00055 -00056 size_t getPreferredStepSize() const { return 64; } -00057 size_t getPreferredBlockSize() const { return 256; } +00056 size_t getPreferredStepSize() const { return 64; } +00057 size_t getPreferredBlockSize() const { return 256; } 00058 -00059 ParameterList getParameterDescriptors() const; -00060 float getParameter(string id) const; -00061 void setParameter(string id, float value); +00059 ParameterList getParameterDescriptors() const; +00060 float getParameter(string id) const; +00061 void setParameter(string id, float value); 00062 -00063 OutputList getOutputDescriptors() const; +00063 OutputList getOutputDescriptors() const; 00064 -00065 bool initialise(size_t channels, size_t stepSize, size_t blockSize); -00066 void reset(); -00067 FeatureSet process(const float *const *, RealTime); -00068 FeatureSet getRemainingFeatures(); +00065 bool initialise(size_t channels, size_t stepSize, size_t blockSize); +00066 void reset(); +00067 FeatureSet process(const float *const *, RealTime); +00068 FeatureSet getRemainingFeatures(); 00069 00070 private: -00071 void calculate(); -00072 FeatureSet assembleFeatures(); +00071 void calculate(); +00072 FeatureSet assembleFeatures(); 00073 -00074 float lag2tempo(int); -00075 int tempo2lag(float); +00074 float lag2tempo(int); +00075 int tempo2lag(float); 00076 -00077 float m_inputSampleRate; -00078 size_t m_stepSize; -00079 size_t m_blockSize; +00077 float m_inputSampleRate; +00078 size_t m_stepSize; +00079 size_t m_blockSize; 00080 -00081 float m_minbpm; -00082 float m_maxbpm; -00083 float m_maxdflen; +00081 float m_minbpm; +00082 float m_maxbpm; +00083 float m_maxdflen; 00084 -00085 float *m_priorMagnitudes; +00085 float *m_priorMagnitudes; 00086 -00087 size_t m_dfsize; -00088 float *m_df; -00089 float *m_r; -00090 float *m_fr; -00091 float *m_t; -00092 size_t m_n; +00087 size_t m_dfsize; +00088 float *m_df; +00089 float *m_r; +00090 float *m_fr; +00091 float *m_t; +00092 size_t m_n; 00093 -00094 Vamp::RealTime m_start; -00095 Vamp::RealTime m_lasttime; +00094 Vamp::RealTime m_start; +00095 Vamp::RealTime m_lasttime; 00096 }; 00097 -00098 FixedTempoEstimator::D::D(float inputSampleRate) : +00098 FixedTempoEstimator::D::D(float inputSampleRate) : 00099 m_inputSampleRate(inputSampleRate), 00100 m_stepSize(0), 00101 m_blockSize(0), @@ -132,71 +138,71 @@ 00111 { 00112 } 00113 -00114 FixedTempoEstimator::D::~D() +00114 FixedTempoEstimator::D::~D() 00115 { -00116 delete[] m_priorMagnitudes; -00117 delete[] m_df; -00118 delete[] m_r; -00119 delete[] m_fr; -00120 delete[] m_t; +00116 delete[] m_priorMagnitudes; +00117 delete[] m_df; +00118 delete[] m_r; +00119 delete[] m_fr; +00120 delete[] m_t; 00121 } 00122 00123 FixedTempoEstimator::ParameterList -00124 FixedTempoEstimator::D::getParameterDescriptors() const +00124 FixedTempoEstimator::D::getParameterDescriptors() const 00125 { 00126 ParameterList list; 00127 00128 ParameterDescriptor d; -00129 d.identifier = "minbpm"; -00130 d.name = "Minimum estimated tempo"; -00131 d.description = "Minimum beat-per-minute value which the tempo estimator is able to return"; -00132 d.unit = "bpm"; -00133 d.minValue = 10; -00134 d.maxValue = 360; -00135 d.defaultValue = 50; -00136 d.isQuantized = false; +00129 d.identifier = "minbpm"; +00130 d.name = "Minimum estimated tempo"; +00131 d.description = "Minimum beat-per-minute value which the tempo estimator is able to return"; +00132 d.unit = "bpm"; +00133 d.minValue = 10; +00134 d.maxValue = 360; +00135 d.defaultValue = 50; +00136 d.isQuantized = false; 00137 list.push_back(d); 00138 -00139 d.identifier = "maxbpm"; -00140 d.name = "Maximum estimated tempo"; -00141 d.description = "Maximum beat-per-minute value which the tempo estimator is able to return"; -00142 d.defaultValue = 190; +00139 d.identifier = "maxbpm"; +00140 d.name = "Maximum estimated tempo"; +00141 d.description = "Maximum beat-per-minute value which the tempo estimator is able to return"; +00142 d.defaultValue = 190; 00143 list.push_back(d); 00144 -00145 d.identifier = "maxdflen"; -00146 d.name = "Input duration to study"; -00147 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."; -00148 d.unit = "s"; -00149 d.minValue = 2; -00150 d.maxValue = 40; -00151 d.defaultValue = 10; +00145 d.identifier = "maxdflen"; +00146 d.name = "Input duration to study"; +00147 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."; +00148 d.unit = "s"; +00149 d.minValue = 2; +00150 d.maxValue = 40; +00151 d.defaultValue = 10; 00152 list.push_back(d); 00153 00154 return list; 00155 } 00156 00157 float -00158 FixedTempoEstimator::D::getParameter(string id) const +00158 FixedTempoEstimator::D::getParameter(string id) const 00159 { 00160 if (id == "minbpm") { -00161 return m_minbpm; +00161 return m_minbpm; 00162 } else if (id == "maxbpm") { -00163 return m_maxbpm; +00163 return m_maxbpm; 00164 } else if (id == "maxdflen") { -00165 return m_maxdflen; +00165 return m_maxdflen; 00166 } 00167 return 0.f; 00168 } 00169 00170 void -00171 FixedTempoEstimator::D::setParameter(string id, float value) +00171 FixedTempoEstimator::D::setParameter(string id, float value) 00172 { 00173 if (id == "minbpm") { -00174 m_minbpm = value; +00174 m_minbpm = value; 00175 } else if (id == "maxbpm") { -00176 m_maxbpm = value; +00176 m_maxbpm = value; 00177 } else if (id == "maxdflen") { -00178 m_maxdflen = value; +00178 m_maxdflen = value; 00179 } 00180 } 00181 @@ -207,143 +213,143 @@ 00186 static int FilteredACFOutput = 4; 00187 00188 FixedTempoEstimator::OutputList -00189 FixedTempoEstimator::D::getOutputDescriptors() const +00189 FixedTempoEstimator::D::getOutputDescriptors() const 00190 { 00191 OutputList list; 00192 00193 OutputDescriptor d; -00194 d.identifier = "tempo"; -00195 d.name = "Tempo"; -00196 d.description = "Estimated tempo"; -00197 d.unit = "bpm"; -00198 d.hasFixedBinCount = true; -00199 d.binCount = 1; -00200 d.hasKnownExtents = false; -00201 d.isQuantized = false; -00202 d.sampleType = OutputDescriptor::VariableSampleRate; -00203 d.sampleRate = m_inputSampleRate; -00204 d.hasDuration = true; // our returned tempo spans a certain range +00194 d.identifier = "tempo"; +00195 d.name = "Tempo"; +00196 d.description = "Estimated tempo"; +00197 d.unit = "bpm"; +00198 d.hasFixedBinCount = true; +00199 d.binCount = 1; +00200 d.hasKnownExtents = false; +00201 d.isQuantized = false; +00202 d.sampleType = OutputDescriptor::VariableSampleRate; +00203 d.sampleRate = m_inputSampleRate; +00204 d.hasDuration = true; // our returned tempo spans a certain range 00205 list.push_back(d); 00206 -00207 d.identifier = "candidates"; -00208 d.name = "Tempo candidates"; -00209 d.description = "Possible tempo estimates, one per bin with the most likely in the first bin"; -00210 d.unit = "bpm"; -00211 d.hasFixedBinCount = false; +00207 d.identifier = "candidates"; +00208 d.name = "Tempo candidates"; +00209 d.description = "Possible tempo estimates, one per bin with the most likely in the first bin"; +00210 d.unit = "bpm"; +00211 d.hasFixedBinCount = false; 00212 list.push_back(d); 00213 -00214 d.identifier = "detectionfunction"; -00215 d.name = "Detection Function"; -00216 d.description = "Onset detection function"; -00217 d.unit = ""; -00218 d.hasFixedBinCount = 1; -00219 d.binCount = 1; -00220 d.hasKnownExtents = true; -00221 d.minValue = 0.0; -00222 d.maxValue = 1.0; -00223 d.isQuantized = false; -00224 d.quantizeStep = 0.0; -00225 d.sampleType = OutputDescriptor::FixedSampleRate; -00226 if (m_stepSize) { -00227 d.sampleRate = m_inputSampleRate / m_stepSize; +00214 d.identifier = "detectionfunction"; +00215 d.name = "Detection Function"; +00216 d.description = "Onset detection function"; +00217 d.unit = ""; +00218 d.hasFixedBinCount = 1; +00219 d.binCount = 1; +00220 d.hasKnownExtents = true; +00221 d.minValue = 0.0; +00222 d.maxValue = 1.0; +00223 d.isQuantized = false; +00224 d.quantizeStep = 0.0; +00225 d.sampleType = OutputDescriptor::FixedSampleRate; +00226 if (m_stepSize) { +00227 d.sampleRate = m_inputSampleRate / m_stepSize; 00228 } else { -00229 d.sampleRate = m_inputSampleRate / (getPreferredBlockSize()/2); +00229 d.sampleRate = m_inputSampleRate / (getPreferredBlockSize()/2); 00230 } -00231 d.hasDuration = false; +00231 d.hasDuration = false; 00232 list.push_back(d); 00233 -00234 d.identifier = "acf"; -00235 d.name = "Autocorrelation Function"; -00236 d.description = "Autocorrelation of onset detection function"; -00237 d.hasKnownExtents = false; -00238 d.unit = "r"; +00234 d.identifier = "acf"; +00235 d.name = "Autocorrelation Function"; +00236 d.description = "Autocorrelation of onset detection function"; +00237 d.hasKnownExtents = false; +00238 d.unit = "r"; 00239 list.push_back(d); 00240 -00241 d.identifier = "filtered_acf"; -00242 d.name = "Filtered Autocorrelation"; -00243 d.description = "Filtered autocorrelation of onset detection function"; -00244 d.unit = "r"; +00241 d.identifier = "filtered_acf"; +00242 d.name = "Filtered Autocorrelation"; +00243 d.description = "Filtered autocorrelation of onset detection function"; +00244 d.unit = "r"; 00245 list.push_back(d); 00246 00247 return list; 00248 } 00249 00250 bool -00251 FixedTempoEstimator::D::initialise(size_t, size_t stepSize, size_t blockSize) +00251 FixedTempoEstimator::D::initialise(size_t, size_t stepSize, size_t blockSize) 00252 { -00253 m_stepSize = stepSize; -00254 m_blockSize = blockSize; +00253 m_stepSize = stepSize; +00254 m_blockSize = blockSize; 00255 -00256 float dfLengthSecs = m_maxdflen; -00257 m_dfsize = (dfLengthSecs * m_inputSampleRate) / m_stepSize; +00256 float dfLengthSecs = m_maxdflen; +00257 m_dfsize = (dfLengthSecs * m_inputSampleRate) / m_stepSize; 00258 -00259 m_priorMagnitudes = new float[m_blockSize/2]; -00260 m_df = new float[m_dfsize]; +00259 m_priorMagnitudes = new float[m_blockSize/2]; +00260 m_df = new float[m_dfsize]; 00261 -00262 for (size_t i = 0; i < m_blockSize/2; ++i) { -00263 m_priorMagnitudes[i] = 0.f; +00262 for (size_t i = 0; i < m_blockSize/2; ++i) { +00263 m_priorMagnitudes[i] = 0.f; 00264 } -00265 for (size_t i = 0; i < m_dfsize; ++i) { -00266 m_df[i] = 0.f; +00265 for (size_t i = 0; i < m_dfsize; ++i) { +00266 m_df[i] = 0.f; 00267 } 00268 -00269 m_n = 0; +00269 m_n = 0; 00270 00271 return true; 00272 } 00273 00274 void -00275 FixedTempoEstimator::D::reset() +00275 FixedTempoEstimator::D::reset() 00276 { -00277 if (!m_priorMagnitudes) return; +00277 if (!m_priorMagnitudes) return; 00278 -00279 for (size_t i = 0; i < m_blockSize/2; ++i) { -00280 m_priorMagnitudes[i] = 0.f; +00279 for (size_t i = 0; i < m_blockSize/2; ++i) { +00280 m_priorMagnitudes[i] = 0.f; 00281 } -00282 for (size_t i = 0; i < m_dfsize; ++i) { -00283 m_df[i] = 0.f; +00282 for (size_t i = 0; i < m_dfsize; ++i) { +00283 m_df[i] = 0.f; 00284 } 00285 -00286 delete[] m_r; -00287 m_r = 0; +00286 delete[] m_r; +00287 m_r = 0; 00288 -00289 delete[] m_fr; -00290 m_fr = 0; +00289 delete[] m_fr; +00290 m_fr = 0; 00291 -00292 delete[] m_t; -00293 m_t = 0; +00292 delete[] m_t; +00293 m_t = 0; 00294 -00295 m_n = 0; +00295 m_n = 0; 00296 -00297 m_start = RealTime::zeroTime; -00298 m_lasttime = RealTime::zeroTime; +00297 m_start = RealTime::zeroTime; +00298 m_lasttime = RealTime::zeroTime; 00299 } 00300 00301 FixedTempoEstimator::FeatureSet -00302 FixedTempoEstimator::D::process(const float *const *inputBuffers, RealTime ts) +00302 FixedTempoEstimator::D::process(const float *const *inputBuffers, RealTime ts) 00303 { 00304 FeatureSet fs; 00305 -00306 if (m_stepSize == 0) { +00306 if (m_stepSize == 0) { 00307 cerr << "ERROR: FixedTempoEstimator::process: " 00308 << "FixedTempoEstimator has not been initialised" 00309 << endl; 00310 return fs; 00311 } 00312 -00313 if (m_n == 0) m_start = ts; -00314 m_lasttime = ts; +00313 if (m_n == 0) m_start = ts; +00314 m_lasttime = ts; 00315 -00316 if (m_n == m_dfsize) { +00316 if (m_n == m_dfsize) { 00317 // If we have seen enough input, do the estimation and return -00318 calculate(); -00319 fs = assembleFeatures(); -00320 ++m_n; +00318 calculate(); +00319 fs = assembleFeatures(); +00320 ++m_n; 00321 return fs; 00322 } 00323 00324 // If we have seen more than enough, just discard and return! -00325 if (m_n > m_dfsize) return FeatureSet(); +00325 if (m_n > m_dfsize) return FeatureSet(); 00326 00327 float value = 0.f; 00328 @@ -351,56 +357,56 @@ 00330 // in overall power from one spectral frame to the next -- 00331 // simplistic but reasonably effective for our purposes. 00332 -00333 for (size_t i = 1; i < m_blockSize/2; ++i) { +00333 for (size_t i = 1; i < m_blockSize/2; ++i) { 00334 00335 float real = inputBuffers[0][i*2]; 00336 float imag = inputBuffers[0][i*2 + 1]; 00337 00338 float sqrmag = real * real + imag * imag; -00339 value += fabsf(sqrmag - m_priorMagnitudes[i]); +00339 value += fabsf(sqrmag - m_priorMagnitudes[i]); 00340 -00341 m_priorMagnitudes[i] = sqrmag; +00341 m_priorMagnitudes[i] = sqrmag; 00342 } 00343 -00344 m_df[m_n] = value; +00344 m_df[m_n] = value; 00345 -00346 ++m_n; +00346 ++m_n; 00347 return fs; 00348 } 00349 00350 FixedTempoEstimator::FeatureSet -00351 FixedTempoEstimator::D::getRemainingFeatures() +00351 FixedTempoEstimator::D::getRemainingFeatures() 00352 { 00353 FeatureSet fs; -00354 if (m_n > m_dfsize) return fs; -00355 calculate(); -00356 fs = assembleFeatures(); -00357 ++m_n; +00354 if (m_n > m_dfsize) return fs; +00355 calculate(); +00356 fs = assembleFeatures(); +00357 ++m_n; 00358 return fs; 00359 } 00360 00361 float -00362 FixedTempoEstimator::D::lag2tempo(int lag) +00362 FixedTempoEstimator::D::lag2tempo(int lag) 00363 { -00364 return 60.f / ((lag * m_stepSize) / m_inputSampleRate); +00364 return 60.f / ((lag * m_stepSize) / m_inputSampleRate); 00365 } 00366 00367 int -00368 FixedTempoEstimator::D::tempo2lag(float tempo) +00368 FixedTempoEstimator::D::tempo2lag(float tempo) 00369 { -00370 return ((60.f / tempo) * m_inputSampleRate) / m_stepSize; +00370 return ((60.f / tempo) * m_inputSampleRate) / m_stepSize; 00371 } 00372 00373 void -00374 FixedTempoEstimator::D::calculate() +00374 FixedTempoEstimator::D::calculate() 00375 { -00376 if (m_r) { +00376 if (m_r) { 00377 cerr << "FixedTempoEstimator::calculate: calculation already happened?" << endl; 00378 return; 00379 } 00380 -00381 if (m_n < m_dfsize / 9 && -00382 m_n < (1.0 * m_inputSampleRate) / m_stepSize) { // 1 second +00381 if (m_n < m_dfsize / 9 && +00382 m_n < (1.0 * m_inputSampleRate) / m_stepSize) { // 1 second 00383 cerr << "FixedTempoEstimator::calculate: Input is too short" << endl; 00384 return; 00385 } @@ -410,16 +416,16 @@ 00389 // and m_fr (the filtered autocorrelation from whose peaks tempo 00390 // estimates will be taken). 00391 -00392 int n = m_n; // length of actual df array (m_dfsize is the theoretical max) +00392 int n = m_n; // length of actual df array (m_dfsize is the theoretical max) 00393 -00394 m_r = new float[n/2]; // raw autocorrelation -00395 m_fr = new float[n/2]; // filtered autocorrelation -00396 m_t = new float[n/2]; // averaged tempo estimate for each lag value +00394 m_r = new float[n/2]; // raw autocorrelation +00395 m_fr = new float[n/2]; // filtered autocorrelation +00396 m_t = new float[n/2]; // averaged tempo estimate for each lag value 00397 00398 for (int i = 0; i < n/2; ++i) { -00399 m_r[i] = 0.f; -00400 m_fr[i] = 0.f; -00401 m_t[i] = lag2tempo(i); +00399 m_r[i] = 0.f; +00400 m_fr[i] = 0.f; +00401 m_t[i] = lag2tempo(i); 00402 } 00403 00404 // Calculate the raw autocorrelation of the detection function @@ -427,10 +433,10 @@ 00406 for (int i = 0; i < n/2; ++i) { 00407 00408 for (int j = i; j < n; ++j) { -00409 m_r[i] += m_df[j] * m_df[j - i]; +00409 m_r[i] += m_df[j] * m_df[j - i]; 00410 } 00411 -00412 m_r[i] /= n - i - 1; +00412 m_r[i] /= n - i - 1; 00413 } 00414 00415 // Filter the autocorrelation and average out the tempo estimates @@ -439,7 +445,7 @@ 00418 00419 for (int i = 1; i < n/2-1; ++i) { 00420 -00421 m_fr[i] = m_r[i]; +00421 m_fr[i] = m_r[i]; 00422 00423 int div = 1; 00424 @@ -459,8 +465,8 @@ 00438 00439 if (k < 0 || k >= n/2) continue; 00440 -00441 if (!have || (m_r[k] > kvmax)) { kmax = k; kvmax = m_r[k]; } -00442 if (!have || (m_r[k] < kvmin)) { kmin = k; kvmin = m_r[k]; } +00441 if (!have || (m_r[k] > kvmax)) { kmax = k; kvmax = m_r[k]; } +00442 if (!have || (m_r[k] < kvmin)) { kmin = k; kvmin = m_r[k]; } 00443 00444 have = true; 00445 } @@ -468,60 +474,60 @@ 00447 // Boost the original lag according to the strongest 00448 // value found close to this related lag 00449 -00450 m_fr[i] += m_r[kmax] / 5; +00450 m_fr[i] += m_r[kmax] / 5; 00451 -00452 if ((kmax == 0 || m_r[kmax] > m_r[kmax-1]) && -00453 (kmax == n/2-1 || m_r[kmax] > m_r[kmax+1]) && +00452 if ((kmax == 0 || m_r[kmax] > m_r[kmax-1]) && +00453 (kmax == n/2-1 || m_r[kmax] > m_r[kmax+1]) && 00454 kvmax > kvmin * 1.05) { 00455 00456 // The strongest value close to the related lag is 00457 // also a pretty good looking peak, so use it to 00458 // improve our tempo estimate for the original lag 00459 -00460 m_t[i] = m_t[i] + lag2tempo(kmax) * related[j]; +00460 m_t[i] = m_t[i] + lag2tempo(kmax) * related[j]; 00461 ++div; 00462 } 00463 } 00464 } 00465 -00466 m_t[i] /= div; +00466 m_t[i] /= div; 00467 00468 // Finally apply a primitive perceptual weighting (to prefer 00469 // tempi of around 120-130) 00470 -00471 float weight = 1.f - fabsf(128.f - lag2tempo(i)) * 0.005; +00471 float weight = 1.f - fabsf(128.f - lag2tempo(i)) * 0.005; 00472 if (weight < 0.f) weight = 0.f; 00473 weight = weight * weight * weight; 00474 -00475 m_fr[i] += m_fr[i] * (weight / 3); +00475 m_fr[i] += m_fr[i] * (weight / 3); 00476 } 00477 } 00478 00479 FixedTempoEstimator::FeatureSet -00480 FixedTempoEstimator::D::assembleFeatures() +00480 FixedTempoEstimator::D::assembleFeatures() 00481 { 00482 FeatureSet fs; -00483 if (!m_r) return fs; // No autocorrelation: no results +00483 if (!m_r) return fs; // No autocorrelation: no results 00484 00485 Feature feature; -00486 feature.hasTimestamp = true; -00487 feature.hasDuration = false; -00488 feature.label = ""; -00489 feature.values.clear(); -00490 feature.values.push_back(0.f); +00486 feature.hasTimestamp = true; +00487 feature.hasDuration = false; +00488 feature.label = ""; +00489 feature.values.clear(); +00490 feature.values.push_back(0.f); 00491 00492 char buffer[40]; 00493 -00494 int n = m_n; +00494 int n = m_n; 00495 00496 for (int i = 0; i < n; ++i) { 00497 00498 // Return the detection function in the DF output 00499 -00500 feature.timestamp = m_start + -00501 RealTime::frame2RealTime(i * m_stepSize, m_inputSampleRate); -00502 feature.values[0] = m_df[i]; -00503 feature.label = ""; +00500 feature.timestamp = m_start + +00501 RealTime::frame2RealTime(i * m_stepSize, m_inputSampleRate); +00502 feature.values[0] = m_df[i]; +00503 feature.label = ""; 00504 fs[DFOutput].push_back(feature); 00505 } 00506 @@ -530,43 +536,43 @@ 00509 // Return the raw autocorrelation in the ACF output, each 00510 // value labelled according to its corresponding tempo 00511 -00512 feature.timestamp = m_start + -00513 RealTime::frame2RealTime(i * m_stepSize, m_inputSampleRate); -00514 feature.values[0] = m_r[i]; -00515 sprintf(buffer, "%.1f bpm", lag2tempo(i)); -00516 if (i == n/2-1) feature.label = ""; -00517 else feature.label = buffer; +00512 feature.timestamp = m_start + +00513 RealTime::frame2RealTime(i * m_stepSize, m_inputSampleRate); +00514 feature.values[0] = m_r[i]; +00515 sprintf(buffer, "%.1f bpm", lag2tempo(i)); +00516 if (i == n/2-1) feature.label = ""; +00517 else feature.label = buffer; 00518 fs[ACFOutput].push_back(feature); 00519 } 00520 -00521 float t0 = m_minbpm; // our minimum detected tempo -00522 float t1 = m_maxbpm; // our maximum detected tempo +00521 float t0 = m_minbpm; // our minimum detected tempo +00522 float t1 = m_maxbpm; // our maximum detected tempo 00523 -00524 int p0 = tempo2lag(t1); -00525 int p1 = tempo2lag(t0); +00524 int p0 = tempo2lag(t1); +00525 int p1 = tempo2lag(t0); 00526 00527 std::map<float, int> candidates; 00528 00529 for (int i = p0; i <= p1 && i+1 < n/2; ++i) { 00530 -00531 if (m_fr[i] > m_fr[i-1] && -00532 m_fr[i] > m_fr[i+1]) { +00531 if (m_fr[i] > m_fr[i-1] && +00532 m_fr[i] > m_fr[i+1]) { 00533 00534 // This is a peak in the filtered autocorrelation: stick 00535 // it into the map from filtered autocorrelation to lag 00536 // index -- this sorts our peaks by filtered acf value 00537 -00538 candidates[m_fr[i]] = i; +00538 candidates[m_fr[i]] = i; 00539 } 00540 00541 // Also return the filtered autocorrelation in its own output 00542 -00543 feature.timestamp = m_start + -00544 RealTime::frame2RealTime(i * m_stepSize, m_inputSampleRate); -00545 feature.values[0] = m_fr[i]; -00546 sprintf(buffer, "%.1f bpm", lag2tempo(i)); -00547 if (i == p1 || i == n/2-2) feature.label = ""; -00548 else feature.label = buffer; +00543 feature.timestamp = m_start + +00544 RealTime::frame2RealTime(i * m_stepSize, m_inputSampleRate); +00545 feature.values[0] = m_fr[i]; +00546 sprintf(buffer, "%.1f bpm", lag2tempo(i)); +00547 if (i == p1 || i == n/2-2) feature.label = ""; +00548 else feature.label = buffer; 00549 fs[FilteredACFOutput].push_back(feature); 00550 } 00551 @@ -575,11 +581,11 @@ 00554 return fs; 00555 } 00556 -00557 feature.hasTimestamp = true; -00558 feature.timestamp = m_start; +00557 feature.hasTimestamp = true; +00558 feature.timestamp = m_start; 00559 -00560 feature.hasDuration = true; -00561 feature.duration = m_lasttime - m_start; +00560 feature.hasDuration = true; +00561 feature.duration = m_lasttime - m_start; 00562 00563 // The map contains only peaks and is sorted by filtered acf 00564 // value, so the final element in it is our "best" tempo guess @@ -588,24 +594,24 @@ 00567 --ci; 00568 int maxpi = ci->second; 00569 -00570 if (m_t[maxpi] > 0) { +00570 if (m_t[maxpi] > 0) { 00571 00572 // This lag has an adjusted tempo from the averaging process: 00573 // use it 00574 -00575 feature.values[0] = m_t[maxpi]; +00575 feature.values[0] = m_t[maxpi]; 00576 00577 } else { 00578 00579 // shouldn't happen -- it would imply that this high value was 00580 // not a peak! 00581 -00582 feature.values[0] = lag2tempo(maxpi); +00582 feature.values[0] = lag2tempo(maxpi); 00583 cerr << "WARNING: No stored tempo for index " << maxpi << endl; 00584 } 00585 -00586 sprintf(buffer, "%.1f bpm", feature.values[0]); -00587 feature.label = buffer; +00586 sprintf(buffer, "%.1f bpm", feature.values[0]); +00587 feature.label = buffer; 00588 00589 // Return the best tempo in the main output 00590 @@ -614,14 +620,14 @@ 00593 // And return the other estimates (up to the arbitrarily chosen 00594 // number of 10 of them) in the candidates output 00595 -00596 feature.values.clear(); -00597 feature.label = ""; +00596 feature.values.clear(); +00597 feature.label = ""; 00598 -00599 while (feature.values.size() < 10) { -00600 if (m_t[ci->second] > 0) { -00601 feature.values.push_back(m_t[ci->second]); +00599 while (feature.values.size() < 10) { +00600 if (m_t[ci->second] > 0) { +00601 feature.values.push_back(m_t[ci->second]); 00602 } else { -00603 feature.values.push_back(lag2tempo(ci->second)); +00603 feature.values.push_back(lag2tempo(ci->second)); 00604 } 00605 if (ci == candidates.begin()) break; 00606 --ci; @@ -684,13 +690,13 @@ 00663 size_t 00664 FixedTempoEstimator::getPreferredStepSize() const 00665 { -00666 return m_d->getPreferredStepSize(); +00666 return m_d->getPreferredStepSize(); 00667 } 00668 00669 size_t 00670 FixedTempoEstimator::getPreferredBlockSize() const 00671 { -00672 return m_d->getPreferredBlockSize(); +00672 return m_d->getPreferredBlockSize(); 00673 } 00674 00675 bool @@ -699,53 +705,53 @@ 00678 if (channels < getMinChannelCount() || 00679 channels > getMaxChannelCount()) return false; 00680 -00681 return m_d->initialise(channels, stepSize, blockSize); +00681 return m_d->initialise(channels, stepSize, blockSize); 00682 } 00683 00684 void 00685 FixedTempoEstimator::reset() 00686 { -00687 return m_d->reset(); +00687 return m_d->reset(); 00688 } 00689 00690 FixedTempoEstimator::ParameterList 00691 FixedTempoEstimator::getParameterDescriptors() const 00692 { -00693 return m_d->getParameterDescriptors(); +00693 return m_d->getParameterDescriptors(); 00694 } 00695 00696 float 00697 FixedTempoEstimator::getParameter(std::string id) const 00698 { -00699 return m_d->getParameter(id); +00699 return m_d->getParameter(id); 00700 } 00701 00702 void 00703 FixedTempoEstimator::setParameter(std::string id, float value) 00704 { -00705 m_d->setParameter(id, value); +00705 m_d->setParameter(id, value); 00706 } 00707 00708 FixedTempoEstimator::OutputList 00709 FixedTempoEstimator::getOutputDescriptors() const 00710 { -00711 return m_d->getOutputDescriptors(); +00711 return m_d->getOutputDescriptors(); 00712 } 00713 00714 FixedTempoEstimator::FeatureSet 00715 FixedTempoEstimator::process(const float *const *inputBuffers, RealTime ts) 00716 { -00717 return m_d->process(inputBuffers, ts); +00717 return m_d->process(inputBuffers, ts); 00718 } 00719 00720 FixedTempoEstimator::FeatureSet 00721 FixedTempoEstimator::getRemainingFeatures() 00722 { -00723 return m_d->getRemainingFeatures(); +00723 return m_d->getRemainingFeatures(); 00724 } -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/FixedTempoEstimator_8cpp.html --- a/code-doc/FixedTempoEstimator_8cpp.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/FixedTempoEstimator_8cpp.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: FixedTempoEstimator.cpp File Reference + - - +

FixedTempoEstimator.cpp File Reference

- -

Go to the source code of this file. - + @@ -56,7 +60,7 @@

Definition at line 182 of file FixedTempoEstimator.cpp.

-

Referenced by FixedTempoEstimator::D::assembleFeatures().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures().

@@ -75,7 +79,7 @@

Definition at line 183 of file FixedTempoEstimator.cpp.

-

Referenced by FixedTempoEstimator::D::assembleFeatures().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures().

@@ -94,7 +98,7 @@

Definition at line 184 of file FixedTempoEstimator.cpp.

-

Referenced by FixedTempoEstimator::D::assembleFeatures().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures().

@@ -113,7 +117,7 @@

Definition at line 185 of file FixedTempoEstimator.cpp.

-

Referenced by FixedTempoEstimator::D::assembleFeatures().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures().

@@ -132,13 +136,13 @@

Definition at line 186 of file FixedTempoEstimator.cpp.

-

Referenced by FixedTempoEstimator::D::assembleFeatures().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures().

-


Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/FixedTempoEstimator_8h-source.html --- a/code-doc/FixedTempoEstimator_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/FixedTempoEstimator_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: FixedTempoEstimator.h Source File + - - + @@ -27,7 +33,7 @@ 00006 An API for audio analysis and feature extraction plugins.00007 00008 Centre for Digital Music, Queen Mary, University of London. -00009 Copyright 2006-2008 Chris Cannam and QMUL. +00009 Copyright 2006-2009 Chris Cannam and QMUL.00010 00011 Permission is hereby granted, free of charge, to any person00012 obtaining a copy of this software and associated documentation @@ -100,8 +106,8 @@ 00083 00084 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/FixedTempoEstimator_8h.html --- a/code-doc/FixedTempoEstimator_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/FixedTempoEstimator_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: FixedTempoEstimator.h File Reference + - - +

FixedTempoEstimator.h File Reference

- -

Go to the source code of this file.


Classes

class  FixedTempoEstimator::D
class  FixedTempoEstimator::FixedTempoEstimator::D

Variables

static int TempoOutput = 0
@@ -31,8 +35,8 @@

Classes

 Example plugin that estimates the tempo of a short fixed-tempo sample. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PercussionOnsetDetector_8cpp-source.html --- a/code-doc/PercussionOnsetDetector_8cpp-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PercussionOnsetDetector_8cpp-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PercussionOnsetDetector.cpp Source File + - - + @@ -168,24 +174,24 @@ 00147 ParameterList list; 00148 00149 ParameterDescriptor d; -00150 d.identifier = "threshold"; -00151 d.name = "Energy rise threshold"; -00152 d.description = "Energy rise within a frequency bin necessary to count toward broadband total"; -00153 d.unit = "dB"; -00154 d.minValue = 0; -00155 d.maxValue = 20; -00156 d.defaultValue = 3; -00157 d.isQuantized = false; +00150 d.identifier = "threshold"; +00151 d.name = "Energy rise threshold"; +00152 d.description = "Energy rise within a frequency bin necessary to count toward broadband total"; +00153 d.unit = "dB"; +00154 d.minValue = 0; +00155 d.maxValue = 20; +00156 d.defaultValue = 3; +00157 d.isQuantized = false; 00158 list.push_back(d); 00159 -00160 d.identifier = "sensitivity"; -00161 d.name = "Sensitivity"; -00162 d.description = "Sensitivity of peak detector applied to broadband detection function"; -00163 d.unit = "%"; -00164 d.minValue = 0; -00165 d.maxValue = 100; -00166 d.defaultValue = 40; -00167 d.isQuantized = false; +00160 d.identifier = "sensitivity"; +00161 d.name = "Sensitivity"; +00162 d.description = "Sensitivity of peak detector applied to broadband detection function"; +00163 d.unit = "%"; +00164 d.minValue = 0; +00165 d.maxValue = 100; +00166 d.defaultValue = 40; +00167 d.isQuantized = false; 00168 list.push_back(d); 00169 00170 return list; @@ -219,25 +225,25 @@ 00198 OutputList list; 00199 00200 OutputDescriptor d; -00201 d.identifier = "onsets"; -00202 d.name = "Onsets"; -00203 d.description = "Percussive note onset locations"; -00204 d.unit = ""; -00205 d.hasFixedBinCount = true; -00206 d.binCount = 0; -00207 d.hasKnownExtents = false; -00208 d.isQuantized = false; -00209 d.sampleType = OutputDescriptor::VariableSampleRate; -00210 d.sampleRate = m_inputSampleRate; +00201 d.identifier = "onsets"; +00202 d.name = "Onsets"; +00203 d.description = "Percussive note onset locations"; +00204 d.unit = ""; +00205 d.hasFixedBinCount = true; +00206 d.binCount = 0; +00207 d.hasKnownExtents = false; +00208 d.isQuantized = false; +00209 d.sampleType = OutputDescriptor::VariableSampleRate; +00210 d.sampleRate = m_inputSampleRate; 00211 list.push_back(d); 00212 -00213 d.identifier = "detectionfunction"; -00214 d.name = "Detection Function"; -00215 d.description = "Broadband energy rise detection function"; -00216 d.binCount = 1; -00217 d.isQuantized = true; -00218 d.quantizeStep = 1.0; -00219 d.sampleType = OutputDescriptor::OneSamplePerStep; +00213 d.identifier = "detectionfunction"; +00214 d.name = "Detection Function"; +00215 d.description = "Broadband energy rise detection function"; +00216 d.binCount = 1; +00217 d.isQuantized = true; +00218 d.quantizeStep = 1.0; +00219 d.sampleType = OutputDescriptor::OneSamplePerStep; 00220 list.push_back(d); 00221 00222 return list; @@ -277,8 +283,8 @@ 00256 FeatureSet returnFeatures; 00257 00258 Feature detectionFunction; -00259 detectionFunction.hasTimestamp = false; -00260 detectionFunction.values.push_back(count); +00259 detectionFunction.hasTimestamp = false; +00260 detectionFunction.values.push_back(count); 00261 returnFeatures[1].push_back(detectionFunction); 00262 00263 if (m_dfMinus2 < m_dfMinus1 && @@ -288,8 +294,8 @@ 00267 //std::cout << "result at " << ts << "! (count == " << count << ", prev == " << m_dfMinus1 << ")" << std::endl; 00268 00269 Feature onset; -00270 onset.hasTimestamp = true; -00271 onset.timestamp = ts - Vamp::RealTime::frame2RealTime +00270 onset.hasTimestamp = true; +00271 onset.timestamp = ts - Vamp::RealTime::frame2RealTime 00272 (m_stepSize, int(m_inputSampleRate + 0.5)); 00273 returnFeatures[0].push_back(onset); 00274 } @@ -307,8 +313,8 @@ 00286 } 00287 -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PercussionOnsetDetector_8cpp.html --- a/code-doc/PercussionOnsetDetector_8cpp.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PercussionOnsetDetector_8cpp.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PercussionOnsetDetector.cpp File Reference + - - +

PercussionOnsetDetector.cpp File Reference

- -

Go to the source code of this file.

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PercussionOnsetDetector_8h-source.html --- a/code-doc/PercussionOnsetDetector_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PercussionOnsetDetector_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PercussionOnsetDetector.h Source File + - - + @@ -106,8 +112,8 @@ 00089 00090 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PercussionOnsetDetector_8h.html --- a/code-doc/PercussionOnsetDetector_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PercussionOnsetDetector_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PercussionOnsetDetector.h File Reference + - - +

PercussionOnsetDetector.h File Reference

- -

Go to the source code of this file. @@ -31,8 +35,8 @@

Classes

 Example plugin that detects percussive events. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginAdapter_8h-source.html --- a/code-doc/PluginAdapter_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginAdapter_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginAdapter.h Source File + - - + @@ -88,11 +94,11 @@ 00095 class PluginAdapter : public PluginAdapterBase 00096 { 00097 public: -00098 PluginAdapter() : PluginAdapterBase() { } -00099 virtual ~PluginAdapter() { } +00098 PluginAdapter() : PluginAdapterBase() { } +00099 virtual ~PluginAdapter() { } 00100 00101 protected: -00102 Plugin *createPlugin(float inputSampleRate) { +00102 Plugin *createPlugin(float inputSampleRate) { 00103 P *p = new P(inputSampleRate); 00104 Plugin *plugin = dynamic_cast<Plugin *>(p); 00105 if (!plugin) { @@ -113,8 +119,8 @@ 00120 #endif 00121 -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginAdapter_8h.html --- a/code-doc/PluginAdapter_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginAdapter_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginAdapter.h File Reference + - - +

PluginAdapter.h File Reference

- -

Go to the source code of this file. - - - @@ -35,10 +36,13 @@ + + +

Namespaces

namespace  Vamp

Classes

class  Vamp::PluginAdapterBase
class  Vamp::PluginAdapter< P >
 PluginAdapter turns a PluginAdapterBase into a specific wrapper for a particular plugin implementation. More...

Namespaces

namespace  Vamp

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginBufferingAdapter_8h-source.html --- a/code-doc/PluginBufferingAdapter_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginBufferingAdapter_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginBufferingAdapter.h Source File + - - + @@ -27,7 +33,7 @@ 00006 An API for audio analysis and feature extraction plugins. 00007 00008 Centre for Digital Music, Queen Mary, University of London. -00009 Copyright 2006-2007 Chris Cannam and QMUL. +00009 Copyright 2006-2009 Chris Cannam and QMUL. 00010 This file by Mark Levy and Chris Cannam, Copyright 2007-2008 QMUL. 00011 00012 Permission is hereby granted, free of charge, to any person @@ -114,8 +120,8 @@ 00193 00194 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginBufferingAdapter_8h.html --- a/code-doc/PluginBufferingAdapter_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginBufferingAdapter_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginBufferingAdapter.h File Reference + - - +

PluginBufferingAdapter.h File Reference

- -

Go to the source code of this file. + + + + - - - -

Classes

class  Vamp::HostExt::PluginBufferingAdapter
 PluginBufferingAdapter is a Vamp plugin adapter that allows plugins to be used by a host supplying an audio stream in non-overlapping buffers of arbitrary size. More...

Namespaces

namespace  Vamp
namespace  Vamp::HostExt

Classes

class  Vamp::HostExt::PluginBufferingAdapter
 PluginBufferingAdapter is a Vamp plugin adapter that allows plugins to be used by a host supplying an audio stream in non-overlapping buffers of arbitrary size. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginChannelAdapter_8h-source.html --- a/code-doc/PluginChannelAdapter_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginChannelAdapter_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginChannelAdapter.h Source File + - - + @@ -27,7 +33,7 @@ 00006 An API for audio analysis and feature extraction plugins. 00007 00008 Centre for Digital Music, Queen Mary, University of London. -00009 Copyright 2006-2007 Chris Cannam and QMUL. +00009 Copyright 2006-2009 Chris Cannam and QMUL. 00010 00011 Permission is hereby granted, free of charge, to any person 00012 obtaining a copy of this software and associated documentation @@ -92,8 +98,8 @@ 00148 00149 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginChannelAdapter_8h.html --- a/code-doc/PluginChannelAdapter_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginChannelAdapter_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginChannelAdapter.h File Reference + - - +

PluginChannelAdapter.h File Reference

- -

Go to the source code of this file. + + + + - - - -

Classes

class  Vamp::HostExt::PluginChannelAdapter
 PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that expect a different number of input channels from the number actually available in the source audio data. More...

Namespaces

namespace  Vamp
namespace  Vamp::HostExt

Classes

class  Vamp::HostExt::PluginChannelAdapter
 PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that expect a different number of input channels from the number actually available in the source audio data. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginHostAdapter_8h-source.html --- a/code-doc/PluginHostAdapter_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginHostAdapter_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginHostAdapter.h Source File + - - + @@ -126,8 +132,8 @@ 00122 00123 -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginHostAdapter_8h.html --- a/code-doc/PluginHostAdapter_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginHostAdapter_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginHostAdapter.h File Reference + - - +

PluginHostAdapter.h File Reference

- -

Go to the source code of this file. - - - + + +

Namespaces

namespace  Vamp

Classes

class  Vamp::PluginHostAdapter
 PluginHostAdapter is a wrapper class that a Vamp host can use to make the C-language VampPluginDescriptor object appear as a C++ Vamp::Plugin object. More...

Namespaces

namespace  Vamp

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginInputDomainAdapter_8h-source.html --- a/code-doc/PluginInputDomainAdapter_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginInputDomainAdapter_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginInputDomainAdapter.h Source File + - - + @@ -27,7 +33,7 @@ 00006 An API for audio analysis and feature extraction plugins. 00007 00008 Centre for Digital Music, Queen Mary, University of London. -00009 Copyright 2006-2007 Chris Cannam and QMUL. +00009 Copyright 2006-2009 Chris Cannam and QMUL. 00010 00011 Permission is hereby granted, free of charge, to any person 00012 obtaining a copy of this software and associated documentation @@ -74,31 +80,42 @@ 00091 virtual ~PluginInputDomainAdapter(); 00092 00093 bool initialise(size_t channels, size_t stepSize, size_t blockSize); -00094 -00095 InputDomain getInputDomain() const; -00096 -00097 size_t getPreferredStepSize() const; -00098 size_t getPreferredBlockSize() const; -00099 -00100 FeatureSet process(const float *const *inputBuffers, RealTime timestamp); -00101 -00123 RealTime getTimestampAdjustment() const; -00124 -00125 protected: -00126 class Impl; -00127 Impl *m_impl; -00128 }; -00129 -00130 } -00131 -00132 } -00133 -00134 _VAMP_SDK_HOSTSPACE_END(PluginInputDomainAdapter.h) -00135 -00136 #endif +00094 void reset(); +00095 +00096 InputDomain getInputDomain() const; +00097 +00098 size_t getPreferredStepSize() const; +00099 size_t getPreferredBlockSize() const; +00100 +00101 FeatureSet process(const float *const *inputBuffers, RealTime timestamp); +00102 +00137 enum ProcessTimestampMethod { +00138 ShiftTimestamp, +00139 ShiftData, +00140 NoShift +00141 }; +00142 +00151 void setProcessTimestampMethod(ProcessTimestampMethod); +00152 +00158 ProcessTimestampMethod getProcessTimestampMethod() const; +00159 +00185 RealTime getTimestampAdjustment() const; +00186 +00187 protected: +00188 class Impl; +00189 Impl *m_impl; +00190 }; +00191 +00192 } +00193 +00194 } +00195 +00196 _VAMP_SDK_HOSTSPACE_END(PluginInputDomainAdapter.h) +00197 +00198 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginInputDomainAdapter_8h.html --- a/code-doc/PluginInputDomainAdapter_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginInputDomainAdapter_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginInputDomainAdapter.h File Reference + - - +

PluginInputDomainAdapter.h File Reference

- -

Go to the source code of this file. + + + + - - - -

Classes

class  Vamp::HostExt::PluginInputDomainAdapter
 PluginInputDomainAdapter is a Vamp plugin adapter that converts time-domain input into frequency-domain input for plugins that need it. More...

Namespaces

namespace  Vamp
namespace  Vamp::HostExt

Classes

class  Vamp::HostExt::PluginInputDomainAdapter
 PluginInputDomainAdapter is a Vamp plugin adapter that converts time-domain input into frequency-domain input for plugins that need it. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginLoader_8h-source.html --- a/code-doc/PluginLoader_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginLoader_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginLoader.h Source File + - - + @@ -27,7 +33,7 @@ 00006 An API for audio analysis and feature extraction plugins. 00007 00008 Centre for Digital Music, Queen Mary, University of London. -00009 Copyright 2006-2007 Chris Cannam and QMUL. +00009 Copyright 2006-2009 Chris Cannam and QMUL. 00010 00011 Permission is hereby granted, free of charge, to any person 00012 obtaining a copy of this software and associated documentation @@ -127,8 +133,8 @@ 00242 #endif 00243 -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginLoader_8h.html --- a/code-doc/PluginLoader_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginLoader_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginLoader.h File Reference + - - +

PluginLoader.h File Reference

- -

Go to the source code of this file. + + + + - - - -

Classes

class  Vamp::HostExt::PluginLoader
 Vamp::HostExt::PluginLoader is a convenience class for discovering and loading Vamp plugins using the typical plugin-path, library naming, and categorisation conventions described in the Vamp SDK documentation. More...

Namespaces

namespace  Vamp
namespace  Vamp::HostExt

Classes

class  Vamp::HostExt::PluginLoader
 Vamp::HostExt::PluginLoader is a convenience class for discovering and loading Vamp plugins using the typical plugin-path, library naming, and categorisation conventions described in the Vamp SDK documentation. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginSummarisingAdapter_8h-source.html --- a/code-doc/PluginSummarisingAdapter_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginSummarisingAdapter_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginSummarisingAdapter.h Source File + - - + @@ -27,7 +33,7 @@ 00006 An API for audio analysis and feature extraction plugins. 00007 00008 Centre for Digital Music, Queen Mary, University of London. -00009 Copyright 2006-2008 Chris Cannam and QMUL. +00009 Copyright 2006-2009 Chris Cannam and QMUL. 00010 00011 Permission is hereby granted, free of charge, to any person 00012 obtaining a copy of this software and associated documentation @@ -77,54 +83,56 @@ 00096 00097 bool initialise(size_t channels, size_t stepSize, size_t blockSize); 00098 -00099 FeatureSet process(const float *const *inputBuffers, RealTime timestamp); -00100 FeatureSet getRemainingFeatures(); -00101 -00102 typedef std::set<RealTime> SegmentBoundaries; +00099 void reset(); +00100 +00101 FeatureSet process(const float *const *inputBuffers, RealTime timestamp); +00102 FeatureSet getRemainingFeatures(); 00103 -00117 void setSummarySegmentBoundaries(const SegmentBoundaries &); -00118 -00119 enum SummaryType { -00120 Minimum = 0, -00121 Maximum = 1, -00122 Mean = 2, -00123 Median = 3, -00124 Mode = 4, -00125 Sum = 5, -00126 Variance = 6, -00127 StandardDeviation = 7, -00128 Count = 8, -00129 -00130 UnknownSummaryType = 999 -00131 }; -00132 -00155 enum AveragingMethod { -00156 SampleAverage = 0, -00157 ContinuousTimeAverage = 1, -00158 }; -00159 -00168 FeatureList getSummaryForOutput(int output, -00169 SummaryType type, -00170 AveragingMethod method = SampleAverage); -00171 -00181 FeatureSet getSummaryForAllOutputs(SummaryType type, -00182 AveragingMethod method = SampleAverage); -00183 -00184 protected: -00185 class Impl; -00186 Impl *m_impl; -00187 }; -00188 -00189 } +00104 typedef std::set<RealTime> SegmentBoundaries; +00105 +00119 void setSummarySegmentBoundaries(const SegmentBoundaries &); +00120 +00121 enum SummaryType { +00122 Minimum = 0, +00123 Maximum = 1, +00124 Mean = 2, +00125 Median = 3, +00126 Mode = 4, +00127 Sum = 5, +00128 Variance = 6, +00129 StandardDeviation = 7, +00130 Count = 8, +00131 +00132 UnknownSummaryType = 999 +00133 }; +00134 +00157 enum AveragingMethod { +00158 SampleAverage = 0, +00159 ContinuousTimeAverage = 1 +00160 }; +00161 +00170 FeatureList getSummaryForOutput(int output, +00171 SummaryType type, +00172 AveragingMethod method = SampleAverage); +00173 +00183 FeatureSet getSummaryForAllOutputs(SummaryType type, +00184 AveragingMethod method = SampleAverage); +00185 +00186 protected: +00187 class Impl; +00188 Impl *m_impl; +00189 }; 00190 00191 } 00192 -00193 _VAMP_SDK_HOSTSPACE_END(PluginSummarisingAdapter.h) +00193 } 00194 -00195 #endif +00195 _VAMP_SDK_HOSTSPACE_END(PluginSummarisingAdapter.h) +00196 +00197 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginSummarisingAdapter_8h.html --- a/code-doc/PluginSummarisingAdapter_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginSummarisingAdapter_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginSummarisingAdapter.h File Reference + - - +

PluginSummarisingAdapter.h File Reference

- -

Go to the source code of this file. + + + + - - - -

Classes

class  Vamp::HostExt::PluginSummarisingAdapter
 PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean and median averages of output features, for use in any context where an available plugin produces individual values but the result that is actually needed is some sort of aggregate. More...

Namespaces

namespace  Vamp
namespace  Vamp::HostExt

Classes

class  Vamp::HostExt::PluginSummarisingAdapter
 PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean and median averages of output features, for use in any context where an available plugin produces individual values but the result that is actually needed is some sort of aggregate. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginWrapper_8h-source.html --- a/code-doc/PluginWrapper_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginWrapper_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginWrapper.h Source File + - - + @@ -27,7 +33,7 @@ 00006 An API for audio analysis and feature extraction plugins. 00007 00008 Centre for Digital Music, Queen Mary, University of London. -00009 Copyright 2006-2007 Chris Cannam and QMUL. +00009 Copyright 2006-2009 Chris Cannam and QMUL. 00010 00011 Permission is hereby granted, free of charge, to any person 00012 obtaining a copy of this software and associated documentation @@ -106,7 +112,7 @@ 00098 FeatureSet getRemainingFeatures(); 00099 00115 template <typename WrapperType> -00116 WrapperType *getWrapper() { +00116 WrapperType *getWrapper() { 00117 WrapperType *w = dynamic_cast<WrapperType *>(this); 00118 if (w) return w; 00119 PluginWrapper *pw = dynamic_cast<PluginWrapper *>(m_plugin); @@ -127,8 +133,8 @@ 00134 00135 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PluginWrapper_8h.html --- a/code-doc/PluginWrapper_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PluginWrapper_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PluginWrapper.h File Reference + - - +

PluginWrapper.h File Reference

- -

Go to the source code of this file. + + + + - - - -

Classes

class  Vamp::HostExt::PluginWrapper
 PluginWrapper is a simple base class for adapter plugins. More...

Namespaces

namespace  Vamp
namespace  Vamp::HostExt

Classes

class  Vamp::HostExt::PluginWrapper
 PluginWrapper is a simple base class for adapter plugins. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PowerSpectrum_8cpp-source.html --- a/code-doc/PowerSpectrum_8cpp-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PowerSpectrum_8cpp-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PowerSpectrum.cpp Source File + - - + @@ -131,23 +137,23 @@ 00110 OutputList list; 00111 00112 OutputDescriptor d; -00113 d.identifier = "powerspectrum"; -00114 d.name = "Power Spectrum"; -00115 d.description = "Power values of the frequency spectrum bins calculated from the input signal"; -00116 d.unit = ""; -00117 d.hasFixedBinCount = true; +00113 d.identifier = "powerspectrum"; +00114 d.name = "Power Spectrum"; +00115 d.description = "Power values of the frequency spectrum bins calculated from the input signal"; +00116 d.unit = ""; +00117 d.hasFixedBinCount = true; 00118 if (m_blockSize == 0) { 00119 // Just so as not to return "1". This is the bin count that 00120 // would result from a block size of 1024, which is a likely 00121 // default -- but the host should always set the block size 00122 // before querying the bin count for certain. -00123 d.binCount = 513; +00123 d.binCount = 513; 00124 } else { -00125 d.binCount = m_blockSize / 2 + 1; +00125 d.binCount = m_blockSize / 2 + 1; 00126 } -00127 d.hasKnownExtents = false; -00128 d.isQuantized = false; -00129 d.sampleType = OutputDescriptor::OneSamplePerStep; +00127 d.hasKnownExtents = false; +00128 d.isQuantized = false; +00129 d.sampleType = OutputDescriptor::OneSamplePerStep; 00130 list.push_back(d); 00131 00132 return list; @@ -167,15 +173,15 @@ 00146 const float *fbuf = inputBuffers[0]; 00147 00148 Feature feature; -00149 feature.hasTimestamp = false; -00150 feature.values.reserve(n); // optional +00149 feature.hasTimestamp = false; +00150 feature.values.reserve(n); // optional 00151 00152 for (size_t i = 0; i < n; ++i) { 00153 00154 double real = fbuf[i * 2]; 00155 double imag = fbuf[i * 2 + 1]; 00156 -00157 feature.values.push_back(real * real + imag * imag); +00157 feature.values.push_back(real * real + imag * imag); 00158 } 00159 00160 fs[0].push_back(feature); @@ -190,8 +196,8 @@ 00169 } 00170 -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PowerSpectrum_8cpp.html --- a/code-doc/PowerSpectrum_8cpp.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PowerSpectrum_8cpp.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PowerSpectrum.cpp File Reference + - - +

PowerSpectrum.cpp File Reference

- -

Go to the source code of this file.

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PowerSpectrum_8h-source.html --- a/code-doc/PowerSpectrum_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PowerSpectrum_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PowerSpectrum.h Source File + - - + @@ -92,8 +98,8 @@ 00079 00080 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/PowerSpectrum_8h.html --- a/code-doc/PowerSpectrum_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/PowerSpectrum_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: PowerSpectrum.h File Reference + - - +

PowerSpectrum.h File Reference

- -

Go to the source code of this file. @@ -31,8 +35,8 @@

Classes

 Example plugin that returns a power spectrum calculated (trivially) from the frequency domain representation of each block of audio. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/SpectralCentroid_8cpp-source.html --- a/code-doc/SpectralCentroid_8cpp-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/SpectralCentroid_8cpp-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: SpectralCentroid.cpp Source File + - - + @@ -64,155 +70,160 @@ 00043 00044 #include <math.h> 00045 -00046 #ifdef WIN32 -00047 #define isnan(x) false -00048 #define isinf(x) false +00046 #ifdef __SUNPRO_CC +00047 #include <ieeefp.h> +00048 #define isinf(x) (!finite(x)) 00049 #endif 00050 -00051 SpectralCentroid::SpectralCentroid(float inputSampleRate) : -00052 Plugin(inputSampleRate), -00053 m_stepSize(0), -00054 m_blockSize(0) -00055 { -00056 } -00057 -00058 SpectralCentroid::~SpectralCentroid() -00059 { -00060 } -00061 -00062 string -00063 SpectralCentroid::getIdentifier() const -00064 { -00065 return "spectralcentroid"; -00066 } -00067 -00068 string -00069 SpectralCentroid::getName() const -00070 { -00071 return "Spectral Centroid"; -00072 } -00073 -00074 string -00075 SpectralCentroid::getDescription() const -00076 { -00077 return "Calculate the centroid frequency of the spectrum of the input signal"; -00078 } -00079 -00080 string -00081 SpectralCentroid::getMaker() const -00082 { -00083 return "Vamp SDK Example Plugins"; -00084 } -00085 -00086 int -00087 SpectralCentroid::getPluginVersion() const -00088 { -00089 return 2; -00090 } -00091 -00092 string -00093 SpectralCentroid::getCopyright() const -00094 { -00095 return "Freely redistributable (BSD license)"; -00096 } -00097 -00098 bool -00099 SpectralCentroid::initialise(size_t channels, size_t stepSize, size_t blockSize) -00100 { -00101 if (channels < getMinChannelCount() || -00102 channels > getMaxChannelCount()) return false; -00103 -00104 m_stepSize = stepSize; -00105 m_blockSize = blockSize; -00106 -00107 return true; -00108 } -00109 -00110 void -00111 SpectralCentroid::reset() -00112 { +00051 #ifdef WIN32 +00052 #define isnan(x) false +00053 #define isinf(x) false +00054 #endif +00055 +00056 SpectralCentroid::SpectralCentroid(float inputSampleRate) : +00057 Plugin(inputSampleRate), +00058 m_stepSize(0), +00059 m_blockSize(0) +00060 { +00061 } +00062 +00063 SpectralCentroid::~SpectralCentroid() +00064 { +00065 } +00066 +00067 string +00068 SpectralCentroid::getIdentifier() const +00069 { +00070 return "spectralcentroid"; +00071 } +00072 +00073 string +00074 SpectralCentroid::getName() const +00075 { +00076 return "Spectral Centroid"; +00077 } +00078 +00079 string +00080 SpectralCentroid::getDescription() const +00081 { +00082 return "Calculate the centroid frequency of the spectrum of the input signal"; +00083 } +00084 +00085 string +00086 SpectralCentroid::getMaker() const +00087 { +00088 return "Vamp SDK Example Plugins"; +00089 } +00090 +00091 int +00092 SpectralCentroid::getPluginVersion() const +00093 { +00094 return 2; +00095 } +00096 +00097 string +00098 SpectralCentroid::getCopyright() const +00099 { +00100 return "Freely redistributable (BSD license)"; +00101 } +00102 +00103 bool +00104 SpectralCentroid::initialise(size_t channels, size_t stepSize, size_t blockSize) +00105 { +00106 if (channels < getMinChannelCount() || +00107 channels > getMaxChannelCount()) return false; +00108 +00109 m_stepSize = stepSize; +00110 m_blockSize = blockSize; +00111 +00112 return true; 00113 } 00114 -00115 SpectralCentroid::OutputList -00116 SpectralCentroid::getOutputDescriptors() const -00117 { -00118 OutputList list; +00115 void +00116 SpectralCentroid::reset() +00117 { +00118 } 00119 -00120 OutputDescriptor d; -00121 d.identifier = "logcentroid"; -00122 d.name = "Log Frequency Centroid"; -00123 d.description = "Centroid of the log weighted frequency spectrum"; -00124 d.unit = "Hz"; -00125 d.hasFixedBinCount = true; -00126 d.binCount = 1; -00127 d.hasKnownExtents = false; -00128 d.isQuantized = false; -00129 d.sampleType = OutputDescriptor::OneSamplePerStep; -00130 list.push_back(d); -00131 -00132 d.identifier = "linearcentroid"; -00133 d.name = "Linear Frequency Centroid"; -00134 d.description = "Centroid of the linear frequency spectrum"; +00120 SpectralCentroid::OutputList +00121 SpectralCentroid::getOutputDescriptors() const +00122 { +00123 OutputList list; +00124 +00125 OutputDescriptor d; +00126 d.identifier = "logcentroid"; +00127 d.name = "Log Frequency Centroid"; +00128 d.description = "Centroid of the log weighted frequency spectrum"; +00129 d.unit = "Hz"; +00130 d.hasFixedBinCount = true; +00131 d.binCount = 1; +00132 d.hasKnownExtents = false; +00133 d.isQuantized = false; +00134 d.sampleType = OutputDescriptor::OneSamplePerStep; 00135 list.push_back(d); 00136 -00137 return list; -00138 } -00139 -00140 SpectralCentroid::FeatureSet -00141 SpectralCentroid::process(const float *const *inputBuffers, Vamp::RealTime timestamp) -00142 { -00143 if (m_stepSize == 0) { -00144 cerr << "ERROR: SpectralCentroid::process: " -00145 << "SpectralCentroid has not been initialised" -00146 << endl; -00147 return FeatureSet(); -00148 } -00149 -00150 double numLin = 0.0, numLog = 0.0, denom = 0.0; -00151 -00152 for (size_t i = 1; i <= m_blockSize/2; ++i) { -00153 double freq = (double(i) * m_inputSampleRate) / m_blockSize; -00154 double real = inputBuffers[0][i*2]; -00155 double imag = inputBuffers[0][i*2 + 1]; -00156 double scalemag = sqrt(real * real + imag * imag) / (m_blockSize/2); -00157 numLin += freq * scalemag; -00158 numLog += log10f(freq) * scalemag; -00159 denom += scalemag; -00160 } -00161 -00162 FeatureSet returnFeatures; -00163 -00164 if (denom != 0.0) { -00165 float centroidLin = float(numLin / denom); -00166 float centroidLog = powf(10, float(numLog / denom)); -00167 -00168 Feature feature; -00169 feature.hasTimestamp = false; -00170 -00171 if (!isnan(centroidLog) && !isinf(centroidLog)) { -00172 feature.values.push_back(centroidLog); -00173 } -00174 returnFeatures[0].push_back(feature); +00137 d.identifier = "linearcentroid"; +00138 d.name = "Linear Frequency Centroid"; +00139 d.description = "Centroid of the linear frequency spectrum"; +00140 list.push_back(d); +00141 +00142 return list; +00143 } +00144 +00145 SpectralCentroid::FeatureSet +00146 SpectralCentroid::process(const float *const *inputBuffers, Vamp::RealTime timestamp) +00147 { +00148 if (m_stepSize == 0) { +00149 cerr << "ERROR: SpectralCentroid::process: " +00150 << "SpectralCentroid has not been initialised" +00151 << endl; +00152 return FeatureSet(); +00153 } +00154 +00155 double numLin = 0.0, numLog = 0.0, denom = 0.0; +00156 +00157 for (size_t i = 1; i <= m_blockSize/2; ++i) { +00158 double freq = (double(i) * m_inputSampleRate) / m_blockSize; +00159 double real = inputBuffers[0][i*2]; +00160 double imag = inputBuffers[0][i*2 + 1]; +00161 double scalemag = sqrt(real * real + imag * imag) / (m_blockSize/2); +00162 numLin += freq * scalemag; +00163 numLog += log10f(freq) * scalemag; +00164 denom += scalemag; +00165 } +00166 +00167 FeatureSet returnFeatures; +00168 +00169 if (denom != 0.0) { +00170 float centroidLin = float(numLin / denom); +00171 float centroidLog = powf(10, float(numLog / denom)); +00172 +00173 Feature feature; +00174 feature.hasTimestamp = false; 00175 -00176 feature.values.clear(); -00177 if (!isnan(centroidLin) && !isinf(centroidLin)) { -00178 feature.values.push_back(centroidLin); -00179 } -00180 returnFeatures[1].push_back(feature); -00181 } -00182 -00183 return returnFeatures; -00184 } -00185 -00186 SpectralCentroid::FeatureSet -00187 SpectralCentroid::getRemainingFeatures() -00188 { -00189 return FeatureSet(); -00190 } -00191 +00176 if (!isnan(centroidLog) && !isinf(centroidLog)) { +00177 feature.values.push_back(centroidLog); +00178 } +00179 returnFeatures[0].push_back(feature); +00180 +00181 feature.values.clear(); +00182 if (!isnan(centroidLin) && !isinf(centroidLin)) { +00183 feature.values.push_back(centroidLin); +00184 } +00185 returnFeatures[1].push_back(feature); +00186 } +00187 +00188 return returnFeatures; +00189 } +00190 +00191 SpectralCentroid::FeatureSet +00192 SpectralCentroid::getRemainingFeatures() +00193 { +00194 return FeatureSet(); +00195 } +00196 -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/SpectralCentroid_8cpp.html --- a/code-doc/SpectralCentroid_8cpp.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/SpectralCentroid_8cpp.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: SpectralCentroid.cpp File Reference + - - +

SpectralCentroid.cpp File Reference

- -

Go to the source code of this file.

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/SpectralCentroid_8h-source.html --- a/code-doc/SpectralCentroid_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/SpectralCentroid_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: SpectralCentroid.h Source File + - - + @@ -93,8 +99,8 @@ 00077 00078 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/SpectralCentroid_8h.html --- a/code-doc/SpectralCentroid_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/SpectralCentroid_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: SpectralCentroid.h File Reference + - - +

SpectralCentroid.h File Reference

- -

Go to the source code of this file. @@ -31,8 +35,8 @@

Classes

 Example plugin that calculates the centre of gravity of the frequency domain representation of each block of audio. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/ZeroCrossing_8cpp-source.html --- a/code-doc/ZeroCrossing_8cpp-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/ZeroCrossing_8cpp-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: ZeroCrossing.cpp Source File + - - + @@ -134,26 +140,26 @@ 00113 OutputList list; 00114 00115 OutputDescriptor zc; -00116 zc.identifier = "counts"; -00117 zc.name = "Zero Crossing Counts"; -00118 zc.description = "The number of zero crossing points per processing block"; -00119 zc.unit = "crossings"; -00120 zc.hasFixedBinCount = true; -00121 zc.binCount = 1; -00122 zc.hasKnownExtents = false; -00123 zc.isQuantized = true; -00124 zc.quantizeStep = 1.0; -00125 zc.sampleType = OutputDescriptor::OneSamplePerStep; +00116 zc.identifier = "counts"; +00117 zc.name = "Zero Crossing Counts"; +00118 zc.description = "The number of zero crossing points per processing block"; +00119 zc.unit = "crossings"; +00120 zc.hasFixedBinCount = true; +00121 zc.binCount = 1; +00122 zc.hasKnownExtents = false; +00123 zc.isQuantized = true; +00124 zc.quantizeStep = 1.0; +00125 zc.sampleType = OutputDescriptor::OneSamplePerStep; 00126 list.push_back(zc); 00127 -00128 zc.identifier = "zerocrossings"; -00129 zc.name = "Zero Crossings"; -00130 zc.description = "The locations of zero crossing points"; -00131 zc.unit = ""; -00132 zc.hasFixedBinCount = true; -00133 zc.binCount = 0; -00134 zc.sampleType = OutputDescriptor::VariableSampleRate; -00135 zc.sampleRate = m_inputSampleRate; +00128 zc.identifier = "zerocrossings"; +00129 zc.name = "Zero Crossings"; +00130 zc.description = "The locations of zero crossing points"; +00131 zc.unit = ""; +00132 zc.hasFixedBinCount = true; +00133 zc.binCount = 0; +00134 zc.sampleType = OutputDescriptor::VariableSampleRate; +00135 zc.sampleRate = m_inputSampleRate; 00136 list.push_back(zc); 00137 00138 return list; @@ -189,8 +195,8 @@ 00168 if (crossing) { 00169 ++count; 00170 Feature feature; -00171 feature.hasTimestamp = true; -00172 feature.timestamp = timestamp + +00171 feature.hasTimestamp = true; +00172 feature.timestamp = timestamp + 00173 Vamp::RealTime::frame2RealTime(i, (size_t)m_inputSampleRate); 00174 returnFeatures[1].push_back(feature); 00175 } @@ -201,8 +207,8 @@ 00180 m_previousSample = prev; 00181 00182 Feature feature; -00183 feature.hasTimestamp = false; -00184 feature.values.push_back(count); +00183 feature.hasTimestamp = false; +00184 feature.values.push_back(float(count)); 00185 00186 returnFeatures[0].push_back(feature); 00187 return returnFeatures; @@ -215,8 +221,8 @@ 00194 } 00195 -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/ZeroCrossing_8cpp.html --- a/code-doc/ZeroCrossing_8cpp.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/ZeroCrossing_8cpp.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: ZeroCrossing.cpp File Reference + - - +

ZeroCrossing.cpp File Reference

- -

Go to the source code of this file.

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/ZeroCrossing_8h-source.html --- a/code-doc/ZeroCrossing_8h-source.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/ZeroCrossing_8h-source.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: ZeroCrossing.h Source File + - - + @@ -93,8 +99,8 @@ 00077 00078 #endif -
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/ZeroCrossing_8h.html --- a/code-doc/ZeroCrossing_8h.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/ZeroCrossing_8h.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: ZeroCrossing.h File Reference + - - +

ZeroCrossing.h File Reference

- -

Go to the source code of this file. @@ -31,8 +35,8 @@

Classes

 Example plugin that calculates the positions and density of zero-crossing points in an audio waveform. More...

-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/annotated.html --- a/code-doc/annotated.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/annotated.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Class List + - - +

@@ -196,7 +194,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -347,7 +345,7 @@

Definition at line 105 of file AmplitudeFollower.cpp.

-

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), m_clampcoef, Vamp::Plugin::m_inputSampleRate, m_relaxcoef, and m_stepSize.

+

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), m_clampcoef, Vamp::Plugin::m_inputSampleRate, m_relaxcoef, and m_stepSize.

@@ -396,7 +394,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Definition at line 56 of file AmplitudeFollower.h.

@@ -582,7 +581,7 @@

Definition at line 128 of file AmplitudeFollower.cpp.

-

References Vamp::Plugin::OutputDescriptor::binCount, Vamp::Plugin::OutputDescriptor::description, Vamp::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::OutputDescriptor::identifier, Vamp::Plugin::OutputDescriptor::isQuantized, Vamp::Plugin::OutputDescriptor::name, Vamp::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::OutputDescriptor::sampleType, and Vamp::Plugin::OutputDescriptor::unit.

+

References Vamp::Plugin::Plugin::OutputDescriptor::binCount, Vamp::Plugin::Plugin::OutputDescriptor::description, Vamp::Plugin::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::Plugin::OutputDescriptor::identifier, Vamp::Plugin::Plugin::OutputDescriptor::isQuantized, Vamp::Plugin::Plugin::OutputDescriptor::name, Vamp::Plugin::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::Plugin::OutputDescriptor::sampleType, and Vamp::Plugin::Plugin::OutputDescriptor::unit.

@@ -609,7 +608,7 @@

Definition at line 148 of file AmplitudeFollower.cpp.

-

References Vamp::PluginBase::ParameterDescriptor::defaultValue, Vamp::PluginBase::ParameterDescriptor::description, Vamp::PluginBase::ParameterDescriptor::identifier, Vamp::PluginBase::ParameterDescriptor::isQuantized, Vamp::PluginBase::ParameterDescriptor::maxValue, Vamp::PluginBase::ParameterDescriptor::minValue, Vamp::PluginBase::ParameterDescriptor::name, and Vamp::PluginBase::ParameterDescriptor::unit.

+

References Vamp::PluginBase::PluginBase::ParameterDescriptor::defaultValue, Vamp::PluginBase::PluginBase::ParameterDescriptor::description, Vamp::PluginBase::PluginBase::ParameterDescriptor::identifier, Vamp::PluginBase::PluginBase::ParameterDescriptor::isQuantized, Vamp::PluginBase::PluginBase::ParameterDescriptor::maxValue, Vamp::PluginBase::PluginBase::ParameterDescriptor::minValue, Vamp::PluginBase::PluginBase::ParameterDescriptor::name, and Vamp::PluginBase::PluginBase::ParameterDescriptor::unit.

@@ -713,7 +712,7 @@

Definition at line 200 of file AmplitudeFollower.cpp.

-

References Vamp::Plugin::Feature::hasTimestamp, m_clampcoef, m_previn, m_relaxcoef, m_stepSize, and Vamp::Plugin::Feature::values.

+

References Vamp::Plugin::Plugin::Feature::hasTimestamp, m_clampcoef, m_previn, m_relaxcoef, m_stepSize, and Vamp::Plugin::Plugin::Feature::values.

@@ -764,7 +763,7 @@ A plugin that can handle any block size may return 0. The final block size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 174 of file vamp-sdk/Plugin.h.

+

Definition at line 179 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -792,7 +791,7 @@ A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 189 of file vamp-sdk/Plugin.h.

+

Definition at line 194 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -819,9 +818,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 194 of file vamp-sdk/Plugin.h.

+

Definition at line 199 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), initialise(), and runPlugin().

@@ -846,9 +845,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 199 of file vamp-sdk/Plugin.h.

+

Definition at line 204 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), initialise(), and runPlugin().

@@ -873,7 +872,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -1071,17 +1070,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following files: -
Generated on Mon Dec 8 14:37:19 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classAmplitudeFollower__inherit__graph.map --- a/code-doc/classAmplitudeFollower__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classAmplitudeFollower__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,2 +1,2 @@ - - + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classAmplitudeFollower__inherit__graph.md5 --- a/code-doc/classAmplitudeFollower__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classAmplitudeFollower__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -ae601c884d2d7815d3a3ef8ea2610149 \ No newline at end of file +287616fc7db89a55da22ac4b6d5aa5fe \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classAmplitudeFollower__inherit__graph.png Binary file code-doc/classAmplitudeFollower__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classFixedTempoEstimator-members.html --- a/code-doc/classFixedTempoEstimator-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classFixedTempoEstimator-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +

@@ -192,7 +190,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -343,7 +341,7 @@

Definition at line 676 of file FixedTempoEstimator.cpp.

-

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), FixedTempoEstimator::D::initialise(), and m_d.

+

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), FixedTempoEstimator::FixedTempoEstimator::D::initialise(), and m_d.

@@ -370,7 +368,7 @@

Definition at line 685 of file FixedTempoEstimator.cpp.

-

References m_d, and FixedTempoEstimator::D::reset().

+

References m_d, and FixedTempoEstimator::FixedTempoEstimator::D::reset().

@@ -392,7 +390,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Definition at line 55 of file FixedTempoEstimator.h.

@@ -579,7 +578,7 @@

Definition at line 664 of file FixedTempoEstimator.cpp.

-

References FixedTempoEstimator::D::getPreferredStepSize(), and m_d.

+

References FixedTempoEstimator::FixedTempoEstimator::D::getPreferredStepSize(), and m_d.

@@ -607,7 +606,7 @@

Definition at line 670 of file FixedTempoEstimator.cpp.

-

References FixedTempoEstimator::D::getPreferredBlockSize(), and m_d.

+

References FixedTempoEstimator::FixedTempoEstimator::D::getPreferredBlockSize(), and m_d.

@@ -634,7 +633,7 @@

Definition at line 691 of file FixedTempoEstimator.cpp.

-

References FixedTempoEstimator::D::getParameterDescriptors(), and m_d.

+

References FixedTempoEstimator::FixedTempoEstimator::D::getParameterDescriptors(), and m_d.

@@ -662,7 +661,7 @@

Definition at line 697 of file FixedTempoEstimator.cpp.

-

References FixedTempoEstimator::D::getParameter(), and m_d.

+

References FixedTempoEstimator::FixedTempoEstimator::D::getParameter(), and m_d.

@@ -699,7 +698,7 @@

Definition at line 703 of file FixedTempoEstimator.cpp.

-

References m_d, and FixedTempoEstimator::D::setParameter().

+

References m_d, and FixedTempoEstimator::FixedTempoEstimator::D::setParameter().

@@ -726,7 +725,7 @@

Definition at line 709 of file FixedTempoEstimator.cpp.

-

References FixedTempoEstimator::D::getOutputDescriptors(), and m_d.

+

References FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and m_d.

@@ -765,7 +764,7 @@

Definition at line 715 of file FixedTempoEstimator.cpp.

-

References m_d, and FixedTempoEstimator::D::process().

+

References m_d, and FixedTempoEstimator::FixedTempoEstimator::D::process().

@@ -792,7 +791,7 @@

Definition at line 721 of file FixedTempoEstimator.cpp.

-

References FixedTempoEstimator::D::getRemainingFeatures(), and m_d.

+

References FixedTempoEstimator::FixedTempoEstimator::D::getRemainingFeatures(), and m_d.

@@ -817,9 +816,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 194 of file vamp-sdk/Plugin.h.

+

Definition at line 199 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -844,9 +843,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 199 of file vamp-sdk/Plugin.h.

+

Definition at line 204 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -871,7 +870,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -1012,17 +1011,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following files: -
Generated on Mon Dec 8 14:37:19 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classFixedTempoEstimator_1_1D-members.html --- a/code-doc/classFixedTempoEstimator_1_1D-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classFixedTempoEstimator_1_1D-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +
-

FixedTempoEstimator::D Member List

This is the complete list of members for FixedTempoEstimator::D, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

FixedTempoEstimator::FixedTempoEstimator::D Member List

This is the complete list of members for FixedTempoEstimator::FixedTempoEstimator::D, including all inherited members.

assembleFeatures()FixedTempoEstimator::D [private]
calculate()FixedTempoEstimator::D [private]
D(float inputSampleRate)FixedTempoEstimator::D
getOutputDescriptors() const FixedTempoEstimator::D
getParameter(string id) const FixedTempoEstimator::D
getParameterDescriptors() const FixedTempoEstimator::D
getPreferredBlockSize() const FixedTempoEstimator::D [inline]
getPreferredStepSize() const FixedTempoEstimator::D [inline]
getRemainingFeatures()FixedTempoEstimator::D
initialise(size_t channels, size_t stepSize, size_t blockSize)FixedTempoEstimator::D
lag2tempo(int)FixedTempoEstimator::D [private]
m_blockSizeFixedTempoEstimator::D [private]
m_dfFixedTempoEstimator::D [private]
m_dfsizeFixedTempoEstimator::D [private]
m_frFixedTempoEstimator::D [private]
m_inputSampleRateFixedTempoEstimator::D [private]
m_lasttimeFixedTempoEstimator::D [private]
m_maxbpmFixedTempoEstimator::D [private]
m_maxdflenFixedTempoEstimator::D [private]
m_minbpmFixedTempoEstimator::D [private]
m_nFixedTempoEstimator::D [private]
m_priorMagnitudesFixedTempoEstimator::D [private]
m_rFixedTempoEstimator::D [private]
m_startFixedTempoEstimator::D [private]
m_stepSizeFixedTempoEstimator::D [private]
m_tFixedTempoEstimator::D [private]
process(const float *const *, RealTime)FixedTempoEstimator::D
reset()FixedTempoEstimator::D
setParameter(string id, float value)FixedTempoEstimator::D
tempo2lag(float)FixedTempoEstimator::D [private]
~D()FixedTempoEstimator::D
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
assembleFeatures()FixedTempoEstimator::FixedTempoEstimator::D [private]
calculate()FixedTempoEstimator::FixedTempoEstimator::D [private]
D(float inputSampleRate)FixedTempoEstimator::FixedTempoEstimator::D
getOutputDescriptors() const FixedTempoEstimator::FixedTempoEstimator::D
getParameter(string id) const FixedTempoEstimator::FixedTempoEstimator::D
getParameterDescriptors() const FixedTempoEstimator::FixedTempoEstimator::D
getPreferredBlockSize() const FixedTempoEstimator::FixedTempoEstimator::D [inline]
getPreferredStepSize() const FixedTempoEstimator::FixedTempoEstimator::D [inline]
getRemainingFeatures()FixedTempoEstimator::FixedTempoEstimator::D
initialise(size_t channels, size_t stepSize, size_t blockSize)FixedTempoEstimator::FixedTempoEstimator::D
lag2tempo(int)FixedTempoEstimator::FixedTempoEstimator::D [private]
m_blockSizeFixedTempoEstimator::FixedTempoEstimator::D [private]
m_dfFixedTempoEstimator::FixedTempoEstimator::D [private]
m_dfsizeFixedTempoEstimator::FixedTempoEstimator::D [private]
m_frFixedTempoEstimator::FixedTempoEstimator::D [private]
m_inputSampleRateFixedTempoEstimator::FixedTempoEstimator::D [private]
m_lasttimeFixedTempoEstimator::FixedTempoEstimator::D [private]
m_maxbpmFixedTempoEstimator::FixedTempoEstimator::D [private]
m_maxdflenFixedTempoEstimator::FixedTempoEstimator::D [private]
m_minbpmFixedTempoEstimator::FixedTempoEstimator::D [private]
m_nFixedTempoEstimator::FixedTempoEstimator::D [private]
m_priorMagnitudesFixedTempoEstimator::FixedTempoEstimator::D [private]
m_rFixedTempoEstimator::FixedTempoEstimator::D [private]
m_startFixedTempoEstimator::FixedTempoEstimator::D [private]
m_stepSizeFixedTempoEstimator::FixedTempoEstimator::D [private]
m_tFixedTempoEstimator::FixedTempoEstimator::D [private]
process(const float *const *, RealTime)FixedTempoEstimator::FixedTempoEstimator::D
reset()FixedTempoEstimator::FixedTempoEstimator::D
setParameter(string id, float value)FixedTempoEstimator::FixedTempoEstimator::D
tempo2lag(float)FixedTempoEstimator::FixedTempoEstimator::D [private]
~D()FixedTempoEstimator::FixedTempoEstimator::D

-
Generated on Mon Dec 8 14:37:19 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classFixedTempoEstimator_1_1D.html --- a/code-doc/classFixedTempoEstimator_1_1D.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classFixedTempoEstimator_1_1D.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ -VampPluginSDK: FixedTempoEstimator::D Class Reference +VampPluginSDK: FixedTempoEstimator::FixedTempoEstimator::D Class Reference + - - +
-

FixedTempoEstimator::D Class Reference

+

FixedTempoEstimator::FixedTempoEstimator::D Class Reference

-List of all members.


Detailed Description

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 D (float inputSampleRate)
 ~D ()
size_t getPreferredStepSize () const
size_t getPreferredBlockSize () const
ParameterList getParameterDescriptors () const
float getParameter (string id) const
void setParameter (string id, float value)
OutputList getOutputDescriptors () const
bool initialise (size_t channels, size_t stepSize, size_t blockSize)
void reset ()
FeatureSet process (const float *const *, RealTime)
FeatureSet getRemainingFeatures ()

Private Member Functions

void calculate ()
FeatureSet assembleFeatures ()
float lag2tempo (int)
int tempo2lag (float)

Private Attributes

float m_inputSampleRate
size_t m_stepSize
size_t m_blockSize
float m_minbpm
float m_maxbpm
float m_maxdflen
float * m_priorMagnitudes
size_t m_dfsize
float * m_df
float * m_r
float * m_fr
float * m_t
size_t m_n
Vamp::RealTime m_start
Vamp::RealTime m_lasttime
+

Detailed Description

Definition at line 49 of file FixedTempoEstimator.cpp.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 D (float inputSampleRate)
 ~D ()
size_t getPreferredStepSize () const
size_t getPreferredBlockSize () const
ParameterList getParameterDescriptors () const
float getParameter (string id) const
void setParameter (string id, float value)
OutputList getOutputDescriptors () const
bool initialise (size_t channels, size_t stepSize, size_t blockSize)
void reset ()
FeatureSet process (const float *const *, RealTime)
FeatureSet getRemainingFeatures ()

Private Member Functions

void calculate ()
FeatureSet assembleFeatures ()
float lag2tempo (int)
int tempo2lag (float)

Private Attributes

float m_inputSampleRate
size_t m_stepSize
size_t m_blockSize
float m_minbpm
float m_maxbpm
float m_maxdflen
float * m_priorMagnitudes
size_t m_dfsize
float * m_df
float * m_r
float * m_fr
float * m_t
size_t m_n
Vamp::RealTime m_start
Vamp::RealTime m_lasttime

Constructor & Destructor Documentation

- +
- + @@ -122,12 +122,12 @@

- +

FixedTempoEstimator::D::D FixedTempoEstimator::FixedTempoEstimator::D::D ( float  inputSampleRate
- + @@ -141,17 +141,17 @@

Definition at line 114 of file FixedTempoEstimator.cpp.

-

References m_df, m_fr, m_priorMagnitudes, m_r, and m_t.

+

References FixedTempoEstimator::FixedTempoEstimator::D::m_df, FixedTempoEstimator::FixedTempoEstimator::D::m_fr, FixedTempoEstimator::FixedTempoEstimator::D::m_priorMagnitudes, FixedTempoEstimator::FixedTempoEstimator::D::m_r, and FixedTempoEstimator::FixedTempoEstimator::D::m_t.


Member Function Documentation

- +
FixedTempoEstimator::D::~D FixedTempoEstimator::FixedTempoEstimator::D::~D (  ) 
- + @@ -169,12 +169,12 @@

- +

size_t FixedTempoEstimator::D::getPreferredStepSize size_t FixedTempoEstimator::FixedTempoEstimator::D::getPreferredStepSize (  ) 
- + @@ -188,16 +188,16 @@

Definition at line 57 of file FixedTempoEstimator.cpp.

-

Referenced by getOutputDescriptors(), and FixedTempoEstimator::getPreferredBlockSize().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and FixedTempoEstimator::getPreferredBlockSize().

- +

size_t FixedTempoEstimator::D::getPreferredBlockSize size_t FixedTempoEstimator::FixedTempoEstimator::D::getPreferredBlockSize (  ) 
- + @@ -211,18 +211,18 @@

Definition at line 124 of file FixedTempoEstimator.cpp.

-

References Vamp::PluginBase::ParameterDescriptor::defaultValue, Vamp::PluginBase::ParameterDescriptor::description, Vamp::PluginBase::ParameterDescriptor::identifier, Vamp::PluginBase::ParameterDescriptor::isQuantized, Vamp::PluginBase::ParameterDescriptor::maxValue, Vamp::PluginBase::ParameterDescriptor::minValue, Vamp::PluginBase::ParameterDescriptor::name, and Vamp::PluginBase::ParameterDescriptor::unit.

+

References Vamp::PluginBase::PluginBase::ParameterDescriptor::defaultValue, Vamp::PluginBase::PluginBase::ParameterDescriptor::description, Vamp::PluginBase::PluginBase::ParameterDescriptor::identifier, Vamp::PluginBase::PluginBase::ParameterDescriptor::isQuantized, Vamp::PluginBase::PluginBase::ParameterDescriptor::maxValue, Vamp::PluginBase::PluginBase::ParameterDescriptor::minValue, Vamp::PluginBase::PluginBase::ParameterDescriptor::name, and Vamp::PluginBase::PluginBase::ParameterDescriptor::unit.

Referenced by FixedTempoEstimator::getParameterDescriptors().

- +

FixedTempoEstimator::ParameterList FixedTempoEstimator::D::getParameterDescriptors FixedTempoEstimator::ParameterList FixedTempoEstimator::FixedTempoEstimator::D::getParameterDescriptors (  ) 
- + @@ -237,18 +237,18 @@

Definition at line 158 of file FixedTempoEstimator.cpp.

-

References m_maxbpm, m_maxdflen, and m_minbpm.

+

References FixedTempoEstimator::FixedTempoEstimator::D::m_maxbpm, FixedTempoEstimator::FixedTempoEstimator::D::m_maxdflen, and FixedTempoEstimator::FixedTempoEstimator::D::m_minbpm.

Referenced by FixedTempoEstimator::getParameter().

- +

float FixedTempoEstimator::D::getParameter float FixedTempoEstimator::FixedTempoEstimator::D::getParameter ( string  id
- + @@ -272,18 +272,18 @@

Definition at line 171 of file FixedTempoEstimator.cpp.

-

References m_maxbpm, m_maxdflen, and m_minbpm.

+

References FixedTempoEstimator::FixedTempoEstimator::D::m_maxbpm, FixedTempoEstimator::FixedTempoEstimator::D::m_maxdflen, and FixedTempoEstimator::FixedTempoEstimator::D::m_minbpm.

Referenced by FixedTempoEstimator::setParameter().

- +

void FixedTempoEstimator::D::setParameter void FixedTempoEstimator::FixedTempoEstimator::D::setParameter ( string  id,
- + @@ -297,18 +297,18 @@

Definition at line 189 of file FixedTempoEstimator.cpp.

-

References Vamp::Plugin::OutputDescriptor::binCount, Vamp::Plugin::OutputDescriptor::description, Vamp::Plugin::OutputDescriptor::FixedSampleRate, getPreferredBlockSize(), Vamp::Plugin::OutputDescriptor::hasDuration, Vamp::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::OutputDescriptor::identifier, Vamp::Plugin::OutputDescriptor::isQuantized, m_inputSampleRate, m_stepSize, Vamp::Plugin::OutputDescriptor::maxValue, Vamp::Plugin::OutputDescriptor::minValue, Vamp::Plugin::OutputDescriptor::name, Vamp::Plugin::OutputDescriptor::quantizeStep, Vamp::Plugin::OutputDescriptor::sampleRate, Vamp::Plugin::OutputDescriptor::sampleType, Vamp::Plugin::OutputDescriptor::unit, and Vamp::Plugin::OutputDescriptor::VariableSampleRate.

+

References Vamp::Plugin::Plugin::OutputDescriptor::binCount, Vamp::Plugin::Plugin::OutputDescriptor::description, Vamp::Plugin::Plugin::OutputDescriptor::FixedSampleRate, FixedTempoEstimator::FixedTempoEstimator::D::getPreferredBlockSize(), Vamp::Plugin::Plugin::OutputDescriptor::hasDuration, Vamp::Plugin::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::Plugin::OutputDescriptor::identifier, Vamp::Plugin::Plugin::OutputDescriptor::isQuantized, FixedTempoEstimator::FixedTempoEstimator::D::m_inputSampleRate, FixedTempoEstimator::FixedTempoEstimator::D::m_stepSize, Vamp::Plugin::Plugin::OutputDescriptor::maxValue, Vamp::Plugin::Plugin::OutputDescriptor::minValue, Vamp::Plugin::Plugin::OutputDescriptor::name, Vamp::Plugin::Plugin::OutputDescriptor::quantizeStep, Vamp::Plugin::Plugin::OutputDescriptor::sampleRate, Vamp::Plugin::Plugin::OutputDescriptor::sampleType, Vamp::Plugin::Plugin::OutputDescriptor::unit, and Vamp::Plugin::Plugin::OutputDescriptor::VariableSampleRate.

Referenced by FixedTempoEstimator::getOutputDescriptors().

- +

FixedTempoEstimator::OutputList FixedTempoEstimator::D::getOutputDescriptors FixedTempoEstimator::OutputList FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors (  ) 
- + @@ -338,18 +338,18 @@

Definition at line 251 of file FixedTempoEstimator.cpp.

-

References m_blockSize, m_df, m_dfsize, m_inputSampleRate, m_maxdflen, m_n, m_priorMagnitudes, and m_stepSize.

+

References FixedTempoEstimator::FixedTempoEstimator::D::m_blockSize, FixedTempoEstimator::FixedTempoEstimator::D::m_df, FixedTempoEstimator::FixedTempoEstimator::D::m_dfsize, FixedTempoEstimator::FixedTempoEstimator::D::m_inputSampleRate, FixedTempoEstimator::FixedTempoEstimator::D::m_maxdflen, FixedTempoEstimator::FixedTempoEstimator::D::m_n, FixedTempoEstimator::FixedTempoEstimator::D::m_priorMagnitudes, and FixedTempoEstimator::FixedTempoEstimator::D::m_stepSize.

Referenced by FixedTempoEstimator::initialise().

- +

bool FixedTempoEstimator::D::initialise bool FixedTempoEstimator::FixedTempoEstimator::D::initialise ( size_t  channels,
- + @@ -363,18 +363,18 @@

Definition at line 275 of file FixedTempoEstimator.cpp.

-

References m_blockSize, m_df, m_dfsize, m_fr, m_lasttime, m_n, m_priorMagnitudes, m_r, m_start, and m_t.

+

References FixedTempoEstimator::FixedTempoEstimator::D::m_blockSize, FixedTempoEstimator::FixedTempoEstimator::D::m_df, FixedTempoEstimator::FixedTempoEstimator::D::m_dfsize, FixedTempoEstimator::FixedTempoEstimator::D::m_fr, FixedTempoEstimator::FixedTempoEstimator::D::m_lasttime, FixedTempoEstimator::FixedTempoEstimator::D::m_n, FixedTempoEstimator::FixedTempoEstimator::D::m_priorMagnitudes, FixedTempoEstimator::FixedTempoEstimator::D::m_r, FixedTempoEstimator::FixedTempoEstimator::D::m_start, and FixedTempoEstimator::FixedTempoEstimator::D::m_t.

Referenced by FixedTempoEstimator::reset().

- +

void FixedTempoEstimator::D::reset void FixedTempoEstimator::FixedTempoEstimator::D::reset (  ) 
- + @@ -398,18 +398,18 @@

Definition at line 302 of file FixedTempoEstimator.cpp.

-

References assembleFeatures(), calculate(), m_blockSize, m_df, m_dfsize, m_lasttime, m_n, m_priorMagnitudes, m_start, and m_stepSize.

+

References FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::m_blockSize, FixedTempoEstimator::FixedTempoEstimator::D::m_df, FixedTempoEstimator::FixedTempoEstimator::D::m_dfsize, FixedTempoEstimator::FixedTempoEstimator::D::m_lasttime, FixedTempoEstimator::FixedTempoEstimator::D::m_n, FixedTempoEstimator::FixedTempoEstimator::D::m_priorMagnitudes, FixedTempoEstimator::FixedTempoEstimator::D::m_start, and FixedTempoEstimator::FixedTempoEstimator::D::m_stepSize.

Referenced by FixedTempoEstimator::process().

- +

FixedTempoEstimator::FeatureSet FixedTempoEstimator::D::process FixedTempoEstimator::FeatureSet FixedTempoEstimator::FixedTempoEstimator::D::process ( const float *const *  inputBuffers,
- + @@ -423,18 +423,18 @@

Definition at line 351 of file FixedTempoEstimator.cpp.

-

References assembleFeatures(), calculate(), m_dfsize, and m_n.

+

References FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::m_dfsize, and FixedTempoEstimator::FixedTempoEstimator::D::m_n.

Referenced by FixedTempoEstimator::getRemainingFeatures().

- +

FixedTempoEstimator::FeatureSet FixedTempoEstimator::D::getRemainingFeatures FixedTempoEstimator::FeatureSet FixedTempoEstimator::FixedTempoEstimator::D::getRemainingFeatures (  ) 
- + @@ -448,18 +448,18 @@

Definition at line 374 of file FixedTempoEstimator.cpp.

-

References lag2tempo(), m_df, m_dfsize, m_fr, m_inputSampleRate, m_n, m_r, m_stepSize, and m_t.

+

References FixedTempoEstimator::FixedTempoEstimator::D::lag2tempo(), FixedTempoEstimator::FixedTempoEstimator::D::m_df, FixedTempoEstimator::FixedTempoEstimator::D::m_dfsize, FixedTempoEstimator::FixedTempoEstimator::D::m_fr, FixedTempoEstimator::FixedTempoEstimator::D::m_inputSampleRate, FixedTempoEstimator::FixedTempoEstimator::D::m_n, FixedTempoEstimator::FixedTempoEstimator::D::m_r, FixedTempoEstimator::FixedTempoEstimator::D::m_stepSize, and FixedTempoEstimator::FixedTempoEstimator::D::m_t.

-

Referenced by getRemainingFeatures(), and process().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::getRemainingFeatures(), and FixedTempoEstimator::FixedTempoEstimator::D::process().

- +

void FixedTempoEstimator::D::calculate void FixedTempoEstimator::FixedTempoEstimator::D::calculate (  ) 
- + @@ -473,18 +473,18 @@

Definition at line 480 of file FixedTempoEstimator.cpp.

-

References ACFOutput, CandidatesOutput, DFOutput, Vamp::Plugin::Feature::duration, FilteredACFOutput, Vamp::Plugin::Feature::hasDuration, Vamp::Plugin::Feature::hasTimestamp, Vamp::Plugin::Feature::label, lag2tempo(), m_df, m_fr, m_inputSampleRate, m_lasttime, m_maxbpm, m_minbpm, m_n, m_r, m_start, m_stepSize, m_t, tempo2lag(), TempoOutput, Vamp::Plugin::Feature::timestamp, and Vamp::Plugin::Feature::values.

+

References ACFOutput, CandidatesOutput, DFOutput, Vamp::Plugin::Plugin::Feature::duration, FilteredACFOutput, Vamp::Plugin::Plugin::Feature::hasDuration, Vamp::Plugin::Plugin::Feature::hasTimestamp, Vamp::Plugin::Plugin::Feature::label, FixedTempoEstimator::FixedTempoEstimator::D::lag2tempo(), FixedTempoEstimator::FixedTempoEstimator::D::m_df, FixedTempoEstimator::FixedTempoEstimator::D::m_fr, FixedTempoEstimator::FixedTempoEstimator::D::m_inputSampleRate, FixedTempoEstimator::FixedTempoEstimator::D::m_lasttime, FixedTempoEstimator::FixedTempoEstimator::D::m_maxbpm, FixedTempoEstimator::FixedTempoEstimator::D::m_minbpm, FixedTempoEstimator::FixedTempoEstimator::D::m_n, FixedTempoEstimator::FixedTempoEstimator::D::m_r, FixedTempoEstimator::FixedTempoEstimator::D::m_start, FixedTempoEstimator::FixedTempoEstimator::D::m_stepSize, FixedTempoEstimator::FixedTempoEstimator::D::m_t, FixedTempoEstimator::FixedTempoEstimator::D::tempo2lag(), TempoOutput, Vamp::Plugin::Plugin::Feature::timestamp, and Vamp::Plugin::Plugin::Feature::values.

-

Referenced by getRemainingFeatures(), and process().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::getRemainingFeatures(), and FixedTempoEstimator::FixedTempoEstimator::D::process().

- +

FixedTempoEstimator::FeatureSet FixedTempoEstimator::D::assembleFeatures FixedTempoEstimator::FeatureSet FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures (  ) 
- + @@ -499,18 +499,18 @@

Definition at line 362 of file FixedTempoEstimator.cpp.

-

References m_inputSampleRate, and m_stepSize.

+

References FixedTempoEstimator::FixedTempoEstimator::D::m_inputSampleRate, and FixedTempoEstimator::FixedTempoEstimator::D::m_stepSize.

-

Referenced by assembleFeatures(), and calculate().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), and FixedTempoEstimator::FixedTempoEstimator::D::calculate().

- +

float FixedTempoEstimator::D::lag2tempo float FixedTempoEstimator::FixedTempoEstimator::D::lag2tempo ( int  lag
- + @@ -525,19 +525,19 @@

Definition at line 368 of file FixedTempoEstimator.cpp.

-

References m_inputSampleRate, and m_stepSize.

+

References FixedTempoEstimator::FixedTempoEstimator::D::m_inputSampleRate, and FixedTempoEstimator::FixedTempoEstimator::D::m_stepSize.

-

Referenced by assembleFeatures().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures().


Member Data Documentation

- +
int FixedTempoEstimator::D::tempo2lag int FixedTempoEstimator::FixedTempoEstimator::D::tempo2lag ( float  tempo
- +
float FixedTempoEstimator::D::m_inputSampleRate [private] float FixedTempoEstimator::FixedTempoEstimator::D::m_inputSampleRate [private]
@@ -547,16 +547,16 @@

Definition at line 77 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), calculate(), getOutputDescriptors(), initialise(), lag2tempo(), and tempo2lag().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::initialise(), FixedTempoEstimator::FixedTempoEstimator::D::lag2tempo(), and FixedTempoEstimator::FixedTempoEstimator::D::tempo2lag().

- +

- +
size_t FixedTempoEstimator::D::m_stepSize [private] size_t FixedTempoEstimator::FixedTempoEstimator::D::m_stepSize [private]
@@ -566,16 +566,16 @@

Definition at line 78 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), calculate(), getOutputDescriptors(), initialise(), lag2tempo(), process(), and tempo2lag().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::initialise(), FixedTempoEstimator::FixedTempoEstimator::D::lag2tempo(), FixedTempoEstimator::FixedTempoEstimator::D::process(), and FixedTempoEstimator::FixedTempoEstimator::D::tempo2lag().

- +

- +
size_t FixedTempoEstimator::D::m_blockSize [private] size_t FixedTempoEstimator::FixedTempoEstimator::D::m_blockSize [private]
@@ -585,16 +585,16 @@

Definition at line 79 of file FixedTempoEstimator.cpp.

-

Referenced by initialise(), process(), and reset().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::initialise(), FixedTempoEstimator::FixedTempoEstimator::D::process(), and FixedTempoEstimator::FixedTempoEstimator::D::reset().

- +

- +
float FixedTempoEstimator::D::m_minbpm [private] float FixedTempoEstimator::FixedTempoEstimator::D::m_minbpm [private]
@@ -604,16 +604,16 @@

Definition at line 81 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), getParameter(), and setParameter().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::getParameter(), and FixedTempoEstimator::FixedTempoEstimator::D::setParameter().

- +

- +
float FixedTempoEstimator::D::m_maxbpm [private] float FixedTempoEstimator::FixedTempoEstimator::D::m_maxbpm [private]
@@ -623,16 +623,16 @@

Definition at line 82 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), getParameter(), and setParameter().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::getParameter(), and FixedTempoEstimator::FixedTempoEstimator::D::setParameter().

- +

- +
float FixedTempoEstimator::D::m_maxdflen [private] float FixedTempoEstimator::FixedTempoEstimator::D::m_maxdflen [private]
@@ -642,16 +642,16 @@

Definition at line 83 of file FixedTempoEstimator.cpp.

-

Referenced by getParameter(), initialise(), and setParameter().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::getParameter(), FixedTempoEstimator::FixedTempoEstimator::D::initialise(), and FixedTempoEstimator::FixedTempoEstimator::D::setParameter().

- +

- +
float* FixedTempoEstimator::D::m_priorMagnitudes [private] float* FixedTempoEstimator::FixedTempoEstimator::D::m_priorMagnitudes [private]
@@ -661,16 +661,16 @@

Definition at line 85 of file FixedTempoEstimator.cpp.

-

Referenced by initialise(), process(), reset(), and ~D().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::initialise(), FixedTempoEstimator::FixedTempoEstimator::D::process(), FixedTempoEstimator::FixedTempoEstimator::D::reset(), and FixedTempoEstimator::FixedTempoEstimator::D::~D().

- +

- +
size_t FixedTempoEstimator::D::m_dfsize [private] size_t FixedTempoEstimator::FixedTempoEstimator::D::m_dfsize [private]
@@ -680,16 +680,16 @@

Definition at line 87 of file FixedTempoEstimator.cpp.

-

Referenced by calculate(), getRemainingFeatures(), initialise(), process(), and reset().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::getRemainingFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::initialise(), FixedTempoEstimator::FixedTempoEstimator::D::process(), and FixedTempoEstimator::FixedTempoEstimator::D::reset().

- +

- +
float* FixedTempoEstimator::D::m_df [private] float* FixedTempoEstimator::FixedTempoEstimator::D::m_df [private]
@@ -699,16 +699,16 @@

Definition at line 88 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), calculate(), initialise(), process(), reset(), and ~D().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::initialise(), FixedTempoEstimator::FixedTempoEstimator::D::process(), FixedTempoEstimator::FixedTempoEstimator::D::reset(), and FixedTempoEstimator::FixedTempoEstimator::D::~D().

- +

- +
float* FixedTempoEstimator::D::m_r [private] float* FixedTempoEstimator::FixedTempoEstimator::D::m_r [private]
@@ -718,16 +718,16 @@

Definition at line 89 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), calculate(), reset(), and ~D().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::reset(), and FixedTempoEstimator::FixedTempoEstimator::D::~D().

- +

- +
float* FixedTempoEstimator::D::m_fr [private] float* FixedTempoEstimator::FixedTempoEstimator::D::m_fr [private]
@@ -737,16 +737,16 @@

Definition at line 90 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), calculate(), reset(), and ~D().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::reset(), and FixedTempoEstimator::FixedTempoEstimator::D::~D().

- +

- +
float* FixedTempoEstimator::D::m_t [private] float* FixedTempoEstimator::FixedTempoEstimator::D::m_t [private]
@@ -756,16 +756,16 @@

Definition at line 91 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), calculate(), reset(), and ~D().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::reset(), and FixedTempoEstimator::FixedTempoEstimator::D::~D().

- +

- +
size_t FixedTempoEstimator::D::m_n [private] size_t FixedTempoEstimator::FixedTempoEstimator::D::m_n [private]
@@ -775,16 +775,16 @@

Definition at line 92 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), calculate(), getRemainingFeatures(), initialise(), process(), and reset().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::calculate(), FixedTempoEstimator::FixedTempoEstimator::D::getRemainingFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::initialise(), FixedTempoEstimator::FixedTempoEstimator::D::process(), and FixedTempoEstimator::FixedTempoEstimator::D::reset().

- +

- +
Vamp::RealTime FixedTempoEstimator::D::m_start [private] Vamp::RealTime FixedTempoEstimator::FixedTempoEstimator::D::m_start [private]
@@ -794,16 +794,16 @@

Definition at line 94 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), process(), and reset().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::process(), and FixedTempoEstimator::FixedTempoEstimator::D::reset().

- +

- +
Vamp::RealTime FixedTempoEstimator::D::m_lasttime [private] Vamp::RealTime FixedTempoEstimator::FixedTempoEstimator::D::m_lasttime [private]
@@ -813,15 +813,15 @@

Definition at line 95 of file FixedTempoEstimator.cpp.

-

Referenced by assembleFeatures(), process(), and reset().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), FixedTempoEstimator::FixedTempoEstimator::D::process(), and FixedTempoEstimator::FixedTempoEstimator::D::reset().


The documentation for this class was generated from the following file: -
Generated on Mon Dec 8 14:37:19 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classFixedTempoEstimator__inherit__graph.map --- a/code-doc/classFixedTempoEstimator__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classFixedTempoEstimator__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,2 +1,2 @@ - - + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classFixedTempoEstimator__inherit__graph.md5 --- a/code-doc/classFixedTempoEstimator__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classFixedTempoEstimator__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -521938a88f49ac027eca4d6cf9d9b54b \ No newline at end of file +1d36adeb8d0567742a38a2cf7d68b259 \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classFixedTempoEstimator__inherit__graph.png Binary file code-doc/classFixedTempoEstimator__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classPercussionOnsetDetector-members.html --- a/code-doc/classPercussionOnsetDetector-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classPercussionOnsetDetector-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +

@@ -201,7 +199,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -352,7 +350,7 @@

Definition at line 113 of file PercussionOnsetDetector.cpp.

-

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), m_blockSize, m_dfMinus1, m_dfMinus2, m_priorMagnitudes, and m_stepSize.

+

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), m_blockSize, m_dfMinus1, m_dfMinus2, m_priorMagnitudes, and m_stepSize.

@@ -401,7 +399,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Definition at line 55 of file PercussionOnsetDetector.h.

@@ -639,7 +638,7 @@

Definition at line 145 of file PercussionOnsetDetector.cpp.

-

References Vamp::PluginBase::ParameterDescriptor::defaultValue, Vamp::PluginBase::ParameterDescriptor::description, Vamp::PluginBase::ParameterDescriptor::identifier, Vamp::PluginBase::ParameterDescriptor::isQuantized, Vamp::PluginBase::ParameterDescriptor::maxValue, Vamp::PluginBase::ParameterDescriptor::minValue, Vamp::PluginBase::ParameterDescriptor::name, and Vamp::PluginBase::ParameterDescriptor::unit.

+

References Vamp::PluginBase::PluginBase::ParameterDescriptor::defaultValue, Vamp::PluginBase::PluginBase::ParameterDescriptor::description, Vamp::PluginBase::PluginBase::ParameterDescriptor::identifier, Vamp::PluginBase::PluginBase::ParameterDescriptor::isQuantized, Vamp::PluginBase::PluginBase::ParameterDescriptor::maxValue, Vamp::PluginBase::PluginBase::ParameterDescriptor::minValue, Vamp::PluginBase::PluginBase::ParameterDescriptor::name, and Vamp::PluginBase::PluginBase::ParameterDescriptor::unit.

@@ -731,7 +730,7 @@

Definition at line 196 of file PercussionOnsetDetector.cpp.

-

References Vamp::Plugin::OutputDescriptor::binCount, Vamp::Plugin::OutputDescriptor::description, Vamp::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::OutputDescriptor::identifier, Vamp::Plugin::OutputDescriptor::isQuantized, Vamp::Plugin::m_inputSampleRate, Vamp::Plugin::OutputDescriptor::name, Vamp::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::OutputDescriptor::quantizeStep, Vamp::Plugin::OutputDescriptor::sampleRate, Vamp::Plugin::OutputDescriptor::sampleType, Vamp::Plugin::OutputDescriptor::unit, and Vamp::Plugin::OutputDescriptor::VariableSampleRate.

+

References Vamp::Plugin::Plugin::OutputDescriptor::binCount, Vamp::Plugin::Plugin::OutputDescriptor::description, Vamp::Plugin::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::Plugin::OutputDescriptor::identifier, Vamp::Plugin::Plugin::OutputDescriptor::isQuantized, Vamp::Plugin::m_inputSampleRate, Vamp::Plugin::Plugin::OutputDescriptor::name, Vamp::Plugin::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::Plugin::OutputDescriptor::quantizeStep, Vamp::Plugin::Plugin::OutputDescriptor::sampleRate, Vamp::Plugin::Plugin::OutputDescriptor::sampleType, Vamp::Plugin::Plugin::OutputDescriptor::unit, and Vamp::Plugin::Plugin::OutputDescriptor::VariableSampleRate.

@@ -770,7 +769,7 @@

Definition at line 226 of file PercussionOnsetDetector.cpp.

-

References Vamp::RealTime::frame2RealTime(), Vamp::Plugin::Feature::hasTimestamp, m_blockSize, m_dfMinus1, m_dfMinus2, Vamp::Plugin::m_inputSampleRate, m_priorMagnitudes, m_sensitivity, m_stepSize, m_threshold, Vamp::Plugin::Feature::timestamp, and Vamp::Plugin::Feature::values.

+

References Vamp::RealTime::frame2RealTime(), Vamp::Plugin::Plugin::Feature::hasTimestamp, m_blockSize, m_dfMinus1, m_dfMinus2, Vamp::Plugin::m_inputSampleRate, m_priorMagnitudes, m_sensitivity, m_stepSize, m_threshold, Vamp::Plugin::Plugin::Feature::timestamp, and Vamp::Plugin::Plugin::Feature::values.

@@ -820,9 +819,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 194 of file vamp-sdk/Plugin.h.

+

Definition at line 199 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -847,9 +846,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 199 of file vamp-sdk/Plugin.h.

+

Definition at line 204 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -874,7 +873,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -1129,17 +1128,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and process().


The documentation for this class was generated from the following files: -
Generated on Mon Dec 8 14:37:19 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classPercussionOnsetDetector__inherit__graph.map --- a/code-doc/classPercussionOnsetDetector__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classPercussionOnsetDetector__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,2 +1,2 @@ - - + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classPercussionOnsetDetector__inherit__graph.md5 --- a/code-doc/classPercussionOnsetDetector__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classPercussionOnsetDetector__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -bc2e650ddd8fa8e4ffb683bae1d72050 \ No newline at end of file +21640a585d44703688f08ac14da43465 \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classPercussionOnsetDetector__inherit__graph.png Binary file code-doc/classPercussionOnsetDetector__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classPowerSpectrum-members.html --- a/code-doc/classPowerSpectrum-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classPowerSpectrum-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +

@@ -191,7 +189,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -340,7 +338,7 @@

Definition at line 92 of file PowerSpectrum.cpp.

-

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), and m_blockSize.

+

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), and m_blockSize.

@@ -387,7 +385,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Definition at line 59 of file PowerSpectrum.h.

@@ -573,7 +572,7 @@

Definition at line 108 of file PowerSpectrum.cpp.

-

References Vamp::Plugin::OutputDescriptor::binCount, Vamp::Plugin::OutputDescriptor::description, Vamp::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::OutputDescriptor::identifier, Vamp::Plugin::OutputDescriptor::isQuantized, m_blockSize, Vamp::Plugin::OutputDescriptor::name, Vamp::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::OutputDescriptor::sampleType, and Vamp::Plugin::OutputDescriptor::unit.

+

References Vamp::Plugin::Plugin::OutputDescriptor::binCount, Vamp::Plugin::Plugin::OutputDescriptor::description, Vamp::Plugin::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::Plugin::OutputDescriptor::identifier, Vamp::Plugin::Plugin::OutputDescriptor::isQuantized, m_blockSize, Vamp::Plugin::Plugin::OutputDescriptor::name, Vamp::Plugin::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::Plugin::OutputDescriptor::sampleType, and Vamp::Plugin::Plugin::OutputDescriptor::unit.

@@ -612,7 +611,7 @@

Definition at line 136 of file PowerSpectrum.cpp.

-

References Vamp::Plugin::Feature::hasTimestamp, m_blockSize, and Vamp::Plugin::Feature::values.

+

References Vamp::Plugin::Plugin::Feature::hasTimestamp, m_blockSize, and Vamp::Plugin::Plugin::Feature::values.

@@ -663,7 +662,7 @@ A plugin that can handle any block size may return 0. The final block size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 174 of file vamp-sdk/Plugin.h.

+

Definition at line 179 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -691,7 +690,7 @@ A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 189 of file vamp-sdk/Plugin.h.

+

Definition at line 194 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -718,9 +717,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 194 of file vamp-sdk/Plugin.h.

+

Definition at line 199 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -745,9 +744,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 199 of file vamp-sdk/Plugin.h.

+

Definition at line 204 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -772,7 +771,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -1001,17 +1000,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following files: -
Generated on Mon Dec 8 14:37:19 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classPowerSpectrum__inherit__graph.map --- a/code-doc/classPowerSpectrum__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classPowerSpectrum__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,2 +1,2 @@ - - + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classPowerSpectrum__inherit__graph.md5 --- a/code-doc/classPowerSpectrum__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classPowerSpectrum__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -7b6c37765986280671c8a1abfe3bbbf1 \ No newline at end of file +9e7b781fbc92658366d5a5e8b43ba66e \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classPowerSpectrum__inherit__graph.png Binary file code-doc/classPowerSpectrum__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classSpectralCentroid-members.html --- a/code-doc/classSpectralCentroid-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classSpectralCentroid-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +

@@ -191,7 +189,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -274,7 +272,7 @@

-

Definition at line 51 of file SpectralCentroid.cpp.

+

Definition at line 56 of file SpectralCentroid.cpp.

@@ -295,7 +293,7 @@

-

Definition at line 58 of file SpectralCentroid.cpp.

+

Definition at line 63 of file SpectralCentroid.cpp.

@@ -338,9 +336,9 @@ Return true for successful initialisation, false if the number of input channels, step size and/or block size cannot be supported.

Implements Vamp::Plugin.

-

Definition at line 99 of file SpectralCentroid.cpp.

+

Definition at line 104 of file SpectralCentroid.cpp.

-

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), m_blockSize, and m_stepSize.

+

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), m_blockSize, and m_stepSize.

@@ -365,7 +363,7 @@ Not called for the first initialisation (i.e. initialise must also do a reset).

Implements Vamp::Plugin.

-

Definition at line 111 of file SpectralCentroid.cpp.

+

Definition at line 116 of file SpectralCentroid.cpp.

@@ -387,7 +385,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Definition at line 56 of file SpectralCentroid.h.

@@ -419,7 +418,7 @@ Example: "zero_crossings"

Implements Vamp::PluginBase.

-

Definition at line 63 of file SpectralCentroid.cpp.

+

Definition at line 68 of file SpectralCentroid.cpp.

@@ -445,7 +444,7 @@ Example: "Zero Crossings"

Implements Vamp::PluginBase.

-

Definition at line 69 of file SpectralCentroid.cpp.

+

Definition at line 74 of file SpectralCentroid.cpp.

@@ -471,7 +470,7 @@ Example: "Detect and count zero crossing points"

Implements Vamp::PluginBase.

-

Definition at line 75 of file SpectralCentroid.cpp.

+

Definition at line 80 of file SpectralCentroid.cpp.

@@ -496,7 +495,7 @@ This should be a short identifying text, as it may be used to label plugins from the same source in a menu or similar.

Implements Vamp::PluginBase.

-

Definition at line 81 of file SpectralCentroid.cpp.

+

Definition at line 86 of file SpectralCentroid.cpp.

@@ -521,7 +520,7 @@

Implements Vamp::PluginBase.

-

Definition at line 87 of file SpectralCentroid.cpp.

+

Definition at line 92 of file SpectralCentroid.cpp.

@@ -546,7 +545,7 @@ This can be an informative text, without the same presentation constraints as mentioned for getMaker above.

Implements Vamp::PluginBase.

-

Definition at line 93 of file SpectralCentroid.cpp.

+

Definition at line 98 of file SpectralCentroid.cpp.

@@ -571,9 +570,9 @@ An output's index in this list is used as its numeric index when looking it up in the FeatureSet returned from the process() call.

Implements Vamp::Plugin.

-

Definition at line 116 of file SpectralCentroid.cpp.

+

Definition at line 121 of file SpectralCentroid.cpp.

-

References Vamp::Plugin::OutputDescriptor::binCount, Vamp::Plugin::OutputDescriptor::description, Vamp::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::OutputDescriptor::identifier, Vamp::Plugin::OutputDescriptor::isQuantized, Vamp::Plugin::OutputDescriptor::name, Vamp::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::OutputDescriptor::sampleType, and Vamp::Plugin::OutputDescriptor::unit.

+

References Vamp::Plugin::Plugin::OutputDescriptor::binCount, Vamp::Plugin::Plugin::OutputDescriptor::description, Vamp::Plugin::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::Plugin::OutputDescriptor::identifier, Vamp::Plugin::Plugin::OutputDescriptor::isQuantized, Vamp::Plugin::Plugin::OutputDescriptor::name, Vamp::Plugin::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::Plugin::OutputDescriptor::sampleType, and Vamp::Plugin::Plugin::OutputDescriptor::unit.

@@ -610,9 +609,9 @@ Return any features that have become available after this process call. (These do not necessarily have to fall within the process block, except for OneSamplePerStep outputs.)

Implements Vamp::Plugin.

-

Definition at line 141 of file SpectralCentroid.cpp.

+

Definition at line 146 of file SpectralCentroid.cpp.

-

References Vamp::Plugin::Feature::hasTimestamp, m_blockSize, Vamp::Plugin::m_inputSampleRate, m_stepSize, and Vamp::Plugin::Feature::values.

+

References Vamp::Plugin::Plugin::Feature::hasTimestamp, m_blockSize, Vamp::Plugin::m_inputSampleRate, m_stepSize, and Vamp::Plugin::Plugin::Feature::values.

@@ -637,7 +636,7 @@

Implements Vamp::Plugin.

-

Definition at line 187 of file SpectralCentroid.cpp.

+

Definition at line 192 of file SpectralCentroid.cpp.

@@ -663,7 +662,7 @@ A plugin that can handle any block size may return 0. The final block size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 174 of file vamp-sdk/Plugin.h.

+

Definition at line 179 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -691,7 +690,7 @@ A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 189 of file vamp-sdk/Plugin.h.

+

Definition at line 194 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -718,9 +717,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 194 of file vamp-sdk/Plugin.h.

+

Definition at line 199 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -745,9 +744,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 199 of file vamp-sdk/Plugin.h.

+

Definition at line 204 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -772,7 +771,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -984,7 +983,7 @@

Definition at line 73 of file SpectralCentroid.h.

-

Referenced by initialise(), and process().

+

Referenced by initialise(), and process().

@@ -1003,7 +1002,7 @@

Definition at line 74 of file SpectralCentroid.h.

-

Referenced by initialise(), and process().

+

Referenced by initialise(), and process().

@@ -1020,17 +1019,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following files: -
Generated on Mon Dec 8 14:37:19 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classSpectralCentroid__inherit__graph.map --- a/code-doc/classSpectralCentroid__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classSpectralCentroid__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,2 +1,2 @@ - - + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classSpectralCentroid__inherit__graph.md5 --- a/code-doc/classSpectralCentroid__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classSpectralCentroid__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -68c9d8ef4f76ab5ad5336f3b58b36eda \ No newline at end of file +3480ffc7c2a3e5e53301b2b102cb0940 \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classSpectralCentroid__inherit__graph.png Binary file code-doc/classSpectralCentroid__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter-members.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +

@@ -217,7 +215,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -707,7 +705,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Reimplemented in Vamp::HostExt::PluginInputDomainAdapter.

@@ -1023,7 +1022,7 @@
-template<typename WrapperType>
+template<typename WrapperType >
@@ -1069,7 +1068,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -1121,17 +1120,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following file: -
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter__inherit__graph.map --- a/code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,3 +1,3 @@ - - - + + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter__inherit__graph.md5 --- a/code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -ca33908e9fe9c052657d3d95bce0bb16 \ No newline at end of file +809cc0f2a58213e1c94f511e81c7d415 \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter__inherit__graph.png Binary file code-doc/classVamp_1_1HostExt_1_1PluginBufferingAdapter__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter-members.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +
WrapperType* Vamp::HostExt::PluginWrapper::getWrapper
~PluginChannelAdapter()Vamp::HostExt::PluginChannelAdapter [virtual]
~PluginWrapper()Vamp::HostExt::PluginWrapper [virtual]
-
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Vamp::HostExt::PluginChannelAdapter Class Reference + - - +
-

Vamp::HostExt::PluginChannelAdapter Class Reference

#include <vamp-hostsdk/PluginChannelAdapter.h> +

Vamp::HostExt::PluginChannelAdapter Class Reference

PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that expect a different number of input channels from the number actually available in the source audio data. +More... +

+#include <vamp-hostsdk/PluginChannelAdapter.h>

Inheritance diagram for Vamp::HostExt::PluginChannelAdapter:

Inheritance graph
- +
[legend]

-List of all members.


Detailed Description

-PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that expect a different number of input channels from the number actually available in the source audio data. -

-A host using PluginChannelAdapter may ignore the getMinChannelCount and getMaxChannelCount reported by the plugin, and still expect the plugin to run.

-PluginChannelAdapter implements the following policy:

-

-

-

-

-

-

-If none of the above apply:

-

-

-

-

-Hosts requiring a different channel policy from the above will need to implement it themselves, instead of using PluginChannelAdapter.

-Note that PluginChannelAdapter does not override the minimum and maximum channel counts returned by the wrapped plugin. The host will need to be aware that it is using a PluginChannelAdapter, and be prepared to ignore these counts as necessary. (This contrasts with the approach used in PluginInputDomainAdapter, which aims to make the host completely unaware of which underlying input domain is in fact in use.)

-(The rationale for this is that a host may wish to use the PluginChannelAdapter but still discriminate in some way on the basis of the number of channels actually supported. For example, a simple stereo audio host may prefer to reject plugins that require more than two channels on the grounds that doesn't actually understand what they are for, rather than allow the channel adapter to make a potentially meaningless channel conversion for them.)

-In every respect other than its management of channels, the PluginChannelAdapter behaves identically to the plugin that it wraps. The wrapped plugin will be deleted when the wrapper is deleted.

-

Note:
This class was introduced in version 1.1 of the Vamp plugin SDK.
- -

Definition at line 112 of file PluginChannelAdapter.h.

- +List of all members.
- - - - - - @@ -163,7 +133,7 @@ - + @@ -178,6 +148,34 @@

Public Types

enum  InputDomain { TimeDomain, FrequencyDomain }
typedef std::vector
+
typedef std::vector
< OutputDescriptor
OutputList
typedef std::vector< FeatureFeatureList
typedef std::map< int,
+
typedef std::map< int,
FeatureList
FeatureSet
typedef std::vector
-< ParameterDescriptor
ParameterList
typedef std::vector< std::string > ProgramList

Public Member Functions

 PluginChannelAdapter (Plugin *plugin)
FeatureSet getRemainingFeatures ()
 After all blocks have been processed, calculate and return any remaining features derived from the complete input.
template<typename WrapperType>
template<typename WrapperType >
WrapperType * getWrapper ()
 Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper's plugin, if present.
float m_inputSampleRate
+

Detailed Description

+PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that expect a different number of input channels from the number actually available in the source audio data. +

+A host using PluginChannelAdapter may ignore the getMinChannelCount and getMaxChannelCount reported by the plugin, and still expect the plugin to run.

+PluginChannelAdapter implements the following policy:

+

+

+

+

+

+

+If none of the above apply:

+

+

+

+

+Hosts requiring a different channel policy from the above will need to implement it themselves, instead of using PluginChannelAdapter.

+Note that PluginChannelAdapter does not override the minimum and maximum channel counts returned by the wrapped plugin. The host will need to be aware that it is using a PluginChannelAdapter, and be prepared to ignore these counts as necessary. (This contrasts with the approach used in PluginInputDomainAdapter, which aims to make the host completely unaware of which underlying input domain is in fact in use.)

+(The rationale for this is that a host may wish to use the PluginChannelAdapter but still discriminate in some way on the basis of the number of channels actually supported. For example, a simple stereo audio host may prefer to reject plugins that require more than two channels on the grounds that doesn't actually understand what they are for, rather than allow the channel adapter to make a potentially meaningless channel conversion for them.)

+In every respect other than its management of channels, the PluginChannelAdapter behaves identically to the plugin that it wraps. The wrapped plugin will be deleted when the wrapper is deleted.

+

Note:
This class was introduced in version 1.1 of the Vamp plugin SDK.
+ +

Definition at line 112 of file PluginChannelAdapter.h.


Member Typedef Documentation

@@ -192,7 +190,7 @@

-

Definition at line 322 of file vamp-sdk/Plugin.h.

+

Definition at line 327 of file vamp-sdk/Plugin.h.

@@ -209,7 +207,7 @@

-

Definition at line 380 of file vamp-sdk/Plugin.h.

+

Definition at line 385 of file vamp-sdk/Plugin.h.

@@ -226,7 +224,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -462,7 +460,7 @@ Not called for the first initialisation (i.e. initialise must also do a reset).

Implements Vamp::Plugin.

-

Reimplemented in Vamp::HostExt::PluginBufferingAdapter.

+

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::HostExt::PluginInputDomainAdapter, and Vamp::HostExt::PluginSummarisingAdapter.

@@ -484,7 +482,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Reimplemented in Vamp::HostExt::PluginInputDomainAdapter.

@@ -963,7 +962,7 @@
-template<typename WrapperType>
+template<typename WrapperType >
@@ -1009,7 +1008,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -1061,17 +1060,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following file: -
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.map --- a/code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,3 +1,3 @@ - - - + + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.md5 --- a/code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -0ec7df91548d8ac8ca49b5642bcc1138 \ No newline at end of file +b1359926fe9670dc7c932786f16e9ca9 \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.png Binary file code-doc/classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter-members.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - + + @@ -54,24 +55,29 @@ + + - + + + +
WrapperType* Vamp::HostExt::PluginWrapper::getWrapper
getPluginVersion() const Vamp::HostExt::PluginWrapper [virtual]
getPreferredBlockSize() const Vamp::HostExt::PluginInputDomainAdapter [virtual]
getPreferredStepSize() const Vamp::HostExt::PluginInputDomainAdapter [virtual]
getProcessTimestampMethod() const Vamp::HostExt::PluginInputDomainAdapter
getPrograms() const Vamp::HostExt::PluginWrapper [virtual]
getRemainingFeatures()Vamp::HostExt::PluginWrapper [virtual]
getTimestampAdjustment() const Vamp::HostExt::PluginInputDomainAdapter
m_implVamp::HostExt::PluginInputDomainAdapter [protected]
m_inputSampleRateVamp::Plugin [protected]
m_pluginVamp::HostExt::PluginWrapper [protected]
NoShift enum valueVamp::HostExt::PluginInputDomainAdapter
OutputList typedefVamp::Plugin
ParameterList typedefVamp::PluginBase
Plugin(float inputSampleRate)Vamp::Plugin [inline, protected]
PluginInputDomainAdapter(Plugin *plugin)Vamp::HostExt::PluginInputDomainAdapter
PluginWrapper(Plugin *plugin)Vamp::HostExt::PluginWrapper [protected]
process(const float *const *inputBuffers, RealTime timestamp)Vamp::HostExt::PluginInputDomainAdapter [virtual]
ProcessTimestampMethod enum nameVamp::HostExt::PluginInputDomainAdapter
ProgramList typedefVamp::PluginBase
reset()Vamp::HostExt::PluginWrapper [virtual]
reset()Vamp::HostExt::PluginInputDomainAdapter [virtual]
selectProgram(std::string)Vamp::HostExt::PluginWrapper [virtual]
setParameter(std::string, float)Vamp::HostExt::PluginWrapper [virtual]
setProcessTimestampMethod(ProcessTimestampMethod)Vamp::HostExt::PluginInputDomainAdapter
ShiftData enum valueVamp::HostExt::PluginInputDomainAdapter
ShiftTimestamp enum valueVamp::HostExt::PluginInputDomainAdapter
TimeDomain enum valueVamp::Plugin
~Plugin()Vamp::Plugin [inline, virtual]
~PluginBase()Vamp::PluginBase [inline, virtual]
~PluginInputDomainAdapter()Vamp::HostExt::PluginInputDomainAdapter [virtual]
~PluginWrapper()Vamp::HostExt::PluginWrapper [virtual]
-
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Vamp::HostExt::PluginInputDomainAdapter Class Reference + - - +
-

Vamp::HostExt::PluginInputDomainAdapter Class Reference

#include <vamp-hostsdk/PluginInputDomainAdapter.h> +

Vamp::HostExt::PluginInputDomainAdapter Class Reference

PluginInputDomainAdapter is a Vamp plugin adapter that converts time-domain input into frequency-domain input for plugins that need it. +More... +

+#include <vamp-hostsdk/PluginInputDomainAdapter.h>

Inheritance diagram for Vamp::HostExt::PluginInputDomainAdapter:

Inheritance graph
- +
[legend]

-List of all members.


Detailed Description

-PluginInputDomainAdapter is a Vamp plugin adapter that converts time-domain input into frequency-domain input for plugins that need it. -

-This permits a host to use time- and frequency-domain plugins interchangeably without needing to handle the conversion itself.

-This adapter uses a basic Hanning windowed FFT that supports power-of-two block sizes only. If a frequency domain plugin requests a non-power-of-two blocksize, the adapter will adjust it to a nearby power of two instead. Thus, getPreferredBlockSize() will always return a power of two if the wrapped plugin is a frequency domain one. If the plugin doesn't accept the adjusted power of two block size, initialise() will fail.

-The adapter provides no way for the host to discover whether the underlying plugin is actually a time or frequency domain plugin (except that if the preferred block size is not a power of two, it must be a time domain plugin).

-The FFT implementation is simple and self-contained, but unlikely to be the fastest available: a host can usually do better if it cares enough.

-In every respect other than its input domain handling, the PluginInputDomainAdapter behaves identically to the plugin that it wraps. The wrapped plugin will be deleted when the wrapper is deleted.

-

Note:
This class was introduced in version 1.1 of the Vamp plugin SDK.
- -

Definition at line 82 of file PluginInputDomainAdapter.h.

- +List of all members.
- - - - - - - - - - - + @@ -77,6 +58,9 @@ + + + @@ -89,12 +73,15 @@ + + + + + + - - - @@ -146,7 +133,7 @@ - + @@ -161,6 +148,17 @@

Public Types

enum  InputDomain { TimeDomain, -FrequencyDomain +
enum  ProcessTimestampMethod { ShiftTimestamp, +ShiftData, +NoShift }
typedef std::vector
-< OutputDescriptor
OutputList
typedef std::vector< FeatureFeatureList
typedef std::map< int,
-FeatureList
FeatureSet
typedef std::vector
-< ParameterDescriptor
ParameterList
typedef std::vector< std::string > ProgramList
 ProcessTimestampMethod determines how the PluginInputDomainAdapter handles timestamps for the data passed to the process() function of the plugin it wraps, in the case where the plugin is expecting frequency-domain data. More...

Public Member Functions

 PluginInputDomainAdapter (Plugin *plugin)
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).
void reset ()
 Reset the plugin after use, to prepare it for another clean run.
InputDomain getInputDomain () const
 Get the plugin's required input domain.
FeatureSet process (const float *const *inputBuffers, RealTime timestamp)
 Process a single block of input data.
void setProcessTimestampMethod (ProcessTimestampMethod)
 Set the method used for timestamp adjustment in plugins taking frequency-domain input.
ProcessTimestampMethod getProcessTimestampMethod () const
 Retrieve the method used for timestamp adjustment in plugins taking frequency-domain input.
RealTime getTimestampAdjustment () const
 Return the amount by which the timestamps supplied to process() are being incremented when they are passed to the plugin's own process() implementation.
void reset ()
 Reset the plugin after use, to prepare it for another clean run.
unsigned int getVampApiVersion () const
 Get the Vamp API compatibility level of the plugin.
FeatureSet getRemainingFeatures ()
 After all blocks have been processed, calculate and return any remaining features derived from the complete input.
template<typename WrapperType>
template<typename WrapperType >
WrapperType * getWrapper ()
 Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper's plugin, if present.
float m_inputSampleRate
+

Detailed Description

+PluginInputDomainAdapter is a Vamp plugin adapter that converts time-domain input into frequency-domain input for plugins that need it. +

+This permits a host to use time- and frequency-domain plugins interchangeably without needing to handle the conversion itself.

+This adapter uses a basic Hanning windowed FFT that supports power-of-two block sizes only. If a frequency domain plugin requests a non-power-of-two blocksize, the adapter will adjust it to a nearby power of two instead. Thus, getPreferredBlockSize() will always return a power of two if the wrapped plugin is a frequency domain one. If the plugin doesn't accept the adjusted power of two block size, initialise() will fail.

+The adapter provides no way for the host to discover whether the underlying plugin is actually a time or frequency domain plugin (except that if the preferred block size is not a power of two, it must be a time domain plugin).

+The FFT implementation is simple and self-contained, but unlikely to be the fastest available: a host can usually do better if it cares enough.

+In every respect other than its input domain handling, the PluginInputDomainAdapter behaves identically to the plugin that it wraps. The wrapped plugin will be deleted when the wrapper is deleted.

+

Note:
This class was introduced in version 1.1 of the Vamp plugin SDK.
+ +

Definition at line 82 of file PluginInputDomainAdapter.h.


Member Typedef Documentation

@@ -175,7 +173,7 @@

-

Definition at line 322 of file vamp-sdk/Plugin.h.

+

Definition at line 327 of file vamp-sdk/Plugin.h.

@@ -192,7 +190,7 @@

-

Definition at line 380 of file vamp-sdk/Plugin.h.

+

Definition at line 385 of file vamp-sdk/Plugin.h.

@@ -209,7 +207,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -248,6 +246,39 @@


Member Enumeration Documentation

+ +
+
+ + + + +
enum Vamp::HostExt::PluginInputDomainAdapter::ProcessTimestampMethod
+
+
+ +

+ProcessTimestampMethod determines how the PluginInputDomainAdapter handles timestamps for the data passed to the process() function of the plugin it wraps, in the case where the plugin is expecting frequency-domain data. +

+The Vamp specification requires that the timestamp passed to the plugin for frequency-domain input should be that of the centre of the processing block, rather than the start as is the case for time-domain input.

+Since PluginInputDomainAdapter aims to be transparent in use, it needs to handle this timestamp adjustment itself. However, some control is available over the method used for adjustment, by means of the ProcessTimestampMethod setting.

+If ProcessTimestampMethod is set to ShiftTimestamp (the default), then the data passed to the wrapped plugin will be calculated from the same input data block as passed to the wrapper, but the timestamp passed to the plugin will be advanced by half of the window size.

+If ProcessTimestampMethod is set to ShiftData, then the timestamp passed to the wrapped plugin will be the same as that passed to the process call of the wrapper, but the data block used to calculate the input will be shifted back (earlier) by half of the window size, with half a block of zero padding at the start of the first process call. This has the advantage of preserving the first half block of audio without any deterioration from window shaping.

+If ProcessTimestampMethod is set to NoShift, then no adjustment will be made and the timestamps will be incorrect.

Enumerator:
+ + + + +
ShiftTimestamp  +
ShiftData  +
NoShift  +
+
+ +

Definition at line 137 of file PluginInputDomainAdapter.h.

+ +
+

@@ -356,6 +387,29 @@

+ +

+
+ + + + + + + + +
void Vamp::HostExt::PluginInputDomainAdapter::reset (  )  [virtual]
+
+
+ +

+Reset the plugin after use, to prepare it for another clean run. +

+Not called for the first initialisation (i.e. initialise must also do a reset). +

Reimplemented from Vamp::HostExt::PluginWrapper.

+ +
+

@@ -374,7 +428,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Reimplemented from Vamp::HostExt::PluginWrapper.

@@ -462,6 +517,50 @@

+ +

+
+ + + + + + + + + +
void Vamp::HostExt::PluginInputDomainAdapter::setProcessTimestampMethod (ProcessTimestampMethod   ) 
+
+
+ +

+Set the method used for timestamp adjustment in plugins taking frequency-domain input. +

+See the ProcessTimestampMethod documentation for details.

+This function must be called before the first call to process(). +

+

+ +

+
+ + + + + + + + +
ProcessTimestampMethod Vamp::HostExt::PluginInputDomainAdapter::getProcessTimestampMethod (  )  const
+
+
+ +

+Retrieve the method used for timestamp adjustment in plugins taking frequency-domain input. +

+See the ProcessTimestampMethod documentation for details. +

+

@@ -482,36 +581,12 @@

The Vamp API mandates that the timestamp passed to the plugin for time-domain input should be the time of the first sample in the block, but the timestamp passed for frequency-domain input should be the timestamp of the centre of the block.

The PluginInputDomainAdapter adjusts its timestamps properly so that the plugin receives correct times, but in some circumstances (such as for establishing the correct timing of implicitly-timed features, i.e. features without their own timestamps) the host may need to be aware that this adjustment is taking place.

-If the plugin requires time-domain input, this function will return zero. The result of calling this function before initialise() has been called is undefined. +If the plugin requires time-domain input or the PluginInputDomainAdapter is configured with its ProcessTimestampMethod set to ShiftData instead of ShiftTimestamp, then this function will return zero.

+The result of calling this function before initialise() has been called is undefined.

Referenced by runPlugin().

- -

-
- - - - - - - - -
void Vamp::HostExt::PluginWrapper::reset (  )  [virtual, inherited]
-
-
- -

-Reset the plugin after use, to prepare it for another clean run. -

-Not called for the first initialisation (i.e. initialise must also do a reset). -

Implements Vamp::Plugin.

- -

Reimplemented in Vamp::HostExt::PluginBufferingAdapter.

- -
-

@@ -932,7 +1007,7 @@
-template<typename WrapperType>
+template<typename WrapperType >
@@ -978,7 +1053,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -996,7 +1071,7 @@

-

Definition at line 126 of file PluginInputDomainAdapter.h.

+

Definition at line 188 of file PluginInputDomainAdapter.h.

@@ -1030,17 +1105,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following file: -
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter__inherit__graph.map --- a/code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,3 +1,3 @@ - - - + + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter__inherit__graph.md5 --- a/code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -47d56728165169f68915d6e27c0ab18b \ No newline at end of file +d77bdf3c4b872754e1da9a07b9675e9c \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter__inherit__graph.png Binary file code-doc/classVamp_1_1HostExt_1_1PluginInputDomainAdapter__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginLoader-members.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginLoader-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginLoader-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +
WrapperType* Vamp::HostExt::PluginWrapper::getWrapper
PluginLoader()Vamp::HostExt::PluginLoader [protected]
~PluginLoader()Vamp::HostExt::PluginLoader [protected, virtual]
-
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginLoader.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginLoader.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginLoader.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Vamp::HostExt::PluginLoader Class Reference + - - +
-

Vamp::HostExt::PluginLoader Class Reference

#include <vamp-hostsdk/PluginLoader.h> +

Vamp::HostExt::PluginLoader Class Reference

Vamp::HostExt::PluginLoader is a convenience class for discovering and loading Vamp plugins using the typical plugin-path, library naming, and categorisation conventions described in the Vamp SDK documentation. +More... +

+#include <vamp-hostsdk/PluginLoader.h>

-List of all members.


Detailed Description

-Vamp::HostExt::PluginLoader is a convenience class for discovering and loading Vamp plugins using the typical plugin-path, library naming, and categorisation conventions described in the Vamp SDK documentation. -

-This class is intended to greatly simplify the task of becoming a Vamp plugin host for any C++ application.

-Hosts are not required by the Vamp specification to use the same plugin search path and naming conventions as implemented by this class, and are certainly not required to use this actual class. But we do strongly recommend it.

-

Note:
This class was introduced in version 1.1 of the Vamp plugin SDK.
- -

Definition at line 72 of file PluginLoader.h.

- +List of all members.

Public Types

enum  AdapterFlags {
@@ -93,6 +88,14 @@
static PluginLoaderm_instance
+

Detailed Description

+Vamp::HostExt::PluginLoader is a convenience class for discovering and loading Vamp plugins using the typical plugin-path, library naming, and categorisation conventions described in the Vamp SDK documentation. +

+This class is intended to greatly simplify the task of becoming a Vamp plugin host for any C++ application.

+Hosts are not required by the Vamp specification to use the same plugin search path and naming conventions as implemented by this class, and are certainly not required to use this actual class. But we do strongly recommend it.

+

Note:
This class was introduced in version 1.1 of the Vamp plugin SDK.
+ +

Definition at line 72 of file PluginLoader.h.


Member Typedef Documentation

@@ -447,8 +450,8 @@
The documentation for this class was generated from the following file:
-
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter-members.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +

@@ -236,7 +222,7 @@

-

Definition at line 380 of file vamp-sdk/Plugin.h.

+

Definition at line 385 of file vamp-sdk/Plugin.h.

@@ -253,7 +239,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -329,7 +315,7 @@ -

Definition at line 119 of file PluginSummarisingAdapter.h.

+

Definition at line 121 of file PluginSummarisingAdapter.h.

@@ -358,7 +344,7 @@ -

Definition at line 155 of file PluginSummarisingAdapter.h.

+

Definition at line 157 of file PluginSummarisingAdapter.h.

@@ -470,6 +456,29 @@

+ +

+
+ + + + + + + + +
void Vamp::HostExt::PluginSummarisingAdapter::reset (  )  [virtual]
+
+
+ +

+Reset the plugin after use, to prepare it for another clean run. +

+Not called for the first initialisation (i.e. initialise must also do a reset). +

Reimplemented from Vamp::HostExt::PluginWrapper.

+ +
+

@@ -619,31 +628,6 @@ The plugin must have been fully run (process() and getRemainingFeatures() calls all made as appropriate) before this function is called.

- -

-
- - - - - - - - -
void Vamp::HostExt::PluginWrapper::reset (  )  [virtual, inherited]
-
-
- -

-Reset the plugin after use, to prepare it for another clean run. -

-Not called for the first initialisation (i.e. initialise must also do a reset). -

Implements Vamp::Plugin.

- -

Reimplemented in Vamp::HostExt::PluginBufferingAdapter.

- -
-

@@ -662,7 +646,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Reimplemented in Vamp::HostExt::PluginInputDomainAdapter.

@@ -1116,7 +1101,7 @@
-template<typename WrapperType>
+template<typename WrapperType >
@@ -1162,7 +1147,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -1180,7 +1165,7 @@

-

Definition at line 185 of file PluginSummarisingAdapter.h.

+

Definition at line 187 of file PluginSummarisingAdapter.h.

@@ -1214,17 +1199,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following file: -
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter__inherit__graph.map --- a/code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,3 +1,3 @@ - - - + + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter__inherit__graph.md5 --- a/code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -524cd5a5d3a0eab71129f2ae42f2bc43 \ No newline at end of file +6bee571ed60b65e6c8b45d62ccad4e7c \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter__inherit__graph.png Binary file code-doc/classVamp_1_1HostExt_1_1PluginSummarisingAdapter__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginWrapper-members.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginWrapper-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginWrapper-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +
WrapperType* Vamp::HostExt::PluginWrapper::getWrapper
~PluginBase()Vamp::PluginBase [inline, virtual]
~PluginWrapper()Vamp::HostExt::PluginWrapper [virtual]
-
Generated on Mon Dec 8 14:37:22 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginWrapper.html --- a/code-doc/classVamp_1_1HostExt_1_1PluginWrapper.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginWrapper.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Vamp::HostExt::PluginWrapper Class Reference + - - +
-

Vamp::HostExt::PluginWrapper Class Reference

#include <vamp-hostsdk/PluginWrapper.h> +

Vamp::HostExt::PluginWrapper Class Reference

PluginWrapper is a simple base class for adapter plugins. +More... +

+#include <vamp-hostsdk/PluginWrapper.h>

Inheritance diagram for Vamp::HostExt::PluginWrapper:

Inheritance graph
- +
[legend]

-List of all members.


Detailed Description

-PluginWrapper is a simple base class for adapter plugins. -

-It takes a pointer to a "to be wrapped" Vamp plugin on construction, and provides implementations of all the Vamp plugin methods that simply delegate through to the wrapped plugin. A subclass can therefore override only the methods that are meaningful for the particular adapter.

-

Note:
This class was introduced in version 1.1 of the Vamp plugin SDK.
- -

Definition at line 62 of file PluginWrapper.h.

- +List of all members.
- - - - - - @@ -136,7 +127,7 @@ - + @@ -152,6 +143,13 @@

Public Types

enum  InputDomain { TimeDomain, FrequencyDomain }
typedef std::vector
+
typedef std::vector
< OutputDescriptor
OutputList
typedef std::vector< FeatureFeatureList
typedef std::map< int,
+
typedef std::map< int,
FeatureList
FeatureSet
typedef std::vector
-< ParameterDescriptor
ParameterList
typedef std::vector< std::string > ProgramList

Public Member Functions

virtual ~PluginWrapper ()
FeatureSet getRemainingFeatures ()
 After all blocks have been processed, calculate and return any remaining features derived from the complete input.
template<typename WrapperType>
template<typename WrapperType >
WrapperType * getWrapper ()
 Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper's plugin, if present.
float m_inputSampleRate
+

Detailed Description

+PluginWrapper is a simple base class for adapter plugins. +

+It takes a pointer to a "to be wrapped" Vamp plugin on construction, and provides implementations of all the Vamp plugin methods that simply delegate through to the wrapped plugin. A subclass can therefore override only the methods that are meaningful for the particular adapter.

+

Note:
This class was introduced in version 1.1 of the Vamp plugin SDK.
+ +

Definition at line 62 of file PluginWrapper.h.


Member Typedef Documentation

@@ -166,7 +164,7 @@

-

Definition at line 322 of file vamp-sdk/Plugin.h.

+

Definition at line 327 of file vamp-sdk/Plugin.h.

@@ -183,7 +181,7 @@

-

Definition at line 380 of file vamp-sdk/Plugin.h.

+

Definition at line 385 of file vamp-sdk/Plugin.h.

@@ -200,7 +198,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -368,7 +366,7 @@ Not called for the first initialisation (i.e. initialise must also do a reset).

Implements Vamp::Plugin.

-

Reimplemented in Vamp::HostExt::PluginBufferingAdapter.

+

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::HostExt::PluginInputDomainAdapter, and Vamp::HostExt::PluginSummarisingAdapter.

@@ -390,7 +388,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Reimplemented in Vamp::HostExt::PluginInputDomainAdapter.

@@ -906,7 +905,7 @@
-template<typename WrapperType>
+template<typename WrapperType >
@@ -952,7 +951,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -987,17 +986,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following file: -
Generated on Mon Dec 8 14:37:22 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginWrapper__inherit__graph.map --- a/code-doc/classVamp_1_1HostExt_1_1PluginWrapper__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginWrapper__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,6 +1,6 @@ - - - - - - + + + + + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginWrapper__inherit__graph.md5 --- a/code-doc/classVamp_1_1HostExt_1_1PluginWrapper__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1HostExt_1_1PluginWrapper__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -26c90b25b2428a766de6c40900a6c338 \ No newline at end of file +efbb6bf33027211e4afccc6f60018600 \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1HostExt_1_1PluginWrapper__inherit__graph.png Binary file code-doc/classVamp_1_1HostExt_1_1PluginWrapper__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1Plugin-members.html --- a/code-doc/classVamp_1_1Plugin-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1Plugin-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +
WrapperType* Vamp::HostExt::PluginWrapper::getWrapper
~Plugin()Vamp::Plugin [inline, virtual]
~PluginBase()Vamp::PluginBase [inline, virtual]
-
Generated on Mon Dec 8 14:37:20 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1Plugin.html --- a/code-doc/classVamp_1_1Plugin.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1Plugin.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Vamp::Plugin Class Reference + - - +
-

Vamp::Plugin Class Reference

#include <vamp-sdk/Plugin.h> +

Vamp::Plugin Class Reference

Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio or related data. +More... +

+#include <vamp-sdk/Plugin.h>

Inheritance diagram for Vamp::Plugin:

Inheritance graph
- +
[legend]

-List of all members.


Detailed Description

-Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio or related data. -

-In most cases, the input will be audio and the output will be a stream of derived data at a lower sampling resolution than the input.

-Note that this class inherits several abstract methods from PluginBase. These must be implemented by the subclass.

-PLUGIN LIFECYCLE

-Feature extraction plugins are managed differently from real-time plugins (such as VST effects). The main difference is that the parameters for a feature extraction plugin are configured before the plugin is used, and do not change during use.

-1. Host constructs the plugin, passing it the input sample rate. The plugin may do basic initialisation, but should not do anything computationally expensive at this point. You must make sure your plugin is cheap to construct, otherwise you'll seriously affect the startup performance of almost all hosts. If you have serious initialisation to do, the proper place is in initialise() (step 5).

-2. Host may query the plugin's available outputs.

-3. Host queries programs and parameter descriptors, and may set some or all of them. Parameters that are not explicitly set should take their default values as specified in the parameter descriptor. When a program is set, the parameter values may change and the host will re-query them to check.

-4. Host queries the preferred step size, block size and number of channels. These may all vary depending on the parameter values. (Note however that you cannot make the number of distinct outputs dependent on parameter values.)

-5. Plugin is properly initialised with a call to initialise. This fixes the step size, block size, and number of channels, as well as all of the parameter and program settings. If the values passed in to initialise do not match the plugin's advertised preferred values from step 4, the plugin may refuse to initialise and return false (although if possible it should accept the new values). Any computationally expensive setup code should take place here.

-6. Host finally checks the number of values, resolution, extents etc per output (which may vary depending on the number of channels, step size and block size as well as the parameter values).

-7. Host will repeatedly call the process method to pass in blocks of input data. This method may return features extracted from that data (if the plugin is causal).

-8. Host will call getRemainingFeatures exactly once, after all the input data has been processed. This may return any non-causal or leftover features.

-9. At any point after initialise was called, the host may optionally call the reset method and restart processing. (This does not mean it can change the parameters, which are fixed from initialise until destruction.)

-A plugin does not need to handle the case where setParameter or selectProgram is called after initialise has been called. It's the host's responsibility not to do that. Similarly, the plugin may safely assume that initialise is called no more than once. -

Definition at line 124 of file vamp-sdk/Plugin.h.

- +List of all members.
+ + + + + - - - - - - @@ -156,12 +141,25 @@ - - - - -

Classes

struct  Feature
struct  OutputDescriptor

Public Types

enum  InputDomain { TimeDomain, FrequencyDomain }
typedef std::vector
+
typedef std::vector
< OutputDescriptor
OutputList
typedef std::vector< FeatureFeatureList
typedef std::map< int,
+
typedef std::map< int,
FeatureList
FeatureSet
typedef std::vector
-< ParameterDescriptor
ParameterList
typedef std::vector< std::string > ProgramList

Public Member Functions

virtual ~Plugin ()

Protected Attributes

float m_inputSampleRate

Classes

struct  Feature
struct  OutputDescriptor
+

Detailed Description

+Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio or related data. +

+In most cases, the input will be audio and the output will be a stream of derived data at a lower sampling resolution than the input.

+Note that this class inherits several abstract methods from PluginBase. These must be implemented by the subclass.

+PLUGIN LIFECYCLE

+Feature extraction plugins are managed differently from real-time plugins (such as VST effects). The main difference is that the parameters for a feature extraction plugin are configured before the plugin is used, and do not change during use.

+1. Host constructs the plugin, passing it the input sample rate. The plugin may do basic initialisation, but should not do anything computationally expensive at this point. You must make sure your plugin is cheap to construct, otherwise you'll seriously affect the startup performance of almost all hosts. If you have serious initialisation to do, the proper place is in initialise() (step 5).

+2. Host may query the plugin's available outputs.

+3. Host queries programs and parameter descriptors, and may set some or all of them. Parameters that are not explicitly set should take their default values as specified in the parameter descriptor. When a program is set, the parameter values may change and the host will re-query them to check.

+4. Host queries the preferred step size, block size and number of channels. These may all vary depending on the parameter values. (Note however that you cannot make the number of distinct outputs dependent on parameter values.)

+5. Plugin is properly initialised with a call to initialise. This fixes the step size, block size, and number of channels, as well as all of the parameter and program settings. If the values passed in to initialise do not match the plugin's advertised preferred values from step 4, the plugin may refuse to initialise and return false (although if possible it should accept the new values). Any computationally expensive setup code should take place here.

+6. Host finally checks the number of values, resolution, extents etc per output (which may vary depending on the number of channels, step size and block size as well as the parameter values).

+7. Host will repeatedly call the process method to pass in blocks of input data. This method may return features extracted from that data (if the plugin is causal).

+8. Host will call getRemainingFeatures exactly once, after all the input data has been processed. This may return any non-causal or leftover features.

+9. At any point after initialise was called, the host may optionally call the reset method and restart processing. (This does not mean it can change the parameters, which are fixed from initialise until destruction.)

+A plugin does not need to handle the case where setParameter or selectProgram is called after initialise has been called. It's the host's responsibility not to do that. Similarly, the plugin may safely assume that initialise is called no more than once. +

Definition at line 124 of file vamp-sdk/Plugin.h.


Member Typedef Documentation

@@ -176,7 +174,7 @@

-

Definition at line 322 of file vamp-sdk/Plugin.h.

+

Definition at line 327 of file vamp-sdk/Plugin.h.

@@ -193,7 +191,7 @@

-

Definition at line 380 of file vamp-sdk/Plugin.h.

+

Definition at line 385 of file vamp-sdk/Plugin.h.

@@ -210,7 +208,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -314,7 +312,7 @@

-

Definition at line 428 of file vamp-sdk/Plugin.h.

+

Definition at line 433 of file vamp-sdk/Plugin.h.

@@ -380,7 +378,7 @@ Reset the plugin after use, to prepare it for another clean run.

Not called for the first initialisation (i.e. initialise must also do a reset). -

Implemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginWrapper, AmplitudeFollower, FixedTempoEstimator, PercussionOnsetDetector, PowerSpectrum, SpectralCentroid, and ZeroCrossing.

+

Implemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginSummarisingAdapter, Vamp::HostExt::PluginWrapper, AmplitudeFollower, FixedTempoEstimator, PercussionOnsetDetector, PowerSpectrum, SpectralCentroid, and ZeroCrossing.

@@ -402,7 +400,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implemented in Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, AmplitudeFollower, FixedTempoEstimator, PercussionOnsetDetector, PowerSpectrum, SpectralCentroid, and ZeroCrossing.

Referenced by enumeratePlugins(), and runPlugin().

@@ -431,7 +430,7 @@ A plugin that can handle any block size may return 0. The final block size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 174 of file vamp-sdk/Plugin.h.

+

Definition at line 179 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -459,7 +458,7 @@ A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 189 of file vamp-sdk/Plugin.h.

+

Definition at line 194 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -486,9 +485,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 194 of file vamp-sdk/Plugin.h.

+

Definition at line 199 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -513,9 +512,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 199 of file vamp-sdk/Plugin.h.

+

Definition at line 204 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), ZeroCrossing::initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -627,7 +626,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -991,17 +990,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following file: -
Generated on Mon Dec 8 14:37:20 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1PluginAdapter-members.html --- a/code-doc/classVamp_1_1PluginAdapter-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1PluginAdapter-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +

@@ -1014,17 +1013,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), ZeroCrossing::process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following file: -
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1PluginHostAdapter__inherit__graph.map --- a/code-doc/classVamp_1_1PluginHostAdapter__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1PluginHostAdapter__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,2 +1,2 @@ - - + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1PluginHostAdapter__inherit__graph.md5 --- a/code-doc/classVamp_1_1PluginHostAdapter__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1PluginHostAdapter__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -00b855365571195fc0797873f48188ba \ No newline at end of file +0b303a127f109b8a1bd0629b76103011 \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1PluginHostAdapter__inherit__graph.png Binary file code-doc/classVamp_1_1PluginHostAdapter__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1Plugin__inherit__graph.map --- a/code-doc/classVamp_1_1Plugin__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1Plugin__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,13 +1,13 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1Plugin__inherit__graph.md5 --- a/code-doc/classVamp_1_1Plugin__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1Plugin__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -31b985e17164f0e43b6f86bac750d6d6 \ No newline at end of file +775a8cb060e78b8aad49a37fb1211281 \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1Plugin__inherit__graph.png Binary file code-doc/classVamp_1_1Plugin__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classVamp_1_1RealTime-members.html --- a/code-doc/classVamp_1_1RealTime-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classVamp_1_1RealTime-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +

@@ -191,7 +189,7 @@

-

Definition at line 382 of file vamp-sdk/Plugin.h.

+

Definition at line 387 of file vamp-sdk/Plugin.h.

@@ -340,7 +338,7 @@

Definition at line 94 of file ZeroCrossing.cpp.

-

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), and m_stepSize.

+

References Vamp::Plugin::getMaxChannelCount(), Vamp::Plugin::getMinChannelCount(), and m_stepSize.

@@ -389,7 +387,8 @@

Get the plugin's required input domain.

-If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. +If this is TimeDomain, the samples provided to the process() function (below) will be in the time domain, as for a traditional audio processing plugin.

+If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to process(). The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.

Implements Vamp::Plugin.

Definition at line 56 of file ZeroCrossing.h.

@@ -575,7 +574,7 @@

Definition at line 111 of file ZeroCrossing.cpp.

-

References Vamp::Plugin::OutputDescriptor::binCount, Vamp::Plugin::OutputDescriptor::description, Vamp::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::OutputDescriptor::identifier, Vamp::Plugin::OutputDescriptor::isQuantized, Vamp::Plugin::m_inputSampleRate, Vamp::Plugin::OutputDescriptor::name, Vamp::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::OutputDescriptor::quantizeStep, Vamp::Plugin::OutputDescriptor::sampleRate, Vamp::Plugin::OutputDescriptor::sampleType, Vamp::Plugin::OutputDescriptor::unit, and Vamp::Plugin::OutputDescriptor::VariableSampleRate.

+

References Vamp::Plugin::Plugin::OutputDescriptor::binCount, Vamp::Plugin::Plugin::OutputDescriptor::description, Vamp::Plugin::Plugin::OutputDescriptor::hasFixedBinCount, Vamp::Plugin::Plugin::OutputDescriptor::hasKnownExtents, Vamp::Plugin::Plugin::OutputDescriptor::identifier, Vamp::Plugin::Plugin::OutputDescriptor::isQuantized, Vamp::Plugin::m_inputSampleRate, Vamp::Plugin::Plugin::OutputDescriptor::name, Vamp::Plugin::Plugin::OutputDescriptor::OneSamplePerStep, Vamp::Plugin::Plugin::OutputDescriptor::quantizeStep, Vamp::Plugin::Plugin::OutputDescriptor::sampleRate, Vamp::Plugin::Plugin::OutputDescriptor::sampleType, Vamp::Plugin::Plugin::OutputDescriptor::unit, and Vamp::Plugin::Plugin::OutputDescriptor::VariableSampleRate.

@@ -614,7 +613,7 @@

Definition at line 142 of file ZeroCrossing.cpp.

-

References Vamp::RealTime::frame2RealTime(), Vamp::Plugin::Feature::hasTimestamp, Vamp::Plugin::m_inputSampleRate, m_previousSample, m_stepSize, Vamp::Plugin::Feature::timestamp, and Vamp::Plugin::Feature::values.

+

References Vamp::RealTime::frame2RealTime(), Vamp::Plugin::Plugin::Feature::hasTimestamp, Vamp::Plugin::m_inputSampleRate, m_previousSample, m_stepSize, Vamp::Plugin::Plugin::Feature::timestamp, and Vamp::Plugin::Plugin::Feature::values.

@@ -665,7 +664,7 @@ A plugin that can handle any block size may return 0. The final block size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 174 of file vamp-sdk/Plugin.h.

+

Definition at line 179 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -693,7 +692,7 @@ A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the initialise() call.

Reimplemented in Vamp::HostExt::PluginBufferingAdapter, Vamp::PluginHostAdapter, Vamp::HostExt::PluginInputDomainAdapter, Vamp::HostExt::PluginWrapper, FixedTempoEstimator, and PercussionOnsetDetector.

-

Definition at line 189 of file vamp-sdk/Plugin.h.

+

Definition at line 194 of file vamp-sdk/Plugin.h.

Referenced by enumeratePlugins(), and runPlugin().

@@ -720,9 +719,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 194 of file vamp-sdk/Plugin.h.

+

Definition at line 199 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -747,9 +746,9 @@

Reimplemented in Vamp::PluginHostAdapter, and Vamp::HostExt::PluginWrapper.

-

Definition at line 199 of file vamp-sdk/Plugin.h.

+

Definition at line 204 of file vamp-sdk/Plugin.h.

-

Referenced by enumeratePlugins(), initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

+

Referenced by enumeratePlugins(), initialise(), SpectralCentroid::initialise(), PowerSpectrum::initialise(), PercussionOnsetDetector::initialise(), FixedTempoEstimator::initialise(), AmplitudeFollower::initialise(), and runPlugin().

@@ -774,7 +773,7 @@ Do not reimplement this function in your subclass.

Implements Vamp::PluginBase.

-

Definition at line 425 of file vamp-sdk/Plugin.h.

+

Definition at line 430 of file vamp-sdk/Plugin.h.

@@ -1022,17 +1021,17 @@

-

Definition at line 431 of file vamp-sdk/Plugin.h.

+

Definition at line 436 of file vamp-sdk/Plugin.h.

-

Referenced by getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().

+

Referenced by getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), AmplitudeFollower::initialise(), process(), SpectralCentroid::process(), and PercussionOnsetDetector::process().


The documentation for this class was generated from the following files: -
Generated on Mon Dec 8 14:37:19 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/classZeroCrossing__inherit__graph.map --- a/code-doc/classZeroCrossing__inherit__graph.map Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classZeroCrossing__inherit__graph.map Fri Sep 25 15:40:18 2009 +0000 @@ -1,2 +1,2 @@ - - + + diff -r 4b4db9230e94 -r 0976232e353b code-doc/classZeroCrossing__inherit__graph.md5 --- a/code-doc/classZeroCrossing__inherit__graph.md5 Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/classZeroCrossing__inherit__graph.md5 Fri Sep 25 15:40:18 2009 +0000 @@ -1,1 +1,1 @@ -f7b3baf464700cffecfdffb27175ceb1 \ No newline at end of file +0ed4f0fb7bb08a9804e8fc9bf0ecb9d0 \ No newline at end of file diff -r 4b4db9230e94 -r 0976232e353b code-doc/classZeroCrossing__inherit__graph.png Binary file code-doc/classZeroCrossing__inherit__graph.png has changed diff -r 4b4db9230e94 -r 0976232e353b code-doc/classes.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/code-doc/classes.html Fri Sep 25 15:40:18 2009 +0000 @@ -0,0 +1,42 @@ + + +VampPluginSDK: Alphabetical List + + + + + +
+

Class Index

A | F | P | R | S | Z | _

+ +
  A  
+
PluginBase (Vamp)   
  S  
+
AmplitudeFollower   PluginBase::ParameterDescriptor (Vamp)   SpectralCentroid   
  F  
+
PluginBufferingAdapter (Vamp::HostExt)   
  Z  
+
FixedTempoEstimator   PluginChannelAdapter (Vamp::HostExt)   ZeroCrossing   
FixedTempoEstimator::D   PluginHostAdapter (Vamp)   
  _  
+
  P  
+
PluginInputDomainAdapter (Vamp::HostExt)   _VampFeature   
PercussionOnsetDetector   PluginLoader (Vamp::HostExt)   _VampFeatureList   
Plugin (Vamp)   PluginSummarisingAdapter (Vamp::HostExt)   _VampFeatureUnion   
Plugin::Feature (Vamp)   PluginWrapper (Vamp::HostExt)   _VampFeatureV2   
Plugin::OutputDescriptor (Vamp)   PowerSpectrum   _VampOutputDescriptor   
PluginAdapter (Vamp)   
  R  
+
_VampParameterDescriptor   
PluginAdapterBase (Vamp)   RealTime (Vamp)   _VampPluginDescriptor   

A | F | P | R | S | Z | _

+

+
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  + +doxygen 1.5.8
+ + diff -r 4b4db9230e94 -r 0976232e353b code-doc/dir_2d75386d541e768dd0382c2de0bcb161.html --- a/code-doc/dir_2d75386d541e768dd0382c2de0bcb161.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/dir_2d75386d541e768dd0382c2de0bcb161.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: src/ Directory Reference + - - +

- +

- +
std::string Vamp::PluginBase::ParameterDescriptor::description std::string Vamp::PluginBase::PluginBase::ParameterDescriptor::description
@@ -152,16 +152,16 @@ May be empty if the name has said it all already.

Definition at line 148 of file vamp-sdk/PluginBase.h.

-

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

+

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

- +

- +
std::string Vamp::PluginBase::ParameterDescriptor::unit std::string Vamp::PluginBase::PluginBase::ParameterDescriptor::unit
@@ -173,16 +173,16 @@

Definition at line 153 of file vamp-sdk/PluginBase.h.

-

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

+

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

- +

- +
float Vamp::PluginBase::ParameterDescriptor::minValue float Vamp::PluginBase::PluginBase::ParameterDescriptor::minValue
@@ -194,16 +194,16 @@

Definition at line 158 of file vamp-sdk/PluginBase.h.

-

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

+

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

- +

- +
float Vamp::PluginBase::ParameterDescriptor::maxValue float Vamp::PluginBase::PluginBase::ParameterDescriptor::maxValue
@@ -215,16 +215,16 @@

Definition at line 163 of file vamp-sdk/PluginBase.h.

-

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

+

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

- +

- +
float Vamp::PluginBase::ParameterDescriptor::defaultValue float Vamp::PluginBase::PluginBase::ParameterDescriptor::defaultValue
@@ -236,16 +236,16 @@ The plugin should ensure that parameters have this value on initialisation (i.e. the host is not required to explicitly set parameters if it wants to use their default values).

Definition at line 171 of file vamp-sdk/PluginBase.h.

-

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

+

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

- +

- +
bool Vamp::PluginBase::ParameterDescriptor::isQuantized bool Vamp::PluginBase::PluginBase::ParameterDescriptor::isQuantized
@@ -257,16 +257,16 @@

Definition at line 177 of file vamp-sdk/PluginBase.h.

-

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

+

Referenced by PercussionOnsetDetector::getParameterDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getParameterDescriptors(), and AmplitudeFollower::getParameterDescriptors().

- +

- +
float Vamp::PluginBase::ParameterDescriptor::quantizeStep float Vamp::PluginBase::PluginBase::ParameterDescriptor::quantizeStep
@@ -280,12 +280,12 @@

- +

- +
std::vector<std::string> Vamp::PluginBase::ParameterDescriptor::valueNames std::vector<std::string> Vamp::PluginBase::PluginBase::ParameterDescriptor::valueNames
@@ -303,8 +303,8 @@
The documentation for this struct was generated from the following file:
-
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/structVamp_1_1Plugin_1_1Feature-members.html --- a/code-doc/structVamp_1_1Plugin_1_1Feature-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/structVamp_1_1Plugin_1_1Feature-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +
-

Vamp::Plugin::Feature Member List

This is the complete list of members for Vamp::Plugin::Feature, including all inherited members.

- - - - - - - +

Vamp::Plugin::Plugin::Feature Member List

This is the complete list of members for Vamp::Plugin::Plugin::Feature, including all inherited members.

durationVamp::Plugin::Feature
Feature()Vamp::Plugin::Feature [inline]
hasDurationVamp::Plugin::Feature
hasTimestampVamp::Plugin::Feature
labelVamp::Plugin::Feature
timestampVamp::Plugin::Feature
valuesVamp::Plugin::Feature
+ + + + + + +
durationVamp::Plugin::Plugin::Feature
Feature()Vamp::Plugin::Plugin::Feature [inline]
hasDurationVamp::Plugin::Plugin::Feature
hasTimestampVamp::Plugin::Plugin::Feature
labelVamp::Plugin::Plugin::Feature
timestampVamp::Plugin::Plugin::Feature
valuesVamp::Plugin::Plugin::Feature

-
Generated on Mon Dec 8 14:37:20 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/structVamp_1_1Plugin_1_1Feature.html --- a/code-doc/structVamp_1_1Plugin_1_1Feature.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/structVamp_1_1Plugin_1_1Feature.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ -VampPluginSDK: Vamp::Plugin::Feature Struct Reference +VampPluginSDK: Vamp::Plugin::Plugin::Feature Struct Reference + - - +
-

Vamp::Plugin::Feature Struct Reference

#include <Plugin.h> +

Vamp::Plugin::Plugin::Feature Struct Reference

#include <Plugin.h>

-List of all members.


Detailed Description

- -

Definition at line 331 of file vamp-sdk/Plugin.h.

- +List of all members.
- + - + - - + + - - + + - - + + - - + + - - + + - +

Public Member Functions

 Feature ()
 Feature ()

Public Attributes

bool hasTimestamp
bool hasTimestamp
 True if an output feature has its own timestamp.
RealTime timestamp
 True if an output feature has its own timestamp.
RealTime timestamp
 Timestamp of the output feature.
bool hasDuration
 Timestamp of the output feature.
bool hasDuration
 True if an output feature has a specified duration.
RealTime duration
 True if an output feature has a specified duration.
RealTime duration
 Duration of the output feature.
std::vector< float > values
 Duration of the output feature.
std::vector< float > values
 Results for a single sample of this feature.
std::string label
 Results for a single sample of this feature.
std::string label
 Label for the sample of this feature.
 Label for the sample of this feature.
+

Detailed Description

+ +

Definition at line 336 of file vamp-sdk/Plugin.h.


Constructor & Destructor Documentation

- +
- + @@ -76,17 +76,17 @@

-

Definition at line 376 of file vamp-sdk/Plugin.h.

+

Definition at line 381 of file vamp-sdk/Plugin.h.


Member Data Documentation

- +
Vamp::Plugin::Feature::Feature Vamp::Plugin::Plugin::Feature::Feature (  ) 
- +
bool Vamp::Plugin::Feature::hasTimestamp bool Vamp::Plugin::Plugin::Feature::hasTimestamp
@@ -96,18 +96,18 @@ True if an output feature has its own timestamp.

This is mandatory if the output has VariableSampleRate, optional if the output has FixedSampleRate, and unused if the output has OneSamplePerStep. -

Definition at line 339 of file vamp-sdk/Plugin.h.

+

Definition at line 344 of file vamp-sdk/Plugin.h.

-

Referenced by FixedTempoEstimator::D::assembleFeatures(), ZeroCrossing::process(), SpectralCentroid::process(), PowerSpectrum::process(), PercussionOnsetDetector::process(), and AmplitudeFollower::process().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), ZeroCrossing::process(), SpectralCentroid::process(), PowerSpectrum::process(), PercussionOnsetDetector::process(), and AmplitudeFollower::process().

- +

- +
RealTime Vamp::Plugin::Feature::timestamp RealTime Vamp::Plugin::Plugin::Feature::timestamp
@@ -117,18 +117,18 @@ Timestamp of the output feature.

This is mandatory if the output has VariableSampleRate or if the output has FixedSampleRate and hasTimestamp is true, and unused otherwise. -

Definition at line 347 of file vamp-sdk/Plugin.h.

+

Definition at line 352 of file vamp-sdk/Plugin.h.

-

Referenced by FixedTempoEstimator::D::assembleFeatures(), ZeroCrossing::process(), and PercussionOnsetDetector::process().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), ZeroCrossing::process(), and PercussionOnsetDetector::process().

- +

- +
bool Vamp::Plugin::Feature::hasDuration bool Vamp::Plugin::Plugin::Feature::hasDuration
@@ -138,18 +138,18 @@ True if an output feature has a specified duration.

This is optional if the output has VariableSampleRate or FixedSampleRate, and and unused if the output has OneSamplePerStep. -

Definition at line 355 of file vamp-sdk/Plugin.h.

+

Definition at line 360 of file vamp-sdk/Plugin.h.

-

Referenced by FixedTempoEstimator::D::assembleFeatures().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures().

- +

- +
RealTime Vamp::Plugin::Feature::duration RealTime Vamp::Plugin::Plugin::Feature::duration
@@ -159,18 +159,18 @@ Duration of the output feature.

This is mandatory if the output has VariableSampleRate or FixedSampleRate and hasDuration is true, and unused otherwise. -

Definition at line 362 of file vamp-sdk/Plugin.h.

+

Definition at line 367 of file vamp-sdk/Plugin.h.

-

Referenced by FixedTempoEstimator::D::assembleFeatures().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures().

- +

- +
std::vector<float> Vamp::Plugin::Feature::values std::vector<float> Vamp::Plugin::Plugin::Feature::values
@@ -180,18 +180,18 @@ Results for a single sample of this feature.

If the output hasFixedBinCount, there must be the same number of values as the output's binCount count. -

Definition at line 369 of file vamp-sdk/Plugin.h.

+

Definition at line 374 of file vamp-sdk/Plugin.h.

-

Referenced by FixedTempoEstimator::D::assembleFeatures(), ZeroCrossing::process(), SpectralCentroid::process(), PowerSpectrum::process(), PercussionOnsetDetector::process(), and AmplitudeFollower::process().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures(), ZeroCrossing::process(), SpectralCentroid::process(), PowerSpectrum::process(), PercussionOnsetDetector::process(), and AmplitudeFollower::process().

- +

- +
std::string Vamp::Plugin::Feature::label std::string Vamp::Plugin::Plugin::Feature::label
@@ -201,17 +201,17 @@ Label for the sample of this feature.

-

Definition at line 374 of file vamp-sdk/Plugin.h.

+

Definition at line 379 of file vamp-sdk/Plugin.h.

-

Referenced by FixedTempoEstimator::D::assembleFeatures().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::assembleFeatures().


The documentation for this struct was generated from the following file: -
Generated on Mon Dec 8 14:37:20 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/structVamp_1_1Plugin_1_1OutputDescriptor-members.html --- a/code-doc/structVamp_1_1Plugin_1_1OutputDescriptor-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/structVamp_1_1Plugin_1_1OutputDescriptor-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +
-

Vamp::Plugin::OutputDescriptor Member List

This is the complete list of members for Vamp::Plugin::OutputDescriptor, including all inherited members.

- - - - - - - - - - - - - - - - - - - - +

Vamp::Plugin::Plugin::OutputDescriptor Member List

This is the complete list of members for Vamp::Plugin::Plugin::OutputDescriptor, including all inherited members.

binCountVamp::Plugin::OutputDescriptor
binNamesVamp::Plugin::OutputDescriptor
descriptionVamp::Plugin::OutputDescriptor
FixedSampleRate enum valueVamp::Plugin::OutputDescriptor
hasDurationVamp::Plugin::OutputDescriptor
hasFixedBinCountVamp::Plugin::OutputDescriptor
hasKnownExtentsVamp::Plugin::OutputDescriptor
identifierVamp::Plugin::OutputDescriptor
isQuantizedVamp::Plugin::OutputDescriptor
maxValueVamp::Plugin::OutputDescriptor
minValueVamp::Plugin::OutputDescriptor
nameVamp::Plugin::OutputDescriptor
OneSamplePerStep enum valueVamp::Plugin::OutputDescriptor
OutputDescriptor()Vamp::Plugin::OutputDescriptor [inline]
quantizeStepVamp::Plugin::OutputDescriptor
sampleRateVamp::Plugin::OutputDescriptor
sampleTypeVamp::Plugin::OutputDescriptor
SampleType enum nameVamp::Plugin::OutputDescriptor
unitVamp::Plugin::OutputDescriptor
VariableSampleRate enum valueVamp::Plugin::OutputDescriptor
+ + + + + + + + + + + + + + + + + + + +
binCountVamp::Plugin::Plugin::OutputDescriptor
binNamesVamp::Plugin::Plugin::OutputDescriptor
descriptionVamp::Plugin::Plugin::OutputDescriptor
FixedSampleRate enum valueVamp::Plugin::Plugin::OutputDescriptor
hasDurationVamp::Plugin::Plugin::OutputDescriptor
hasFixedBinCountVamp::Plugin::Plugin::OutputDescriptor
hasKnownExtentsVamp::Plugin::Plugin::OutputDescriptor
identifierVamp::Plugin::Plugin::OutputDescriptor
isQuantizedVamp::Plugin::Plugin::OutputDescriptor
maxValueVamp::Plugin::Plugin::OutputDescriptor
minValueVamp::Plugin::Plugin::OutputDescriptor
nameVamp::Plugin::Plugin::OutputDescriptor
OneSamplePerStep enum valueVamp::Plugin::Plugin::OutputDescriptor
OutputDescriptor()Vamp::Plugin::Plugin::OutputDescriptor [inline]
quantizeStepVamp::Plugin::Plugin::OutputDescriptor
sampleRateVamp::Plugin::Plugin::OutputDescriptor
sampleTypeVamp::Plugin::Plugin::OutputDescriptor
SampleType enum nameVamp::Plugin::Plugin::OutputDescriptor
unitVamp::Plugin::Plugin::OutputDescriptor
VariableSampleRate enum valueVamp::Plugin::Plugin::OutputDescriptor

-
Generated on Mon Dec 8 14:37:20 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/structVamp_1_1Plugin_1_1OutputDescriptor.html --- a/code-doc/structVamp_1_1Plugin_1_1OutputDescriptor.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/structVamp_1_1Plugin_1_1OutputDescriptor.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ -VampPluginSDK: Vamp::Plugin::OutputDescriptor Struct Reference +VampPluginSDK: Vamp::Plugin::Plugin::OutputDescriptor Struct Reference + - - +
-

Vamp::Plugin::OutputDescriptor Struct Reference

#include <Plugin.h> +

Vamp::Plugin::Plugin::OutputDescriptor Struct Reference

#include <Plugin.h>

-List of all members.


Detailed Description

- -

Definition at line 201 of file vamp-sdk/Plugin.h.

- +List of all members.
- - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - +

Public Types

enum  SampleType { OneSamplePerStep, -FixedSampleRate, -VariableSampleRate +
enum  SampleType { OneSamplePerStep, +FixedSampleRate, +VariableSampleRate }

Public Member Functions

 OutputDescriptor ()
 OutputDescriptor ()

Public Attributes

std::string identifier
std::string identifier
 The name of the output, in computer-usable form.
std::string name
 The name of the output, in computer-usable form.
std::string name
 The human-readable name of the output.
std::string description
 The human-readable name of the output.
std::string description
 A human-readable short text describing the output.
std::string unit
 A human-readable short text describing the output.
std::string unit
 The unit of the output, in human-readable form.
bool hasFixedBinCount
 The unit of the output, in human-readable form.
bool hasFixedBinCount
 True if the output has the same number of values per sample for every output sample.
size_t binCount
 True if the output has the same number of values per sample for every output sample.
size_t binCount
 The number of values per result of the output.
std::vector< std::string > binNames
 The number of values per result of the output.
std::vector< std::string > binNames
 The (human-readable) names of each of the bins, if appropriate.
bool hasKnownExtents
 The (human-readable) names of each of the bins, if appropriate.
bool hasKnownExtents
 True if the results in each output bin fall within a fixed numeric range (minimum and maximum values).
float minValue
 True if the results in each output bin fall within a fixed numeric range (minimum and maximum values).
float minValue
 Minimum value of the results in the output.
float maxValue
 Minimum value of the results in the output.
float maxValue
 Maximum value of the results in the output.
bool isQuantized
 Maximum value of the results in the output.
bool isQuantized
 True if the output values are quantized to a particular resolution.
float quantizeStep
 True if the output values are quantized to a particular resolution.
float quantizeStep
 Quantization resolution of the output values (e.g.
SampleType sampleType
 Quantization resolution of the output values (e.g.
SampleType sampleType
 Positioning in time of the output results.
float sampleRate
 Positioning in time of the output results.
float sampleRate
 Sample rate of the output results, as samples per second.
bool hasDuration
 Sample rate of the output results, as samples per second.
bool hasDuration
 True if the returned results for this output are known to have a duration field.
 True if the returned results for this output are known to have a duration field.
+

Detailed Description

+ +

Definition at line 206 of file vamp-sdk/Plugin.h.


Member Enumeration Documentation

@@ -106,26 +106,26 @@

Enumerator:
- - -
OneSamplePerStep  +
OneSamplePerStep  Results from each process() align with that call's block start.
FixedSampleRate  +
FixedSampleRate  Results are evenly spaced in time (sampleRate specified below).
VariableSampleRate  +
VariableSampleRate  Results are unevenly spaced and have individual timestamps.
-

Definition at line 282 of file vamp-sdk/Plugin.h.

+

Definition at line 287 of file vamp-sdk/Plugin.h.


Constructor & Destructor Documentation

- +
- + @@ -137,17 +137,17 @@

-

Definition at line 317 of file vamp-sdk/Plugin.h.

+

Definition at line 322 of file vamp-sdk/Plugin.h.


Member Data Documentation

- +
Vamp::Plugin::OutputDescriptor::OutputDescriptor Vamp::Plugin::Plugin::OutputDescriptor::OutputDescriptor (  ) 
- +
std::string Vamp::Plugin::OutputDescriptor::identifier std::string Vamp::Plugin::Plugin::OutputDescriptor::identifier
@@ -157,18 +157,18 @@ The name of the output, in computer-usable form.

Should be reasonably short and without whitespace or punctuation, using the characters [a-zA-Z0-9_-] only. Example: "zero_crossing_count" -

Definition at line 209 of file vamp-sdk/Plugin.h.

+

Definition at line 214 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

- +

- +
std::string Vamp::Plugin::OutputDescriptor::name std::string Vamp::Plugin::Plugin::OutputDescriptor::name
@@ -178,18 +178,18 @@ The human-readable name of the output.

Example: "Zero Crossing Counts" -

Definition at line 215 of file vamp-sdk/Plugin.h.

+

Definition at line 220 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

- +

- +
std::string Vamp::Plugin::OutputDescriptor::description std::string Vamp::Plugin::Plugin::OutputDescriptor::description
@@ -199,18 +199,18 @@ A human-readable short text describing the output.

May be empty if the name has said it all already. Example: "The number of zero crossing points per processing block" -

Definition at line 222 of file vamp-sdk/Plugin.h.

+

Definition at line 227 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

- +

- +
std::string Vamp::Plugin::OutputDescriptor::unit std::string Vamp::Plugin::Plugin::OutputDescriptor::unit
@@ -220,18 +220,18 @@ The unit of the output, in human-readable form.

-

Definition at line 227 of file vamp-sdk/Plugin.h.

+

Definition at line 232 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

- +

- +
bool Vamp::Plugin::OutputDescriptor::hasFixedBinCount bool Vamp::Plugin::Plugin::OutputDescriptor::hasFixedBinCount
@@ -241,18 +241,18 @@ True if the output has the same number of values per sample for every output sample.

Outputs for which this is false are unlikely to be very useful in a general-purpose host. -

Definition at line 234 of file vamp-sdk/Plugin.h.

+

Definition at line 239 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

- +

- +
size_t Vamp::Plugin::OutputDescriptor::binCount size_t Vamp::Plugin::Plugin::OutputDescriptor::binCount
@@ -262,18 +262,18 @@ The number of values per result of the output.

Undefined if hasFixedBinCount is false. If this is zero, the output is point data (i.e. only the time of each output is of interest, the value list will be empty). -

Definition at line 242 of file vamp-sdk/Plugin.h.

+

Definition at line 247 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

- +

- +
std::vector<std::string> Vamp::Plugin::OutputDescriptor::binNames std::vector<std::string> Vamp::Plugin::Plugin::OutputDescriptor::binNames
@@ -283,16 +283,16 @@ The (human-readable) names of each of the bins, if appropriate.

This is always optional. -

Definition at line 248 of file vamp-sdk/Plugin.h.

+

Definition at line 253 of file vamp-sdk/Plugin.h.

- +

- +
bool Vamp::Plugin::OutputDescriptor::hasKnownExtents bool Vamp::Plugin::Plugin::OutputDescriptor::hasKnownExtents
@@ -302,18 +302,18 @@ True if the results in each output bin fall within a fixed numeric range (minimum and maximum values).

Undefined if binCount is zero. -

Definition at line 255 of file vamp-sdk/Plugin.h.

+

Definition at line 260 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

- +

- +
float Vamp::Plugin::OutputDescriptor::minValue float Vamp::Plugin::Plugin::OutputDescriptor::minValue
@@ -323,18 +323,18 @@ Minimum value of the results in the output.

Undefined if hasKnownExtents is false or binCount is zero. -

Definition at line 261 of file vamp-sdk/Plugin.h.

+

Definition at line 266 of file vamp-sdk/Plugin.h.

-

Referenced by FixedTempoEstimator::D::getOutputDescriptors().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors().

- +

- +
float Vamp::Plugin::OutputDescriptor::maxValue float Vamp::Plugin::Plugin::OutputDescriptor::maxValue
@@ -344,18 +344,18 @@ Maximum value of the results in the output.

Undefined if hasKnownExtents is false or binCount is zero. -

Definition at line 267 of file vamp-sdk/Plugin.h.

+

Definition at line 272 of file vamp-sdk/Plugin.h.

-

Referenced by FixedTempoEstimator::D::getOutputDescriptors().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors().

- +

- +
bool Vamp::Plugin::OutputDescriptor::isQuantized bool Vamp::Plugin::Plugin::OutputDescriptor::isQuantized
@@ -365,18 +365,18 @@ True if the output values are quantized to a particular resolution.

Undefined if binCount is zero. -

Definition at line 273 of file vamp-sdk/Plugin.h.

+

Definition at line 278 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

- +

- +
float Vamp::Plugin::OutputDescriptor::quantizeStep float Vamp::Plugin::Plugin::OutputDescriptor::quantizeStep
@@ -386,18 +386,18 @@ Quantization resolution of the output values (e.g.

1.0 if they are all integers). Undefined if isQuantized is false or binCount is zero. -

Definition at line 280 of file vamp-sdk/Plugin.h.

+

Definition at line 285 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), and FixedTempoEstimator::D::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), and FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors().

- +

- +
SampleType Vamp::Plugin::OutputDescriptor::sampleType SampleType Vamp::Plugin::Plugin::OutputDescriptor::sampleType
@@ -407,18 +407,18 @@ Positioning in time of the output results.

-

Definition at line 297 of file vamp-sdk/Plugin.h.

+

Definition at line 302 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), SpectralCentroid::getOutputDescriptors(), PowerSpectrum::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors(), and AmplitudeFollower::getOutputDescriptors().

- +

- +
float Vamp::Plugin::OutputDescriptor::sampleRate float Vamp::Plugin::Plugin::OutputDescriptor::sampleRate
@@ -429,18 +429,18 @@

Undefined if sampleType is OneSamplePerStep.

If sampleType is VariableSampleRate and this value is non-zero, then it may be used to calculate a resolution for the output (i.e. the "duration" of each sample, in time, will be 1/sampleRate seconds). It's recommended to set this to zero if that behaviour is not desired. -

Definition at line 309 of file vamp-sdk/Plugin.h.

+

Definition at line 314 of file vamp-sdk/Plugin.h.

-

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), and FixedTempoEstimator::D::getOutputDescriptors().

+

Referenced by ZeroCrossing::getOutputDescriptors(), PercussionOnsetDetector::getOutputDescriptors(), and FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors().

- +

- +
bool Vamp::Plugin::OutputDescriptor::hasDuration bool Vamp::Plugin::Plugin::OutputDescriptor::hasDuration
@@ -450,17 +450,17 @@ True if the returned results for this output are known to have a duration field.

-

Definition at line 315 of file vamp-sdk/Plugin.h.

+

Definition at line 320 of file vamp-sdk/Plugin.h.

-

Referenced by FixedTempoEstimator::D::getOutputDescriptors().

+

Referenced by FixedTempoEstimator::FixedTempoEstimator::D::getOutputDescriptors().


The documentation for this struct was generated from the following file: -
Generated on Mon Dec 8 14:37:20 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/structVamp_1_1RealTime.html --- a/code-doc/structVamp_1_1RealTime.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/structVamp_1_1RealTime.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Vamp::RealTime Class Reference + - - +
-

Vamp::RealTime Class Reference

#include <vamp-sdk/RealTime.h> +

Vamp::RealTime Class Reference

RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conversion functions. +More... +

+#include <vamp-sdk/RealTime.h>

-List of all members.


Detailed Description

-RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conversion functions. -

Definition at line 66 of file vamp-sdk/RealTime.h.

- +List of all members.
@@ -99,6 +99,9 @@

Public Member Functions

int usec () const
static const RealTime zeroTime
+

Detailed Description

+RealTime represents time values to nanosecond precision with accurate arithmetic and frame-rate conversion functions. +

Definition at line 66 of file vamp-sdk/RealTime.h.


Constructor & Destructor Documentation

@@ -323,7 +326,7 @@

- +

@@ -347,7 +350,7 @@

- +

@@ -720,8 +723,8 @@
The documentation for this class was generated from the following file: -
Generated on Mon Dec 8 14:37:21 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:14 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/struct__VampFeature-members.html --- a/code-doc/struct__VampFeature-members.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/struct__VampFeature-members.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: Member List + - - +
valueCount_VampFeature
values_VampFeature
-
Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by  +
Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by  -doxygen 1.5.6
+doxygen 1.5.8
diff -r 4b4db9230e94 -r 0976232e353b code-doc/struct__VampFeature.html --- a/code-doc/struct__VampFeature.html Wed Sep 23 15:09:53 2009 +0000 +++ b/code-doc/struct__VampFeature.html Fri Sep 25 15:40:18 2009 +0000 @@ -1,10 +1,10 @@ VampPluginSDK: _VampFeature Struct Reference + - - +

Comparing Vamp and VST