I just found this thread and was quite pleased with the subject matter it deals with and the advice given.
(1) VSTS are most stable when the 'float value' of a preset manager-variable mod is from 0-1 ...
(2) To maintain this prerequisite use 'outside of knob/slider' control scaling of for values =>0 to =<1 ...
Example: 'generic default' audio dB range for a knob is typically -60dB to +3dB ...
Use 'outside of knob/slider' min/max scaling of -60 to 3 (into 'abs prim' where necessary) sent to control output.
This will maintain the 'integrity' of the 0-1 'float readout' for preset management.
Absolutely fantabulous information!
When I downloaded this volume log .fsm and examined it while reading this dialog the above criteria became crystal clear.
I too, was searching for the means of converting from linear to db and vice versa:
x = 20*log10(n)
1/x = 10^(n/20)
I did build my own before I found this, although I am going to add the 'abs prim' ASAP.
Quite amusing is the fact that in the schematic the formula uses a 'divisor' of 0.5 instead of a 'multiplicand' of 20, which is what I did.
So ... when I opened it up it looked very familiar and then ... I pasted mine into the schematic for comparison and ... ha, ha! Potato, potato, tomato, tomato ... same difference? EXACTLY when i tested it for readout.
I also have a version I made which goes from linear to dB.
TIP: I recently modified the preset manager ... I simply made it easier to scale the GUI ... and I extracted the 'total preset' number edit box' so that it is visible and can be used to change preset quantity right on the face of the mod.
Then, after some input from other members (Spogg fired up some of my dormant neurons!) I added a 'range block' mod that prevents anything other than 1-128 from being sent to output ... the box might read whatever typed in to it ... but if is not a 'whole number' integer from 1-128 it will 'auto-switch' to default "1/1" at the output and is exactly what was needed.
Now FlowStoners can feel a little safer about having the preset manager quantum accessible to newbies and unexperienced users
P.S. To MyCo and others at the Alpha Slack site the test schematic zip file has two schems' ... one basic and the advanced version has the preset manager with the 'range block' and all superseded MGUI's updated.
The 'range block' mod is very simple with little CPU demand and can be easily inserted in the existing preset manager too. It has one each 'in/out' and the values can be changed for min/max if user desires.