comparison src/Silvet.h @ 165:f73be84f5c90

Use 20ms resolution in hq mode, 40ms only in draft mode
author Chris Cannam
date Tue, 20 May 2014 16:48:33 +0100
parents 03ba9b25e0d0
children 7979fa40c9f7
comparison
equal deleted inserted replaced
164:629c9525b815 165:f73be84f5c90
76 Resampler *m_resampler; 76 Resampler *m_resampler;
77 CQSpectrogram *m_cq; 77 CQSpectrogram *m_cq;
78 78
79 bool m_hqMode; 79 bool m_hqMode;
80 int m_instrument; 80 int m_instrument;
81 int m_colsPerSec;
81 82
82 typedef vector<vector<double> > Grid; 83 typedef vector<vector<double> > Grid;
83 84
84 vector<MedianFilter<double> *> m_postFilter; 85 vector<MedianFilter<double> *> m_postFilter;
85 vector<map<int, double> > m_pianoRoll; 86 vector<map<int, double> > m_pianoRoll;
91 string noteName(int n) const; 92 string noteName(int n) const;
92 float noteFrequency(int n) const; 93 float noteFrequency(int n) const;
93 94
94 int m_blockSize; 95 int m_blockSize;
95 int m_columnCount; 96 int m_columnCount;
96 int m_reducedColumnCount;
97 Vamp::RealTime m_startTime; 97 Vamp::RealTime m_startTime;
98 98
99 mutable int m_notesOutputNo; 99 mutable int m_notesOutputNo;
100 }; 100 };
101 101