OSC Controller/Fader Parameters Question

digitalgigalow's picture

OK here is what i have. I have a field that I want control the X and Z positions with a fader. for example reference, let us say 'A' is far left and 'B' is far right. How would i set a stoping position for each far position A and B. So if the fader is in the middle and i slide to all the way to 'A', it will stop and not go any further.

Is there a way to do this?

Thanks, The Digital Gigalow

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

offonoll's picture
Re: OSC Controller/Fader Parameters Question

use a Min and Max from math patch or range patch as well...

digitalgigalow's picture
Re: OSC Controller/Fader Parameters Question

thanx for the help. i need to set a height limit between my eq and cube. would this be the same way, or is it done a different way.

thanx

usefuldesign.au's picture
Re: OSC Controller/Fader Parameters Question

Or an Input splitter set to Number with Minimum and Maximum values in settings. Then you get a slider you can publish and interact with.

Down side is you can't set the min and max programmatically b/c they are settings. Workaround is to use normalised or range [-1,1] and do maths on it to get your desired range.

PreviewAttachmentSize
Input Splitters.qtz30.97 KB

digitalgigalow's picture
Re: OSC Controller/Fader Parameters Question

here is what i have so far. i would like them to stop at 1 for the height. i don't expect you to do the work, if can just pot.t what i need to do. most of my learning has come from here and break apart other projects. just want you to see where i am coming from and going to.

THAK YOU AGAIN!!!! Your help is well appreciated.

PreviewAttachmentSize
AR.qtz19.71 MB

jrs's picture
Re: OSC Controller/Fader Parameters Question

The attached composition might also help you - its an early version of something I made to use with my bcf200 midi controller - allows you to easily map the faders to an arbitrary range.

Let me know if its what you want as somewhere I have a more recent version with a lot more features such as the saving and loading of settings

PreviewAttachmentSize
ranged control sliders.qtz6.27 KB

jersmi's picture
Re: OSC Controller/Fader Parameters Question

One mapping technique I like is exposing an Interpolation patch timebase to external, plugging in your external device output to patch time, then using the features of the patch to shape the curve. Same idea with the Timelines patch.

usefuldesign.au's picture
Re: OSC Controller/Fader Parameters Question

It seems like you just need to get your range mapped correctly which is just maths whether you use maths patches or interpolation set to external time input or whatever.

If you want a maximum of 1 just set that in the input splitter setting.

One thing you could do is load your image from a jpeg file not embed it 36 times in the comp (file size!). This composition provides a short JS routine to find a file of given name from the directory it receives from a the Kineme Directory Scanner (Blocking) Patch.

So if you move the files, you don't need to change the path as you would in the normal Image Downloader Patch. The area of interest to you I noted with a Green Note.

PreviewAttachmentSize
7_seg LED driver.qtz39.58 KB
digital_digit.pdf61.3 KB

usefuldesign.au's picture
Re: OSC Controller/Fader Parameters Question

I never use the bcf2000 sitting on top of the cupboard but I'm interested in function enhancing compositions for it if you have more.