comparison transform/FeatureExtractionModelTransformer.cpp @ 1744:b92bdcd4954b by-id

Update FFT model to ById
author Chris Cannam
date Tue, 02 Jul 2019 11:49:28 +0100
parents fe3f7f8df3a3
children 6d09d68165a4
comparison
equal deleted inserted replaced
1743:7001b9570e37 1744:b92bdcd4954b
675 std::vector<FFTModel *> fftModels; 675 std::vector<FFTModel *> fftModels;
676 676
677 if (frequencyDomain) { 677 if (frequencyDomain) {
678 for (int ch = 0; ch < channelCount; ++ch) { 678 for (int ch = 0; ch < channelCount; ++ch) {
679 FFTModel *model = new FFTModel 679 FFTModel *model = new FFTModel
680 //!!! (input->getId(), 680 (input->getId(),
681 (nullptr,
682 channelCount == 1 ? m_input.getChannel() : ch, 681 channelCount == 1 ? m_input.getChannel() : ch,
683 primaryTransform.getWindowType(), 682 primaryTransform.getWindowType(),
684 blockSize, 683 blockSize,
685 stepSize, 684 stepSize,
686 blockSize); 685 blockSize);