FastLED 3.9.15
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 282 of file fft_impl.cpp.hpp.

282 {
283 mCqCfg.samples = samples;
284 mCqCfg.bands = bands;
285 mCqCfg.fmin = fmin;
286 mCqCfg.fmax = fmax;
287 mCqCfg.fs = sr;
288 mCqCfg.min_val = FL_FFT_MIN_VAL;
291 // Note: CQ kernels already apply Hamming windowing in frequency domain.
292 // Adding time-domain Hanning would double-window and over-attenuate.
293 }
fl::vector< u8 > mLinearBinLut
void buildLinearBinLut(fl::vector< u8 > &lut, int fftN)
struct sparse_arr * generate_kernels(struct cq_kernel_cfg cfg) FL_NOEXCEPT
#define FL_FFT_MIN_VAL

References buildLinearBinLut(), FL_FFT_MIN_VAL, 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: