Mercurial > hg > vamp-aubio-plugins
comparison plugins/Mfcc.cpp @ 143:4d68433ab5a1
plugins/Mfcc.cpp: fix output rate
author | Paul Brossier <piem@piem.org> |
---|---|
date | Fri, 22 Jul 2016 15:31:16 +0200 |
parents | 767ead1cee18 |
children |
comparison
equal
deleted
inserted
replaced
142:9d7feef07e4e | 143:4d68433ab5a1 |
---|---|
197 d.description = "List of detected Mel-Frequency Cepstrum Coefficients"; | 197 d.description = "List of detected Mel-Frequency Cepstrum Coefficients"; |
198 d.unit = ""; | 198 d.unit = ""; |
199 d.hasFixedBinCount = true; | 199 d.hasFixedBinCount = true; |
200 d.binCount = m_ncoeffs; | 200 d.binCount = m_ncoeffs; |
201 d.isQuantized = true; | 201 d.isQuantized = true; |
202 d.sampleType = OutputDescriptor::FixedSampleRate; | 202 d.quantizeStep = 1.0; |
203 d.sampleRate = OutputDescriptor::OneSamplePerStep; | 203 d.sampleType = OutputDescriptor::OneSamplePerStep; |
204 list.push_back(d); | 204 list.push_back(d); |
205 | 205 |
206 return list; | 206 return list; |
207 } | 207 } |
208 | 208 |