How to create audio visualizer in HISE
-
@Tania-Ghosh you need FFT and strong paint routine skills, BUT, the paint routine is not optimized enough for such object size, hence you'll end up with a huge cpu and lags… although this might be unlocked by the upcoming SNEX integration but I am not sure of that at all... Another solution would be a RAW interface (C++), you can find info on this in the doc and a project example, but to achieve such a visualizer you'll need a strong level that I'm not even aware of :)
-
@Tania-Ghosh
ZGameEditor
https://www.zgameeditor.org/index.php/Main/DownloadWhich is pretty good for such things(used by ImageLine as ZGameEditor Visualizer). But it needs Embarcadero Delphi or Free Pascal.
May be in Future you will get such integration to create your own visualizer in HISE. -
@Tania-Ghosh Till then use image Sequences (Stitched) as Audio Visualizer.
HISE Project link..
https://easyupload.io/rdt11bHiseSnippet 1346.3oc4X0raabCDlqkXPjpUQRaNzSsKL5AkhTCImebAJJhh0Owp0NVPxUs4jA0tTRDgK4hc45DUC+tzGkbrG6w9Xji8TaGtTq1ccTTTMPLRZ2CFlCmg7aFN7aFpdARGZXnL.YU53Y9Tj0l3AyDpoMmRXBT2VHKLdug6i1alOILj5hrrJ7X8TVkJhh+d0C2ivIBGZpHDZnj4POf4wToR603GXbdGhK8XlWFsuWitNRQSIWFAvn.tFxm37LxD5SHZ01.irtVaWlRFLPQTzPjUw8jtyFLU9bgQ+grP1HNUOnNZ.rPFwcjbWMh0RQMmx3t8Rb2PD3X8Rc9BFm+V3CYtrExSCB2HdB6TKxFOr1XUvqdV3Ua8gmUF3Uz.uahG3DZkUZ5vZ3RUnEtoRw4ZTGbyAq57C4SQMkfFB01djmQ6D.CVXQ06Vq1crg+b6usR4JkgChPk8oj.6ihT9QJ8Qs82YGmRr8Dpp83wTGU0sRmcKigYMc39fIIaIXTSomuT.Cpt0v8i0OU2VrP+2n15Imu95+c6PpRm5Dzjv4ifbjpiiDNJlTT81UJeVkx1v2v80pMjvinUaKlvDT8h1h5vFQ4gcjAZP2g3.mWUS8h3MNJH.11CnmR4Uqc6upNDTzatckxmWobhaZ.hhDXfR0clG4RfhsT7DohdDfoxmUtT4yK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rVTe2p.5e.jmvapJ
Cheers !!
-
@Rudra-Ghosh Wow !!.. Nice. Thank you :)
-
But this is not an audio visualizer
-
Hahaha.... exactly.... (y) ... Unfortunately, right now there is no option (such Visualizer) in HISE. Till then it's like "getting a sugar candy for a crying girl"..
-
@Rudra-Ghosh Who is Crying? I am asking HISE developers to make such Audio Visualizer.
-
@Tania-Ghosh said in How to create audio visualizer in HISE:
Who is Crying?
I believe the translation was trying to say "it's only a temporary solution". Hopefully @Rudra-Ghosh wasn't calling you a Crying Girl
-
@dustbro Oh.. :)
-
@Rudra-Ghosh @Tania-Ghosh I don't think there will ever be such a thing in Hise since this is not what it is meant to do, or there will be a never-ending list of things to add, this is why I said you can make your own, Hise is open to C++ development in many different ways.
There's only one Hise developer, and a very very busy one, who tries to make the audio engine always better, not to say correcting flaws here and there ;)
So I imagine we won't see an Audio Visualizer soon unless a charitable soul shares one :) -
@ustk Couldn't you make a crude audio visualiser by linking the output of a gain meter to a paint routine?
-
@d-healey But in this case, you only have the amplitude content, no frequency information...
-
@ustk I'm thinking... the audio analyzer has frequency and gain info. We might be able to connect that data to a visualizer.
-
@dustbro yeah it makes use of the FFT. I tried to use FFT from the core library with no success, apparently, it's full of bugs. I don't know where the FFT of the analyzer is taken from though, probably directly from the JUCE library...
-
I knew I asked Christoph not long ago:
https://forum.hise.audio/topic/3370/fft-core-library-module/3 -
@Tania-Ghosh For simple Fast Fourier Transformation(FFT).
JUCE FFT Tutorial: The fast Fourier transform
Table of Contents
Getting started
The demo project
The Fast Fourier Transform
Processing Audio Data
FFT Initialisation
Displaying the Spectrogram
Learn how to display incoming audio data as a spectrogram by using the FFT class of the DSP module. Understand the benefits of using a Fast Fourier Transform.
SimpleFFTTutorial.zip -
@dustbro said in How to create audio visualizer in HISE:
@ustk I'm thinking... the audio analyzer has frequency and gain info. We might be able to connect that data to a visualizer.
so the audio analyzer already IS a visualizer.....
-
@Tania-Ghosh Try FFT experiment with the source code. Here I have created sln file.
SFMLYou will also get an exe file(compiled) ... set Audio name and buffer size to up and run it.
-
@Rudra-Ghosh Thanks :)
-
This post is deleted!