@ulrik said in Custom popup values help:

@rzrsharpeprod the percentage knob spits out a value between 0-1, and using

local gain2 = 50 * Math.log10(value);

on that value will result in a value between -100 and -11, and the saturation need a value between 0-1 so you could have set the percentage knobs value directly to the saturator, but you wanted 100% (1.0) in the ui to set a value of 60% (0.6) in the saturator so...

A good way to check that the value you're about to set to a module, other component etc.. will fit to that range. Use

Console.print(value) in your callbacks

Awesome, thankyou. I appreciate the assistance and the pointers :)