I want to port my Rack Extension which displays the volume as a history (https://pongasoft.com/rack-extensions/VAC6.html) in a custom display.
Is there any recommendation of the proper way to implement this in the VST world? I am using plain VST and VSTGUI 4. I understand I can create my own Control in VSTGUI 4 and I can draw whatever I want. So although I have not looked too much in details I believe the UI part should be OK.
What I am struggling with is how to pass (large amounts of) data between the processor and the controller: the processor analyzes the incoming audio and keeps a buffer (aka memory) of the volume for some amount of time. The UI displays this data in a window. What is the recommended way of passing this data around knowing that it is not a single value, but more like an array.
I understand that sharing data (aka the buffer) is not really recommended since it would have to be properly synchronized, potentially slowing down the processor waiting on the lock. I also understand that out parameters are single value only.
So how do people do in general (there are many VST plugins with complex UI representation, like phase, etc…).
Any pointer or recommendation much appreciated.