How to get various types of AudioParameter values out of an APVTS? (I’ve managed to get them in and attached to their respective controllers.)
This tutorial shows use of getRawParameterValue(“parameterID”), which kinda works, although returns a float* rather than an AudioParameterFloat.
Same for AudioParameterBool’s and AudioParameterChoice’s. Could use examples of accessing current non-normalized values for each AudioParameter type from an APVTS, for plugin processor to utilize. Thanks.
Is there a way, within the APVTS initializer, to assign Processor’s own pointers to each object created by std::make_unique<AudioParameterFloat>(…), so Processor would have direct access, rather than “getting” from the tree and dynamic casting?
Or is that the opposite of the whole concept of the tree?