comparison plugins/TonalChangeDetect.cpp @ 18:99dadc93042e

* Adapt to Vamp API update * Add an output for locked tempo from beat detector
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 08 Dec 2006 18:06:35 +0000
parents 3b02e26b23ff
children 6d014fb538db
comparison
equal deleted inserted replaced
17:d4a92aab8147 18:99dadc93042e
287 list.push_back(changes); 287 list.push_back(changes);
288 288
289 return list; 289 return list;
290 } 290 }
291 291
292 TonalChangeDetect::FeatureSet TonalChangeDetect::process(float **inputBuffers, Vamp::RealTime timestamp) 292 TonalChangeDetect::FeatureSet
293 TonalChangeDetect::process(const float *const *inputBuffers,
294 Vamp::RealTime timestamp)
293 { 295 {
294 if (!m_chromagram) { 296 if (!m_chromagram) {
295 cerr << "ERROR: TonalChangeDetect::process: " 297 cerr << "ERROR: TonalChangeDetect::process: "
296 << "Chromagram has not been initialised" 298 << "Chromagram has not been initialised"
297 << endl; 299 << endl;