FastLED 3.10.8
Loading...
Searching...
No Matches

◆ initNaive()

void fl::audio::fft::Context::initNaive ( int samples,
int bands,
float fmin,
float fmax,
int sr )
inlineprivate

Definition at line 292 of file fft_impl.cpp.hpp.

292 {
293 mCqCfg.samples = samples;
294 mCqCfg.bands = bands;
295 mCqCfg.fmin = fmin;
296 mCqCfg.fmax = fmax;
297 mCqCfg.fs = sr;
298 mCqCfg.min_val = FL_FFT_MIN_VAL;
301 // Note: CQ kernels already apply Hamming windowing in frequency domain.
302 // Adding time-domain Hanning would double-window and over-attenuate.
303 }
void buildLinearBinLut(fl::vector< u8 > &lut, int fftN) FL_NO_EXCEPT
fl::vector< u8 > mLinearBinLut
struct sparse_arr * generate_kernels(struct cq_kernel_cfg cfg)
#define FL_FFT_MIN_VAL

References buildLinearBinLut(), FL_FFT_MIN_VAL, fl::FL_NO_EXCEPT, generate_kernels(), mCqCfg, mKernels, and mLinearBinLut.

Referenced by Context().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: