Normalizing parameters based on sliders?


#1

So say I have an editor with some sliders that are linked to various parameters. These sliders don't necessarily go from 0 to 1, so I use a NormalisableRange with the sliders' minimum and maximum values. Now in order to decode that 0 to 1 range properly, I need to use the sliders' minimum and maximum values again. This works well, except for one really big downside... There's no way to have access to the sliders' minimum and maximum values unless the editor is open.

How do you guys handle this? I suppose I could just hardcode all of my external processing classes to have given ranges that are manually synced to the sliders' minimums and maximums, but this is really unclean. Any help is appreciated.