changeset 82:e8ceb7d3bd4f matthiasm-plugin

merge
author Matthias Mauch <mail@matthiasmauch.net>
date Mon, 15 Nov 2010 11:01:56 +0900
parents 4270f3039ab0 (current diff) f50f701df33e (diff)
children 3277f6cef3fe fc28c50caace
files NNLSChroma.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NNLSChroma.cpp	Mon Nov 15 11:01:36 2010 +0900
+++ b/NNLSChroma.cpp	Mon Nov 15 11:01:56 2010 +0900
@@ -399,6 +399,8 @@
                     basschroma[signifIndex[iNote] % 12] += x[iNote] * basswindow[signifIndex[iNote]];
                 }
             }	
+        } else {
+            for (int i = 0; i < 84; ++i) f3.values.push_back(0);
         }
 			
         f4.values = chroma;