changeset 121:072327bbb1a2 monophonicness

undid the chord estimation improvement for DarwinTunes compliance ... nearly ready for 0.3 now.
author matthiasm
date Fri, 15 Apr 2011 10:21:07 +0000
parents 7a8956e903e1
children 21181297da99
files Chordino.cpp
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Chordino.cpp	Fri Apr 15 10:01:53 2011 +0000
+++ b/Chordino.cpp	Fri Apr 15 10:21:07 2011 +0000
@@ -495,11 +495,11 @@
             }
         }
 
-		if (*max_element(origchroma.begin(), origchroma.end()) == 0) {
-			for (int i = 0; i < (int)chroma.size(); i++) {
-                chroma[i] = 1;
-            }
-		}
+//		if (*max_element(origchroma.begin(), origchroma.end()) == 0) {
+//			for (int i = 0; i < (int)chroma.size(); i++) {
+//                chroma[i] = 1;
+//           }
+//		}
 
         chromaList.push_back(currentChromas);