allowWinSmaller = false : If window gets smaller than N/2, everything will be re-allocated and an FFT of N/2 (or smaller) will be performed .. = true: The smaller input window will only be zero-padded and the full fft is performed
| 349 | // allowWinSmaller = false : If window gets smaller than N/2, everything will be re-allocated and an FFT of N/2 (or smaller) will be performed |
| 350 | // .. = true: The smaller input window will only be zero-padded and the full fft is performed |
| 351 | void cSmileUtilMappedMagnitudeSpectrum::compute( |
| 352 | const FLOAT_DMEM *in, long Nin, bool allowWinSmaller = false) |
| 353 | { |
| 354 | const FLOAT_DMEM *mags = fft_->getMagnitudes(in, Nin, allowWinSmaller); |
| 355 | mapMagnitudesToModSpecBins(mags, fft_->getNmagnitudes()); |
| 356 | } |
| 357 | |
| 358 | const FLOAT_DMEM * cSmileUtilMappedMagnitudeSpectrum::getModSpec() |
| 359 | { |
no test coverage detected