"LAF" ability to Customize EQ/Analyzer/Gonio and scope.
-
It would be very nice to be able to customize these as that would make them more usable in an end product.
"LAF" ability to Customize EQ/Analyzer/Gonio and scope.
-
@lalalandsynth I don't think it is necessary now since the Display Buffer has arrived. Because you can now access the data and draw them the way you want in a panel. Although I'm not sure it is better compared to a LAF in terms of resources so your demand might still be relevant anyway...
-
@ustk Oh, interesting , can you give me more info on this , cannot find anything in the docs.
-
@lalalandsynth
https://docs.hise.audio/scripting/scripting-api/displaybuffer/index.htmlHere's an example I've made 2 days ago but there's a bug if you start to gather the data (uncomment the timer and you get an instant crash)
https://forum.hise.audio/topic/5062/display-buffer-crash-or-me -
@ustk Yep, crash here as well . but promising :)
-
@lalalandsynth Yeah I used it before and it was working, but somehow, somewhere, something happened :)
-
@ustk I see that you are using paint routines to display the analyser but would it be possible to do more to the data , like turn it into a dot display with only 5 "sections" rows of dots ?
Something like this
If I am making sense.
-
@lalalandsynth In this case I think you need to use
DisplayBuffer.getResizedBuffer(int numDestSamples, int resampleMode)
, thenDisplayBuffer.getReadBuffer()
. I think it should rescale then give you direct access to the previously rescaled data so you can do what you want, although I never tried myself (but will do as soon as the bug is gone because I am intending to make a custom drawing too on my current project)EDIT: I'm seeing that
resampleMode
isn't used in the function so don't worry about it... -
@ustk Awesome, excited for this.<
Would love to be able to customize the gonio for a project I am working on .
Wonder if I could use the data from the gonio and display it via the opengl shader stuff ? -
@lalalandsynth I wondered this too:
https://forum.hise.audio/topic/4852/shader-vs-paint-routine-performance?_=1639235132565So as long as you don't exceed 1024 points it should be OK as Christoph explained. So in the case of a goniometer it's rather sufficient ;)
EDIT: I don't know what is the original buffer resolution...