It would also be beneficial to have a built-in spectrum analyzer and a customizable piano roll component.
JUCE already has an FFT module, which is what you need for a spectrum analyzer. I think there’s also some examples of this in context provided in the examples folder and/or in the tutorials.
Thanks for your reply. What I mean is that JUCE could provide more ready-to-use tools out of the box. I’m well aware there’s a whole world of JUCE classes out there, but including them in a project isn’t always a smooth journey — and more importantly, it can be time-consuming. Often, more time is spent integrating than actually developing the project itself. That’s why I’m simply suggesting a few new tools available out of the box.
Getting used yo how an FFT works was my first step into the world of DSP. It’s well worth learning how the ‘bins’ work. Graphing it isn’t hard to be honest.
Here’s a visual example using the P5 JavaScript version of FFT:
I would not expect a native JUCE FFT analyzer class However, I do wish JUCE could update the FFT analyzer example to show how to:
- execute FFT whenever there is a repaint to give a smoother result
- execute FFT and update paths on a background thread
- do some basic interpolation
I have to read several forum posts to learn how to implement these
I have a general-purpose spectrum analyser in JUMP: JUMP/JUMP/components/spectrum-analyser at main · ImJimmi/JUMP · GitHub
It’s not the nicest API admittedly but it does the job
Very interesting, thank you !!
Thank you, vera interesting !!!