diff chromamethods.cpp @ 95:dab7e7bfeba1 matthiasm-plugin 0.2

added release notes, updated README
author matthiasm
date Fri, 03 Dec 2010 00:46:12 +0900
parents b56dde3417d4
children daee3c60c4f9
line wrap: on
line diff
--- a/chromamethods.cpp	Thu Dec 02 23:39:57 2010 +0900
+++ b/chromamethods.cpp	Fri Dec 03 00:46:12 2010 +0900
@@ -468,7 +468,7 @@
         if (iChord < (int)loadedChordDict.size()/24 - 1) {
             stand = powf(stand,1.0f/exponent);
         } else {
-            stand = powf(stand,1.0f/exponent) / boostN;
+            stand = powf(stand,1.0f/exponent) / (1+boostN);
         }
         for (int iST = 0; iST < 24; ++iST) {
             loadedChordDict[24 * iChord + iST] /= stand;