Copyright (C) 2006-2015 Paul Brossier <piem@aubio.org>
- This file is part of vamp-aubio.
+ This file is part of vamp-aubio-plugins.
vamp-aubio is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
d.binCount = m_ncoeffs;
d.isQuantized = true;
d.sampleType = OutputDescriptor::FixedSampleRate;
- d.sampleRate = m_inputSampleRate / m_stepSize;
+ d.sampleRate = OutputDescriptor::OneSamplePerStep;
list.push_back(d);
return list;
Mfcc::FeatureSet
Mfcc::process(const float *const *inputBuffers,
- Vamp::RealTime timestamp)
+ UNUSED Vamp::RealTime timestamp)
{
FeatureSet returnFeatures;
aubio_mfcc_do(m_mfcc, m_ispec, m_ovec);
Feature feature;
- //feature.hasTimestamp = false;
- feature.timestamp = timestamp;
for (uint_t i = 0; i < m_ovec->length; i++) {
float value = m_ovec->data[i];
feature.values.push_back(value);