Can I make this by using juce?


Hello, everyone, I come here again… anyway, today I have a new problem:

Some audio plug-ins, like SSL X-EQ:

So you can see a black window,And some Green Curves.yes I mean the spectrum .
and I would like to make it.
I have a FFT() function to detect the spectrum, and spectrum data stored in a double array[1024] .
my question is, how to make this array displayed looks like X-EQ? now I do this:

for (int i = 0; i <1024; i + +) {
setPixel (i, Freq [i]);

I know this may not be a good idea, is there a better way?Think You…


You can do anything using Juce.