1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Fixed the SimpleFFT sample code

This commit is contained in:
hogliux 2017-08-04 09:50:46 +01:00
parent 405152fc24
commit 1b964e98c2
11 changed files with 538 additions and 5 deletions

View file

@ -29,7 +29,7 @@ class SpectrogramComponent : public AudioAppComponent,
{
public:
SpectrogramComponent()
: forwardFFT (fftOrder, false),
: forwardFFT (fftOrder),
spectrogramImage (Image::RGB, 512, 512, true),
fifoIndex (0),
nextFFTBlockReady (false)
@ -137,7 +137,7 @@ public:
};
private:
FFT forwardFFT;
dsp::FFT forwardFFT;
Image spectrogramImage;
float fifo [fftSize];