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

...
author cannam
date Tue, 12 Dec 2006 10:34:38 +0000
parents 85a9e268a8c4
children 381758cfbe64
comparison
equal deleted inserted replaced
7:85a9e268a8c4 8:9774e6ad0dd2
234 } 234 }
235 235
236 236
237 int GetKeyMode::isModeMinor( int key ) 237 int GetKeyMode::isModeMinor( int key )
238 { 238 {
239 return ((key-1 - (int)MathUtilities::mod((double)(key-1),(double)12))/12); 239 // return ((key-1 - (int)MathUtilities::mod((double)(key-1),(double)12))/12);
240 } 240 return (key > 12);
241 }