vector< fft::Bins > mFFTHistory
void setFFTHistoryDepth(int depth) FL_NOEXCEPT
flat_map< fl::size, int > mFFTCacheMap
vector< FFTCacheEntry > mFFTCache
shared_ptr< const fft::Bins > getFFT(int bands=16, float fmin=fft::Args::DefaultMinFrequency(), float fmax=fft::Args::DefaultMaxFrequency(), fft::Mode mode=fft::Mode::AUTO, fft::Window window=fft::Window::BLACKMAN_HARRIS) FL_NOEXCEPT
void setSample(const Sample &sample) FL_NOEXCEPT
shared_ptr< const fft::Bins > getFFT16(fft::Mode mode=fft::Mode::LOG_REBIN, fft::Window window=fft::Window::BLACKMAN_HARRIS) FL_NOEXCEPT
void clearCache() FL_NOEXCEPT
const fft::Bins * getHistoricalFFT(int framesBack) const FL_NOEXCEPT
static constexpr int MAX_FFT_CACHE_ENTRIES
vector< shared_ptr< fft::Bins > > mRecyclePool
BandEnergy getBandEnergy() FL_NOEXCEPT
Context(const Sample &sample) FL_NOEXCEPT
static fl::size hashFFTArgs(const fft::Args &args) FL_NOEXCEPT
shared_ptr< fft::Bins > bins
CRGB sample(const CRGB *grid, const XYMap &xyMap, float x, float y, SampleMode mode)
Sample a pixel from a 2D CRGB grid at floating-point coordinates.
Context() FL_NOEXCEPT=default