Mercurial > hg > constant-q-cpp
comparison vamp/CQVamp.cpp @ 94:fa1709ed4a3c
Inverse runs; now merely needs to run correctly
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 09 May 2014 15:16:48 +0100 |
parents | bfc7cf71f2ef |
children | f5325762ff6d |
comparison
equal
deleted
inserted
replaced
93:908be1d06bd2 | 94:fa1709ed4a3c |
---|---|
270 d.hasFixedBinCount = true; | 270 d.hasFixedBinCount = true; |
271 d.binCount = (m_cq ? m_cq->getTotalBins() : (9 * 24)); | 271 d.binCount = (m_cq ? m_cq->getTotalBins() : (9 * 24)); |
272 | 272 |
273 if (m_cq) { | 273 if (m_cq) { |
274 char name[20]; | 274 char name[20]; |
275 for (int i = 0; i < d.binCount; ++i) { | 275 for (int i = 0; i < (int)d.binCount; ++i) { |
276 float freq = m_cq->getBinFrequency(i); | 276 float freq = m_cq->getBinFrequency(i); |
277 sprintf(name, "%.1f Hz", freq); | 277 sprintf(name, "%.1f Hz", freq); |
278 d.binNames.push_back(name); | 278 d.binNames.push_back(name); |
279 } | 279 } |
280 } | 280 } |