comparison plugins/Onset.cpp @ 12:62414aaaaa7e

* Update to new Vamp process() * Add hack for getting raw tempo out of hacked Aubio
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 12 Dec 2006 10:42:21 +0000
parents 75189a3dc043
children 1169d00391d8
comparison
equal deleted inserted replaced
11:dcc20cd836d7 12:62414aaaaa7e
223 223
224 return list; 224 return list;
225 } 225 }
226 226
227 Onset::FeatureSet 227 Onset::FeatureSet
228 Onset::process(float **inputBuffers, Vamp::RealTime timestamp) 228 Onset::process(const float *const *inputBuffers,
229 Vamp::RealTime timestamp)
229 { 230 {
230 for (size_t i = 0; i < m_stepSize; ++i) { 231 for (size_t i = 0; i < m_stepSize; ++i) {
231 for (size_t j = 0; j < m_channelCount; ++j) { 232 for (size_t j = 0; j < m_channelCount; ++j) {
232 fvec_write_sample(m_ibuf, inputBuffers[j][i], j, i); 233 fvec_write_sample(m_ibuf, inputBuffers[j][i], j, i);
233 } 234 }