I created an
audioProcessorParameterWithID with a specific ‘valueRange’ using
How do I get the full range (i.e. not normalized) value of the parameter then?
I can do the following :
AudioProcessorParameterWithID* param = processorValueTreeState.createAndAddParameter (...); float fullRangeValue = processorValueTreeState.getParameterRange (param->paramID).convertFrom0to1 (param->getValue());
but there must be a less cumbersome way that I missed?
by the way it’s easy to get confused with parameters ranges/values. Often when I write
param->getDefaultValue() I need to go inside the code to check if the value will be normalized or not…
It would be cool if the documentation was explicitly stating when the values are normalized or not (would be even better if it was in the methods/parameters names directly actually). But actually it’s perhaps always normalized and I’m the only to get confused with that?