comparison src/Silvet.h @ 325:4cf4313d7e30 livemode

Always use q=0.8 and accept the hit on speed -- the templates are made for that configuration and it does work better. Also some adjustments to thresholding and peak picking for live mode in particular.
author Chris Cannam
date Mon, 18 May 2015 13:58:27 +0100
parents 213a51e197c8
children d25e4aee73d7
comparison
equal deleted inserted replaced
324:71ffe35578fa 325:4cf4313d7e30
103 103
104 vector<MedianFilter<double> *> m_postFilter; 104 vector<MedianFilter<double> *> m_postFilter;
105 vector<map<int, double> > m_pianoRoll; 105 vector<map<int, double> > m_pianoRoll;
106 vector<map<int, int> > m_pianoRollShifts; 106 vector<map<int, int> > m_pianoRollShifts;
107 map<Vamp::RealTime, float> m_inputGains; 107 map<Vamp::RealTime, float> m_inputGains;
108 set<int> m_current;
108 109
109 Grid preProcess(const Grid &); 110 Grid preProcess(const Grid &);
110 111
111 std::pair<vector<double>, vector<int> > applyEM(const InstrumentPack &pack, 112 std::pair<vector<double>, vector<int> > applyEM(const InstrumentPack &pack,
112 const vector<double> &column, 113 const vector<double> &column,