Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Output weighted distribution values (incl. calibrator)

Post any examples or modules that you want to share here

Output weighted distribution values (incl. calibrator)

Postby tulamide » 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.
Attachments
quadratic_interpolation_r3.fsm
(33.98 KiB) Downloaded 888 times
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2687
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Output weighted distribution values (incl. calibrator)

Postby guyman » Thu Feb 07, 2019 12:06 am

UBER DOPE TULAMIDE
User avatar
guyman
 
Posts: 207
Joined: Fri Mar 02, 2018 8:27 pm

Re: Output weighted distribution values (incl. calibrator)

Postby Spogg » Thu Feb 07, 2019 8:30 am

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
User avatar
Spogg
 
Posts: 3324
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Output weighted distribution values (incl. calibrator)

Postby tulamide » Thu Feb 07, 2019 1:42 pm

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

Re: Output weighted distribution values (incl. calibrator)

Postby wlangfor@uoguelph.ca » Thu Feb 07, 2019 2:53 pm

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
User avatar
wlangfor@uoguelph.ca
 
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada


Return to User Examples

Who is online

Users browsing this forum: No registered users and 30 guests