Mercurial > hg > tony
comparison src/Analyser.h @ 325:ef75afbe4c67
Wire up "analyse now"
author | Chris Cannam |
---|---|
date | Fri, 13 Jun 2014 14:36:30 +0100 |
parents | 2a2fd6eb8fa8 |
children | b176ea403ee8 |
comparison
equal
deleted
inserted
replaced
324:ac662fca8058 | 325:ef75afbe4c67 |
---|---|
44 | 44 |
45 // Process new main model, add derived layers; return "" on success or error string on failure | 45 // Process new main model, add derived layers; return "" on success or error string on failure |
46 QString newFileLoaded(Document *newDocument, WaveFileModel *model, | 46 QString newFileLoaded(Document *newDocument, WaveFileModel *model, |
47 PaneStack *paneStack, Pane *pane); | 47 PaneStack *paneStack, Pane *pane); |
48 | 48 |
49 // Remove any derived layers, process the main model, add derived layers; return "" on success or error string on failure | |
50 QString analyseExistingFile(); | |
51 | |
49 // Discard any layers etc associated with the current document | 52 // Discard any layers etc associated with the current document |
50 void fileClosed(); | 53 void fileClosed(); |
51 | 54 |
52 void setIntelligentActions(bool); | 55 void setIntelligentActions(bool); |
53 | 56 |
224 Selection m_reAnalysingSelection; | 227 Selection m_reAnalysingSelection; |
225 std::vector<Layer *> m_reAnalysisCandidates; | 228 std::vector<Layer *> m_reAnalysisCandidates; |
226 int m_currentCandidate; | 229 int m_currentCandidate; |
227 bool m_candidatesVisible; | 230 bool m_candidatesVisible; |
228 | 231 |
232 QString doAllAnalyses(); | |
233 | |
229 QString addVisualisations(); | 234 QString addVisualisations(); |
230 QString addWaveform(); | 235 QString addWaveform(); |
231 QString addAnalyses(); | 236 QString addAnalyses(); |
232 | 237 |
233 void discardPitchCandidates(); | 238 void discardPitchCandidates(); |