FastLED 3.10.9
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 291 of file fft_impl.cpp.hpp.

291 {
292 mCqCfg.samples = samples;
293 mCqCfg.bands = bands;
294 mCqCfg.fmin = fmin;
295 mCqCfg.fmax = fmax;
296 mCqCfg.fs = sr;
297 mCqCfg.min_val = FL_FFT_MIN_VAL;
300 // Note: CQ kernels already apply Hamming windowing in frequency domain.
301 // Adding time-domain Hanning would double-window and over-attenuate.
302 }
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: