1 #ifndef INCLUDE_SPECTRUMVIS_H 2 #define INCLUDE_SPECTRUMVIS_H 35 unsigned int averageNb,
41 m_overlapPercent(overlapPercent),
42 m_averageNb(averageNb),
46 m_avgMode = preProcessMode < 0 ? AvgModeNone : preProcessMode > 3 ? AvgModeMax : (
SpectrumVis::AvgMode) preProcessMode;
71 unsigned int averagingNb,
76 virtual void feed(
const SampleVector::const_iterator& begin,
const SampleVector::const_iterator& end,
bool positiveOnly);
77 void feedTriggered(
const SampleVector::const_iterator& triggerPoint,
const SampleVector::const_iterator& end,
bool positiveOnly);
80 virtual bool handleMessage(
const Message& message);
111 void handleConfigure(
int fftSize,
113 unsigned int averageNb,
119 #endif // INCLUDE_SPECTRUMVIS_H
GLSpectrum * m_glSpectrum
std::size_t m_overlapSize
FixedAverage2D< double > m_fixedAverage
std::size_t m_overlapPercent
#define MESSAGE_CLASS_DECLARATION
std::vector< Real > m_powerSpectrum
std::size_t m_fftBufferFill
MovingAverage2D< double > m_movingAverage
std::vector< Complex > m_fftBuffer