diff dsp/keydetection/GetKeyMode.cpp @ 233:b478b1e23ab2

...
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 12 Dec 2006 10:34:38 +0000
parents 2b74f9646331
children 381758cfbe64
line wrap: on
line diff
--- a/dsp/keydetection/GetKeyMode.cpp	Mon Dec 11 09:48:33 2006 +0000
+++ b/dsp/keydetection/GetKeyMode.cpp	Tue Dec 12 10:34:38 2006 +0000
@@ -236,5 +236,6 @@
 
 int GetKeyMode::isModeMinor( int key )
 { 
-	return ((key-1 - (int)MathUtilities::mod((double)(key-1),(double)12))/12); 
+//	return ((key-1 - (int)MathUtilities::mod((double)(key-1),(double)12))/12); 
+	return (key > 12);
 }