|
enum class | EWindowType {
Hann = 0
, BlackmanHarris
, Hamming
, Flattop
,
Rectangular
} |
|
enum class | EOutputType { Complex = 0
, MagPhase
} |
|
using | TDataPacket = std::array< float, MAX_FFT_SIZE > |
|
using | TBufferSender = IBufferSender< MAXNC, QUEUE_SIZE, MAX_FFT_SIZE > |
|
using | TDataPacket = std::array< float, MAXBUF > |
|
using | TSender = ISender< MAXNC, QUEUE_SIZE, TDataPacket > |
|
|
| ISpectrumSender (int fftSize=1024, int overlap=2, EWindowType window=EWindowType::Hann, EOutputType outputType=EOutputType::MagPhase, double minThresholdDb=-100.0) |
|
void | SetFFTSize (int fftSize) |
|
void | SetFFTSizeAndOverlap (int fftSize, int overlap) |
|
void | SetWindowType (EWindowType windowType) |
|
void | SetOutputType (EOutputType outputType) |
|
void | PrepareDataForUI (ISenderData< MAXNC, TDataPacket > &d) override |
|
int | GetFFTSize () const |
|
int | GetOverlap () const |
|
| IBufferSender (double minThresholdDb=-90., int bufferSize=MAXBUF) |
|
void | ProcessBlock (sample **inputs, int nFrames, int ctrlTag=kNoTag, int nChans=MAXNC, int chanOffset=0) |
| Queue sample buffers into the sender, checking the data is over the required threshold. More...
|
|
void | SetBufferSize (int bufferSize) |
|
int | GetBufferSize () const |
|
void | PushData (const ISenderData< MAXNC, T > &d) |
| Pushes a data element onto the queue. More...
|
|
virtual void | PrepareDataForUI (ISenderData< MAXNC, T > &d) |
| This is called on the main thread and can be used to transform the data, e.g. More...
|
|
void | TransmitData (IEditorDelegate &dlg) |
| Pops elements off the queue and sends messages to controls. More...
|
|
void | TransmitDataToControlsWithTags (IEditorDelegate &dlg, const std::initializer_list< int > &ctrlTags) |
| This variation can be used if you need to supply multiple controls with the same ISenderData, overriding the tags in the data packet. More...
|
|
template<int MAXNC = 1, int QUEUE_SIZE = 64, int MAX_FFT_SIZE = 4096>
class ISpectrumSender< MAXNC, QUEUE_SIZE, MAX_FFT_SIZE >
ISpectrumSender is designed for sending Spectral Data from the plug-in to the UI.
Definition at line 509 of file ISender.h.