FastLED 3.9.15
Loading...
Searching...
No Matches

◆ info()

fl::string fl::FFTContext::info ( ) const
inline

Definition at line 109 of file fft_impl.cpp.

109 {
110 // Calculate frequency delta
111 float delta_f = (m_cq_cfg.fmax - m_cq_cfg.fmin) / m_cq_cfg.bands;
112 fl::StrStream ss;
113 ss << "FFTImpl Frequency Bands: ";
114
115 for (int i = 0; i < m_cq_cfg.bands; ++i) {
116 float f_start = m_cq_cfg.fmin + i * delta_f;
117 float f_end = f_start + delta_f;
118 ss << f_start << "Hz-" << f_end << "Hz, ";
119 }
120
121 return ss.str();
122 }
cq_kernel_cfg m_cq_cfg
Definition fft_impl.cpp:127
const string & str() const
Definition strstream.h:51

References m_cq_cfg, and fl::StrStream::str().

+ Here is the call graph for this function: