I’m trying to use JUCE’s FFT and everything’s good, it’s picking up the right frequencies etc, but it’s jumping up and down all the time when there’s no movement in the input. If I input a pure sine wave it jumps up and down rapidly from almost zero to its peak. Also, if I open another plugin in Ableton at the same time the GUI freezes. If anyone could point out where I’m going wrong I’d be very grateful:

```
class FFTn
{
public:
FFTn() : w(13)
{
}
dsp::FFT w;
};
////////////////////////////////////////////////
FFTn v;
for (int channel = 0; channel < totalNumInputChannels; ++channel)
{
auto* channelData = buffer.getReadPointer (channel);
// ..do something to the data...
for (int i = 0; i < buffer.getNumSamples(); i++) {
inF[i % 8192] = channelData[i];
if (bufCount >= 8192)
{
v.w.performRealOnlyForwardTransform(inF, true);
for (int r = 0; r < 8192; r++)
{
result[r] = -abs(inF[r]);
}
bufCount = 0;
for (int rs = 0; rs < 8192; rs++) {
inF[rs] = 0;
}
}
bufCount++;
}
}
```

Thank you!