I was looking at the new tutorials and really like the new way to access parameter values. Currently I’m using a AudioProcessorValueTreeState and add my parameters with createAndAddParameter(). The only problem I have is that I can’t cast the AudioProcessorParameter* from createAndAddParameter() to a AudioParameterFloat*. I tried static_cast. The cast works, but the value and range are set to zero.
Am I doing something wrong?