47 ConstantQConfig.
FS = Config.
FS;
101 double ab = sqrt(xx*xx + yy*yy);
115 for(
unsigned int i = 0; i <
m_BPO; i++ )
117 val = src[ i ] / max;
164 const unsigned octaves = (int)floor(
double(
m_uK/m_BPO))-1;
165 for (
unsigned octave = 0; octave <= octaves; octave++)
167 unsigned firstBin = octave*
m_BPO;
168 for (
unsigned i = 0; i <
m_BPO; i++)
double * process(const double *data)
Chromagram(ChromaConfig Config)
MathUtilities::NormaliseType normalise
void process(const double *FFTRe, const double *FFTIm, double *CQRe, double *CQIm)
MathUtilities::NormaliseType m_normalise
void forward(const double *realIn, double *realOut, double *imagOut)
Carry out a forward real-to-complex transform of size nsamples, where nsamples is the value provided ...
int initialise(ChromaConfig Config)
static void getFrameMinMax(const double *data, unsigned int len, double *min, double *max)
Return through min and max pointers the highest and lowest values in the given array of the given len...
Window< double > * m_window
double kabs(double real, double imag)
void unityNormalise(double *src)
static void normalise(double *data, int length, NormaliseType n=NormaliseUnitMax)