Is AudioProcessorParameter compatible to an AudioProcessorValueTreeState


#1

Hi there,

I’m diving in to the parameters and I don’t see a clear picture of how to use Plugin parameters correctly. Is the AudioProcessorParameter (e.g. AudioParameterChoice) compatible with the AudioProcessorValueTreeState for example?

With the AudioProcessorValueTreeState, I only experienced a 0.0 to 1.0 range in all DAWs automation (AU, VST, VST3) and the interval only worked for AU and VST, not VST3, so I’m not sure what’s the best way to…

  1. Display Parameters in the DAW parameters with the full range and a Unit
  2. For Dropdown menus, etc. show a String in the DAW parameters from a String list

Any hint for resources on this topic would be greatly appreciated.

Johannes


#2

You should’ve dig a little :wink:

If you wish to have simple management you should use AudioProcessorValueTreeState but then you’ll write a lot of lambda (also restrict your code to C++11 supported compilers if that’s something you care about).
If you have few parameters you can enjoy the pre-configured AudioProcessorParameters you’ve suggested but you’ll need to write more management code.
Currently they’re not working as a whole.