diff Chordino.cpp @ 168:0a743c2dac6a

Let's be even more slack about that one
author Chris Cannam
date Thu, 22 Oct 2015 11:06:23 +0100
parents 25db325b6cf9
children d95c4cdef8af
line wrap: on
line diff
--- a/Chordino.cpp	Thu Oct 22 11:03:13 2015 +0100
+++ b/Chordino.cpp	Thu Oct 22 11:06:23 2015 +0100
@@ -501,12 +501,12 @@
             }
             if (iChord == nChord-1) tempchordvalue *= .7;
             if (tempchordvalue < 0) tempchordvalue = 0.0;
-            if (tempchordvalue > 40.0) {
+            if (tempchordvalue > 200.0) {
                 if (!clipwarned) {
                     cerr << "WARNING: interim chroma contains extreme chord value " << tempchordvalue << ", clipping this and any others that appear" << endl;
                     clipwarned = true;
                 }
-                tempchordvalue = 40.0;
+                tempchordvalue = 200.0;
             }
             tempchordvalue = pow(1.3, tempchordvalue);
             sumchordvalue += tempchordvalue;