I'm really struggling trying to get parameters working between "human and machine" values. I searched the forum and tried different approaches I found, but unsuccessfully... and that's frustrating with something that should be really straightforward.
- AudioProcessorParameter works with 0..1 values
- GUI and host parameters must show human readable values with units
I can do all the normalisation/denormalisation successfully.. but the issues (the frustraing ones) are others.
I overloaded AudioProcessorParameter class with MyScaledParameter : public AudioProcessor parameter..
1) If I put that class on top of PluginProcessor.cpp I can't use custom members since I must declare the parameters with AudioProcessorParameter*, but I can reference the current AudioProcessor to call custom members in it, but I can't get getText to show the parameters the way I want.
2) If I put that class in a separate .h file, I can declare the parameters using my custom class MyScaledParameter* instead of AudioProcessorParameter*. This is working ALMOST perfectly. I can create new members, overload getText and so on.. but I can't get a reference to the current AudioProcessor to work.
If any good sound could point me to the right direction, I'll be really grateful.