convert range

General Discussion about Plogue Bidule

Moderators: vincent@plogue, davidv, seb@plogue

Posts: 403
Joined: Wed Mar 08, 2006 11:06 pm
Location: New York

Re: convert range

Postby reezekeys » Fri Mar 17, 2017 10:47 pm

reezekeys wrote:
Donleavy wrote:Reezekeys:
Yes, I thought about that, but the CC Value Scaler only goes from 0-127, so it can't be used unless you are within that scale...

I got it happening with the CC value scaler, though Boonier's group is far more elegant and efficient I'm sure. You just need the correct low & high number values in the CC Value Scaler. My way gets you integers at the output, unlike Boonier's group.

I don't think you can embed a video on this board, but I did use this as an excuse to try out my screen capturing software! ...

Posts: 3348
Joined: Tue Apr 19, 2005 4:18 pm
Location: Oakland, California

Re: convert range

Postby jersmi » Mon Mar 20, 2017 1:58 am

Ok, here are six groups. Thanks, DL, for the inspiration!

range - uses the crossfader like I mentioned. I like this method because one, it's fast and easy to set up and I don't have to think about math, and two, if I do want to add a math formula for a curve, the fader uses a normalized input, which makes the math easier to deal with. This also includes a waveViewer and a few formulas set up to help see the curve.

scale - same as boonier's, aka "mapping".

normalize - set input range, select [0,1] or [-1,1].

quantize - aka "step", thought quantize was the better term for Bidule, idk. Choose between FLOOR, CEIL, and ROUND.

loop - aka "wrap", uses the modulo operator to loop between any two values.

mirror - aka "ping pong", based on the formula in the loop group, this cycles back and forth between two values. (This requires a value input twice as large as MAX-MIN in order to complete its cycle.)

(57.83 KiB) Downloaded 14 times

Posts: 949
Joined: Wed Sep 14, 2005 6:34 am
Location: Brighton, UK

Re: convert range

Postby boonier » Mon Mar 20, 2017 4:41 am

Cool stuff!

Posts: 93
Joined: Mon Nov 06, 2006 9:09 pm

Re: convert range

Postby Donleavy » Sat Mar 25, 2017 4:53 pm

That's great! Will try it out right away.
Thanks a lot!

Return to “Bidule General”

Who is online

Users browsing this forum: No registered users and 2 guests