Mercurial > hg > sonic-annotator
comparison runner/FeatureExtractionManager.h @ 116:1c0799754670
Normalise option (yet to be tested)
author | Chris Cannam |
---|---|
date | Fri, 03 Oct 2014 15:42:55 +0100 |
parents | 0c2d8c945bbf |
children | 9a10c3ffff47 |
comparison
equal
deleted
inserted
replaced
115:95de6db296a1 | 116:1c0799754670 |
---|---|
41 FeatureExtractionManager(); | 41 FeatureExtractionManager(); |
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 | 47 |
47 bool setSummaryTypes(const set<string> &summaryTypes, | 48 bool setSummaryTypes(const set<string> &summaryTypes, |
48 const Vamp::HostExt::PluginSummarisingAdapter::SegmentBoundaries &boundaries); | 49 const Vamp::HostExt::PluginSummarisingAdapter::SegmentBoundaries &boundaries); |
49 | 50 |
50 void setSummariesOnly(bool summariesOnly); | 51 void setSummariesOnly(bool summariesOnly); |
134 | 135 |
135 int m_blockSize; | 136 int m_blockSize; |
136 int m_defaultSampleRate; | 137 int m_defaultSampleRate; |
137 int m_sampleRate; | 138 int m_sampleRate; |
138 int m_channels; | 139 int m_channels; |
140 bool m_normalise; | |
139 | 141 |
140 QMap<QString, AudioFileReader *> m_readyReaders; | 142 QMap<QString, AudioFileReader *> m_readyReaders; |
141 | 143 |
142 void print(Transform transform) const; | 144 void print(Transform transform) const; |
143 }; | 145 }; |