MCPcopy Create free account
hub / github.com/audeering/opensmile / getMagnitudes

Method getMagnitudes

src/functionals/functionalModulation.cpp:228–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228const FLOAT_DMEM * cSmileUtilWindowedMagnitudeSpectrum::getMagnitudes(
229 const FLOAT_DMEM *in, long Nin, bool allowWinSmaller = false)
230{
231 copyInputAndZeropad(in, Nin, allowWinSmaller);
232 doFFT();
233 computeMagnitudes();
234// TODO: convert fftWork to right pointer type upon return!!!!
235// This is a temp hack to make the compiler happy, but it breaks the compontnt!!
236 return (FLOAT_DMEM*)fftWork_;
237}
238
239/////////////////////////////////////////////////////////
240cSmileUtilMappedMagnitudeSpectrum::cSmileUtilMappedMagnitudeSpectrum(long Nin,

Callers 1

computeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected