When writing a plugin i create a AudioProcessorValueTreeState class member on the PluginProcessor class and then pass it to the editor that is created by the processor
return new MyAudioProcessorEditor(*this, m_vts);
When writing a JUCEApplication there no AudioProcessor, instead there is a getNextAudioBlock
function on the MainComponent that gets called on a real time thread.
How should i implement parameters in a JUCEApplication? should i create a class that inherits from AudioProcessor and then attach the AudioProcessorValueTreeState to it and then pass it back to the MainComponent? or is there a different way?