vector< fft::Bins > mFFTHistory
void setFFTHistoryDepth(int depth) FL_NOEXCEPT
flat_map< fl::size, int > mFFTCacheMap
bool hasFFT() const FL_NOEXCEPT
int getSampleRate() const FL_NOEXCEPT
vector< FFTCacheEntry > mFFTCache
span< const i16 > getPCM() const FL_NOEXCEPT
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
const Sample & getSample() const 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
bool hasFFTHistory() const FL_NOEXCEPT
bool isSilent() const FL_NOEXCEPT
u32 getTimestamp() const FL_NOEXCEPT
const fft::Bins * getHistoricalFFT(int framesBack) const FL_NOEXCEPT
const vector< fft::Bins > & getFFTHistory() const FL_NOEXCEPT
static constexpr int MAX_FFT_CACHE_ENTRIES
vector< shared_ptr< fft::Bins > > mRecyclePool
void setSilent(bool silent) FL_NOEXCEPT
BandEnergy getBandEnergy() FL_NOEXCEPT
float getZCF() const FL_NOEXCEPT
float getRMS() const FL_NOEXCEPT
void setSampleRate(int sampleRate) 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.