Mercurial > hg > sonic-annotator
comparison runner/FeatureExtractionManager.h @ 263:68dc2d99a5b1 piper-nopiper
Debug output updates, add quiet mode
author | Chris Cannam |
---|---|
date | Tue, 22 Nov 2016 16:42:56 +0000 |
parents | 9a10c3ffff47 |
children | 0e866ef12d87 |
comparison
equal
deleted
inserted
replaced
262:d7bbc5b03619 | 263:68dc2d99a5b1 |
---|---|
36 class AudioFileReader; | 36 class AudioFileReader; |
37 | 37 |
38 class FeatureExtractionManager | 38 class FeatureExtractionManager |
39 { | 39 { |
40 public: | 40 public: |
41 FeatureExtractionManager(); | 41 FeatureExtractionManager(bool verbose); |
42 virtual ~FeatureExtractionManager(); | 42 virtual ~FeatureExtractionManager(); |
43 | 43 |
44 void setChannels(int channels); | 44 void setChannels(int channels); |
45 void setDefaultSampleRate(int sampleRate); | 45 void setDefaultSampleRate(int sampleRate); |
46 void setNormalise(bool normalise); | 46 void setNormalise(bool normalise); |
73 // a single "file" whose individual channels are mixdowns of the | 73 // a single "file" whose individual channels are mixdowns of the |
74 // supplied sources. | 74 // supplied sources. |
75 void extractFeaturesMultiplexed(QStringList sources); | 75 void extractFeaturesMultiplexed(QStringList sources); |
76 | 76 |
77 private: | 77 private: |
78 bool m_verbose; | |
79 | |
78 // A plugin may have many outputs, so we can have more than one | 80 // A plugin may have many outputs, so we can have more than one |
79 // transform requested for a single plugin. The things we want to | 81 // transform requested for a single plugin. The things we want to |
80 // run in our process loop are plugins rather than their outputs, | 82 // run in our process loop are plugins rather than their outputs, |
81 // so we maintain a map from the plugins to the transforms desired | 83 // so we maintain a map from the plugins to the transforms desired |
82 // of them and then iterate through this map | 84 // of them and then iterate through this map |