diff NNLSChroma.cpp @ 82:e8ceb7d3bd4f matthiasm-plugin

merge
author Matthias Mauch <mail@matthiasmauch.net>
date Mon, 15 Nov 2010 11:01:56 +0900
parents 026a5c0ee2c2 f50f701df33e
children 3277f6cef3fe
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;