Mercurial > hg > silvet
comparison src/Silvet.h @ 294:19fd6cb033c7
Add pitch activation matrix output
author | Chris Cannam |
---|---|
date | Wed, 15 Oct 2014 17:40:20 +0100 |
parents | e5f897b2d5e8 |
children | d6ab1b4918bd 07ee4ebea57c |
comparison
equal
deleted
inserted
replaced
293:71bef111e130 | 294:19fd6cb033c7 |
---|---|
90 vector<map<int, int> > m_pianoRollShifts; | 90 vector<map<int, int> > m_pianoRollShifts; |
91 map<Vamp::RealTime, float> m_inputGains; | 91 map<Vamp::RealTime, float> m_inputGains; |
92 | 92 |
93 Grid preProcess(const Grid &); | 93 Grid preProcess(const Grid &); |
94 | 94 |
95 void postProcess(const vector<double> &pitches, | 95 vector<double> postProcess(const vector<double> &pitches, |
96 const vector<int> &bestShifts, | 96 const vector<int> &bestShifts, |
97 bool wantShifts); // -> piano roll column | 97 bool wantShifts); // -> piano roll column |
98 | 98 |
99 FeatureList noteTrack(int shiftCount); | 99 FeatureList noteTrack(int shiftCount); |
100 | 100 |
101 void emitNote(int start, int end, int note, int shiftCount, | 101 void emitNote(int start, int end, int note, int shiftCount, |
102 FeatureList ¬eFeatures); | 102 FeatureList ¬eFeatures); |
116 int m_resampledCount; | 116 int m_resampledCount; |
117 Vamp::RealTime m_startTime; | 117 Vamp::RealTime m_startTime; |
118 | 118 |
119 mutable int m_notesOutputNo; | 119 mutable int m_notesOutputNo; |
120 mutable int m_fcqOutputNo; | 120 mutable int m_fcqOutputNo; |
121 mutable int m_pitchOutputNo; | |
121 }; | 122 }; |
122 | 123 |
123 #endif | 124 #endif |