Mercurial > hg > qm-dsp
comparison dsp/chromagram/Chromagram.cpp @ 495:1bea13b8f951
Style fixes in constant-Q: avoid unsigned, reuse our Window class, fix
comments
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 31 May 2019 18:25:31 +0100 |
parents | fdaa63607c15 |
children |
comparison
equal
deleted
inserted
replaced
494:3f649fbb1172 | 495:1bea13b8f951 |
---|---|
55 | 55 |
56 // No. of constant Q bins | 56 // No. of constant Q bins |
57 m_uK = m_ConstantQ->getK(); | 57 m_uK = m_ConstantQ->getK(); |
58 | 58 |
59 // Initialise working arrays | 59 // Initialise working arrays |
60 m_frameSize = m_ConstantQ->getfftlength(); | 60 m_frameSize = m_ConstantQ->getFFTLength(); |
61 m_hopSize = m_ConstantQ->gethop(); | 61 m_hopSize = m_ConstantQ->getHop(); |
62 | 62 |
63 // Initialise FFT object | 63 // Initialise FFT object |
64 m_FFT = new FFTReal(m_frameSize); | 64 m_FFT = new FFTReal(m_frameSize); |
65 | 65 |
66 m_FFTRe = new double[ m_frameSize ]; | 66 m_FFTRe = new double[ m_frameSize ]; |