# HG changeset patch # User Matthias Mauch # Date 1289786516 -32400 # Node ID e8ceb7d3bd4f328f4f49f69d00d548a31c8d47e8 # Parent 4270f3039ab0aeef50051822980619ae174505ee# Parent f50f701df33e6682e86a66d22cf371499db41fdc merge diff -r 4270f3039ab0 -r e8ceb7d3bd4f NNLSChroma.cpp --- 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;