I’m developing my first plugin with the AudioProcessorValueTreeState. It works well, but i’m not sure how to implement MIDI Learn support for the plugin itself.
I have two questions:
Is there an easy way to find out the last moved plugin slider or clicked button without adding listeners for every parameter? Is there some kind of listener for all parameter changes or should i hook into the old setParameter(id, value) method?
Whats the most easy and safest way to set a parameter from the processing loop. Is there something like a setParameterAsync that dispatches the change to the Message thread without blocking the audio thread? Or do i need to do that myself and what’s the best way to do this? I had a queue that creates messages in our older plugins, but i don’t like this solution…
Any help is welcome!