Output weighted distribution values (incl. calibrator)

Post any examples or modules that you want to share here
Post Reply
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Output weighted distribution values (incl. calibrator)

Post 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.
Attachments
quadratic_interpolation_r3.fsm
(33.98 KiB) Downloaded 1013 times
"There lies the dog buried" (German saying translated literally)
User avatar
guyman
Posts: 207
Joined: Fri Mar 02, 2018 8:27 pm

Re: Output weighted distribution values (incl. calibrator)

Post by guyman »

UBER DOPE TULAMIDE
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Output weighted distribution values (incl. calibrator)

Post 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
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Output weighted distribution values (incl. calibrator)

Post 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:
"There lies the dog buried" (German saying translated literally)
User avatar
wlangfor@uoguelph.ca
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada
Contact:

Re: Output weighted distribution values (incl. calibrator)

Post 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 :).
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
Post Reply