comparison data/model/FFTModel.h @ 297:c022976d18e8

* Merge from sv-match-alignment branch (excluding alignment-specific document). - add aggregate wave model (not yet complete enough to be added as a true model in a layer, but there's potential) - add play solo mode - add alignment model -- unused in plain SV - fix two plugin leaks - add m3u playlist support (opens all files at once, potentially hazardous) - fix retrieval of pre-encoded URLs - add ability to resample audio files on import, so as to match rates with other files previously loaded; add preference for same - add preliminary support in transform code for range and rate of transform input - reorganise preferences dialog, move dark-background option to preferences, add option for temporary directory location
author Chris Cannam
date Fri, 28 Sep 2007 13:56:38 +0000
parents daf89d31f45c
children aa8dbac62024
comparison
equal deleted inserted replaced
296:2b6c99b607f1 297:c022976d18e8
163 virtual void suspend() { m_server->suspend(); } 163 virtual void suspend() { m_server->suspend(); }
164 virtual void suspendWrites() { m_server->suspendWrites(); } 164 virtual void suspendWrites() { m_server->suspendWrites(); }
165 virtual void resume() { m_server->resume(); } 165 virtual void resume() { m_server->resume(); }
166 166
167 private: 167 private:
168 FFTModel(const FFTModel &); 168 FFTModel(const FFTModel &); // not implemented
169 FFTModel &operator=(const FFTModel &); // not implemented 169 FFTModel &operator=(const FFTModel &); // not implemented
170 170
171 FFTDataServer *m_server; 171 FFTDataServer *m_server;
172 int m_xshift; 172 int m_xshift;
173 int m_yshift; 173 int m_yshift;
174 174
175 FFTDataServer *getServer(const DenseTimeValueModel *,
176 int, WindowType, size_t, size_t, size_t,
177 bool, size_t);
178
175 size_t getPeakPickWindowSize(PeakPickType type, size_t sampleRate, 179 size_t getPeakPickWindowSize(PeakPickType type, size_t sampleRate,
176 size_t bin, float &percentile) const; 180 size_t bin, float &percentile) const;
177 }; 181 };
178 182
179 #endif 183 #endif