Mercurial > hg > qm-dsp
comparison dsp/keydetection/GetKeyMode.cpp @ 272:330c2e11f8a9
* Build fixes for gcc 4.3.2
* _Maybe_, but probably not, fix crash in tempo tracker... let's see how
we get on
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 10 Nov 2008 14:01:55 +0000 |
parents | 9aedf5ea8c35 |
children | d72fcd34d9a7 |
comparison
equal
deleted
inserted
replaced
271:61ac228cc67e | 272:330c2e11f8a9 |
---|---|
7 #include "GetKeyMode.h" | 7 #include "GetKeyMode.h" |
8 #include "maths/MathUtilities.h" | 8 #include "maths/MathUtilities.h" |
9 #include "base/Pitch.h" | 9 #include "base/Pitch.h" |
10 | 10 |
11 #include <iostream> | 11 #include <iostream> |
12 | |
13 #include <cstring> | |
14 #include <cstdlib> | |
12 | 15 |
13 // Chords profile | 16 // Chords profile |
14 static double MajProfile[36] = | 17 static double MajProfile[36] = |
15 { 0.0384, 0.0629, 0.0258, 0.0121, 0.0146, 0.0106, 0.0364, 0.0610, 0.0267, | 18 { 0.0384, 0.0629, 0.0258, 0.0121, 0.0146, 0.0106, 0.0364, 0.0610, 0.0267, |
16 0.0126, 0.0121, 0.0086, 0.0364, 0.0623, 0.0279, 0.0275, 0.0414, 0.0186, | 19 0.0126, 0.0121, 0.0086, 0.0364, 0.0623, 0.0279, 0.0275, 0.0414, 0.0186, |