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++)
Chromagram(ChromaConfig Config)
double kabs(double real, double imag)
Window< double > * m_window
int initialise(ChromaConfig Config)
double * process(const double *data)
MathUtilities::NormaliseType m_normalise
void unityNormalise(double *src)
void process(const double *FFTRe, const double *FFTIm, double *CQRe, double *CQIm)
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 ...
static void normalise(double *data, int length, NormaliseType n=NormaliseUnitMax)
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...
Various shaped windows for sample frame conditioning, including cosine windows (Hann etc) and triangu...
MathUtilities::NormaliseType normalise