Page 1 of 1

Output weighted distribution values (incl. calibrator)

Posted: Wed Feb 06, 2019 9:31 pm
by tulamide
I offered a tool to alter a linear knob range of 0-1 to many variants of value distribution here.

I thought a more simplified version could help those, who are not familiar with Ruby or programming. In this schematic you find the converter and a calibrator, which outputs the value distribution as a curve on an x/y grid. Play around with the calibration value (0-1), until the curve matches your needs. Then use that calibration value in the converter.

The converter expects a left value, a right value, a t-value and a calibration value:

Left and right doesn't mean min and max. It refers to a line that on the x-ordinate has a left end and a right end. Both can take on any values (imagine y-ordinate) you like. a left value of 234 and a right value of -4 is totally fine. So, if you use this for a delay value between 50 and 200 ms, just enter left value 50 and right value 200. Likewise, if you have a delay value between 200 and 50 ms, enter left value 200 and right value 50.

The calibration value has to be in the range (and order) of 0 to 1. 0.5 means linear distribution, everything else is some kind of curved or weighted distribution.

The t-value has to be in the range of 0 and 1, but it doesn't matter if you feed it 1 to 0 or 0 to 1. It's best use a knob or slider for it. That way you control the output value. In an example delay range from 50 to 150 ms and a calibration value of 0.5, a t-value of 0 outputs 50, 0.5 outputs 100 and 1 outputs 150 ms.

It's easier than you think from this description. I just wanted to describe each aspect.

Re: Output weighted distribution values (incl. calibrator)

Posted: Thu Feb 07, 2019 12:06 am
by guyman
UBER DOPE TULAMIDE

Re: Output weighted distribution values (incl. calibrator)

Posted: Thu Feb 07, 2019 8:30 am
by Spogg
Excellent!

The version I originally put into my toolbox had a Ruby input for the curve shape and a Properties parameter for it. But this goes further and I love the graph too.

Cheers

Spogg

Re: Output weighted distribution values (incl. calibrator)

Posted: Thu Feb 07, 2019 1:42 pm
by tulamide
Thanks!

I just hope that nobody uses the tooltip, that would be embarrassing. It still has the dummy text I placed there at first, because I wasn't sure how to describe it then (and then forgot about it) :lol:

Re: Output weighted distribution values (incl. calibrator)

Posted: Thu Feb 07, 2019 2:53 pm
by wlangfor@uoguelph.ca
Whoo, well; that does seem pretty uber. I'll probably use that, thanks Tulamide. And I got the chance to use the word uber too :).