I have developed a few audio plugins that use the FFT class. In my applications, I do not know the required order until run time. This means that I have to repeatedly define my FFT object as a local, unless someone knows a better way. I would rather define it in my class header, i.e.,
private:
dsp::FFT fft;
and then set the order in, for example, prepareToPlay()
prepareToPlay(...)
{
...
fft.setorder(order);
...
}
Is this a possibility? Thanks!
