comparison dsp/keydetection/GetKeyMode.cpp @ 47:38bf09927942

* Build fixes for gcc 4.3.2 * _Maybe_, but probably not, fix crash in tempo tracker... let's see how we get on
author cannam
date Mon, 10 Nov 2008 14:01:55 +0000
parents b4921bfd2aea
children d72fcd34d9a7
comparison
equal deleted inserted replaced
46:4f1870dbab2c 47:38bf09927942
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,