I have a quick question regarding the best way to update params for the Synthesiser class.
At the moment I’m using the Audioprocessorvaluetreestate functionality to update new values from my ui components, by using getRawParameterValue() then passing these values onto my SynthVoice class.
I’m wondering if this is the best way to handle this, or if I should pass these values on via listeners, passing them directly to the SynthVoice class via sliderValueChanged().
I was just thinking now that maybe I should update the second way, as the value would only relay when there is a change. By updating the params in my audiocallback, I’m continually updating at audio rate unnecessarily.
Was wondering if anyone has thoughts on this one way or the other?
Thanks for any help