GetKeyMode.cpp File Reference
#include "GetKeyMode.h"
#include "dsp/rateconversion/Decimator.h"
#include "dsp/chromagram/Chromagram.h"
#include "maths/MathUtilities.h"
#include "base/Pitch.h"
#include <iostream>
#include <cstring>
#include <cstdlib>
Include dependency graph for GetKeyMode.cpp:

Go to the source code of this file.

Variables

static const int kBinsPerOctave = 36
 
static double MajProfile [kBinsPerOctave]
 
static double MinProfile [kBinsPerOctave]
 

Variable Documentation

const int kBinsPerOctave = 36
static
double MajProfile[kBinsPerOctave]
static
Initial value:
= {
0.0384, 0.0629, 0.0258, 0.0121, 0.0146, 0.0106, 0.0364, 0.0610, 0.0267,
0.0126, 0.0121, 0.0086, 0.0364, 0.0623, 0.0279, 0.0275, 0.0414, 0.0186,
0.0173, 0.0248, 0.0145, 0.0364, 0.0631, 0.0262, 0.0129, 0.0150, 0.0098,
0.0312, 0.0521, 0.0235, 0.0129, 0.0142, 0.0095, 0.0289, 0.0478, 0.0239
}

Definition at line 34 of file GetKeyMode.cpp.

Referenced by GetKeyMode::GetKeyMode().

double MinProfile[kBinsPerOctave]
static
Initial value:
= {
0.0375, 0.0682, 0.0299, 0.0119, 0.0138, 0.0093, 0.0296, 0.0543, 0.0257,
0.0292, 0.0519, 0.0246, 0.0159, 0.0234, 0.0135, 0.0291, 0.0544, 0.0248,
0.0137, 0.0176, 0.0104, 0.0352, 0.0670, 0.0302, 0.0222, 0.0349, 0.0164,
0.0174, 0.0297, 0.0166, 0.0222, 0.0401, 0.0202, 0.0175, 0.0270, 0.0146
}

Definition at line 41 of file GetKeyMode.cpp.

Referenced by GetKeyMode::GetKeyMode().