I have a need to modify the values of certain parameters, based on selections the user makes (picking a kind of “preset” from a list, with initial values that we want to then set as the values for the associated parameters). The problem is that I need those values to be in the normal user range, since they come from a user-editable XML file, not 0…1. But the function setValueNotifyingHost() calls setValue(), which calls convertFrom0to1() on the value, meaning it must be expecting a value in the range 0…1, not the user-readable value.
I have a pointer to a AudioProcessorParameterWithID, saved from when I created it via parameters.createAndAddParameter(). So, how do I set its value to a user-readable value? (Not sure what to call that. Plain? World? Unnormalized? Normalized?)