Mercurial > hg > silvet
diff src/Silvet.h @ 55:384338fa460d preshift
Support shifts as an additional dimension (as in the original model). Also return velocity as well.
author | Chris Cannam |
---|---|
date | Tue, 08 Apr 2014 13:30:32 +0100 |
parents | 782ca0d9ff3e |
children | 840c0d703bbb e282930cfca7 |
line wrap: on
line diff
--- a/src/Silvet.h Mon Apr 07 17:36:40 2014 +0100 +++ b/src/Silvet.h Tue Apr 08 13:30:32 2014 +0100 @@ -27,6 +27,7 @@ using std::string; using std::vector; using std::set; +using std::map; class Resampler; class CQInterpolated; @@ -75,7 +76,7 @@ typedef vector<vector<double> > Grid; vector<MedianFilter<double> *> m_postFilter; - vector<set<int> > m_pianoRoll; + vector<map<int, double> > m_pianoRoll; Grid preProcess(const Grid &); FeatureList postProcess(const vector<double> &);