Get FFT values
-
Hi there,
I want my webview animation to read out the FFT (or frequency values in genera)l and make an animation according to low, mid and high freq sounds.
What is the best way to read out that data and do you use the scriptnode modul for that or just create the module in the oninit code?
-
I think c++ might be the only way
I don't think hise does fft in real time?
(I might be wrong)I've made a post on this forum called free DSP fft.
It has a demonstration of c++ fft, there is an fft real time filter example that can be adapted to read out the values you want. -
I just searched FFT in the API browser and looks like a bunch of functions are available that might help
-
@d-healey @griffinboy thank you guys. I will look into that!
-
Depends whether it does this realtime: or only on an audio file that has already been written.
I think OP is asking for live analysis.
Which hise does do for the fft analyser, but I don't think it exposes the bins. -
[Free dsp] C++ FFT
For @ustk Simple FFT implementation using Juce (C++ scriptnode) https://1drv.ms/u/c/6c19b197e5968b36/EcVjEd7aayFHhItxr2gISeMBUD15DXs-oPHNg9Os9pYXWA?e=EW0gfm ...
Forum (forum.hise.audio)
-
@d-healey It's just for analysing a buffer, not realtime compatible... Or maybe in the 'processBlock' CB? I've never tested, but even if it works it would probably be super inefficient...
As @griffinboy said C++ is the way -
@ustk @griffinboy are right the scripting portion doesn’t work for realtime. I’ve recently worked on something similar to this, you can perform the FFT analysis in a C++ node then broadcast the values to HISE using global cables.