Mercurial > hg > vamp-aubio-plugins
comparison plugins/MelEnergy.cpp @ 146:c89b3954de00
plugins/MelEnergy.cpp: fix output rate
author | Paul Brossier <piem@piem.org> |
---|---|
date | Fri, 22 Jul 2016 15:49:33 +0200 |
parents | 767ead1cee18 |
children |
comparison
equal
deleted
inserted
replaced
145:4e37f52e78df | 146:c89b3954de00 |
---|---|
186 d.description = "List of computed Energies in each Mel-Frequency Band"; | 186 d.description = "List of computed Energies in each Mel-Frequency Band"; |
187 d.unit = ""; | 187 d.unit = ""; |
188 d.hasFixedBinCount = true; | 188 d.hasFixedBinCount = true; |
189 d.binCount = m_nfilters; | 189 d.binCount = m_nfilters; |
190 d.isQuantized = true; | 190 d.isQuantized = true; |
191 d.sampleType = OutputDescriptor::FixedSampleRate; | 191 d.quantizeStep = 1.0; |
192 d.sampleRate = OutputDescriptor::OneSamplePerStep; | 192 d.sampleType = OutputDescriptor::OneSamplePerStep; |
193 list.push_back(d); | 193 list.push_back(d); |
194 | 194 |
195 return list; | 195 return list; |
196 } | 196 } |
197 | 197 |