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:
parent
405152fc24
commit
1b964e98c2
11 changed files with 538 additions and 5 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue