#include </opt/build/repo/nap/system_modules/napfft/src/fftnode.h>
Public Member Functions | |
FFTNode (audio::NodeManager &nodeManager, FFTBuffer::EOverlap overlaps=FFTBuffer::EOverlap::One) | |
virtual | ~FFTNode () |
void | process () override |
const FFTBuffer & | getFFTBuffer () const |
FFTBuffer & | getFFTBuffer () |
![]() | |
Node (NodeManager &manager) | |
const std::set< OutputPin * > & | getOutputs () const |
const std::set< InputPinBase * > & | getInputs () const |
![]() | |
Process (NodeManager &nodeManager) | |
Process (ParentProcess &parent) | |
Process (const Process &)=delete | |
Process & | operator= (const Process &)=delete |
virtual | ~Process () |
void | update () |
NodeManager & | getNodeManager () const |
int | getBufferSize () const |
float | getSampleRate () const |
DiscreteTimeValue | getSampleTime () const |
Public Attributes | |
audio::InputPin | mInput = { this } |
std::unique_ptr< FFTBuffer > | mFFTBuffer |
Additional Inherited Members | |
![]() | |
SampleBuffer & | getOutputBuffer (OutputPin &output) |
![]() | |
virtual void | sampleRateChanged (float sampleRate) |
virtual void | bufferSizeChanged (int bufferSize) |
bool | isRegisteredWithNodeManager () const |
Node to compute the FFT of an audio signal. Useful for equalizers and audioreactive parameters.
FFTNode | ( | audio::NodeManager & | nodeManager, |
FFTBuffer::EOverlap | overlaps = FFTBuffer::EOverlap::One |
||
) |
audioService | the NAP audio service. |
nodeManager | the node manager this node must be registered to. |
overlaps | the number of overlaps |
|
virtual |
FFTBuffer& getFFTBuffer | ( | ) |
const FFTBuffer& getFFTBuffer | ( | ) | const |
|
overridevirtual |
Inherited from audio::Node
Reimplemented from Node.
std::unique_ptr<FFTBuffer> mFFTBuffer |
audio::InputPin mInput = { this } |