diff dsp/keydetection/GetKeyMode.cpp @ 8:9774e6ad0dd2

...
author cannam
date Tue, 12 Dec 2006 10:34:38 +0000
parents 85a9e268a8c4
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);
 }