Mercurial > hg > match-vamp
comparison src/FeatureConditioner.h @ 140:cfba9aec7569 refactors
Separate out the raw & conditioned feature outputs (previously only conditioned was available, but we want raw for our tests). Plus some optional debug output
author | Chris Cannam |
---|---|
date | Thu, 08 Jan 2015 12:11:27 +0000 |
parents | b62dbe2ba958 |
children | d6f22887283e 7f6f150c1edf |
comparison
equal
deleted
inserted
replaced
139:b62dbe2ba958 | 140:cfba9aec7569 |
---|---|
89 * | 89 * |
90 * Note that FeatureConditioner maintains internal frame-to-frame | 90 * Note that FeatureConditioner maintains internal frame-to-frame |
91 * state: use one FeatureConditioner per audio source, and construct | 91 * state: use one FeatureConditioner per audio source, and construct |
92 * a new one for each new source. | 92 * a new one for each new source. |
93 */ | 93 */ |
94 FeatureConditioner(Parameters parameters) : | 94 FeatureConditioner(Parameters parameters); |
95 m_params(parameters), m_ltAverage(0.0) { } | |
96 | 95 |
97 /** | 96 /** |
98 * Process the given feature and return the conditioned feature. | 97 * Process the given feature and return the conditioned feature. |
99 */ | 98 */ |
100 std::vector<double> process(const std::vector<double> &feature); | 99 std::vector<double> process(const std::vector<double> &feature); |