Output weighted distribution values (incl. calibrator)
Posted: Wed Feb 06, 2019 9:31 pm
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.
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.