Mercurial > hg > silvet
diff src/Silvet.h @ 170:2114b2545c27 finetune
Refactor to avoid allocating 300 EM objects at a time!
author | Chris Cannam |
---|---|
date | Wed, 21 May 2014 11:53:31 +0100 |
parents | 192c4ba3de45 |
children | abfd19f5cc1a |
line wrap: on
line diff
--- a/src/Silvet.h Wed May 21 11:15:53 2014 +0100 +++ b/src/Silvet.h Wed May 21 11:53:31 2014 +0100 @@ -89,10 +89,9 @@ Grid preProcess(const Grid &); - void postProcess(const float *pitches, - const float *const *shifts, - int shiftCount, - double gain); // -> piano roll column + void postProcess(const vector<double> &pitches, + const vector<int> &bestShifts, + bool wantShifts); // -> piano roll column FeatureList noteTrack(int shiftCount);