Wire up formant option; some tidying

This commit is contained in:
Chris Cannam
2022-05-27 15:16:10 +01:00
parent 7febc09dbc
commit ce64122ffe
3 changed files with 20 additions and 11 deletions

View File

@@ -221,11 +221,13 @@ protected:
};
struct FormantData {
bool enabled;
FixedVector<double> cepstra;
FixedVector<double> envelope;
FixedVector<double> shifted;
FormantData(int _fftSize) :
enabled(false),
cepstra(_fftSize, 0.0),
envelope(_fftSize, 0.0),
shifted(_fftSize, 0.0) { }