Page 1 of 1

Reversed multislider

Posted: 21 Oct 2013 11:31
by ErikG
I need a horizontal slider that is graphically reversed to a standard one.
Meaning I want it to default to full, and increase the ctl value output as I move the fader from left to right (like the standard one) but it should reduce its graphical size as it is increased.

It ought to be simple if I could set both the background and foreground color of the fader, but I can't find a way to do that.
Is it possible?

If not is there no other decent way to do this apart from using a multislider in bipolar mode and hiding half of it using a container?

Re: Reversed multislider

Posted: 22 Oct 2013 22:27
by Softcore
Why dont ya try with a "range" object and use a script to lock either minimum or maximum value and only affect the other with your touch?

Just an idea!

Re: Reversed multislider

Posted: 23 Oct 2013 05:02
by ErikG
Thanks.
I really need to learn more scripting is the obvious answer :)

Lemur is awesome, but not so easy to figure out at times. I'd love to have a longer part in the manual with examples about scripting.

Re: Reversed multislider

Posted: 23 Oct 2013 05:18
by Macciza
ErikG wrote:I'd love to have a longer part in the manual with examples about scripting.
The difficulty here is that there are many different ways of achieving similar end results . . .
There are approaches that are simple/suitable for basic projects that don't work well at larger levels
Likewise some scripting approaches may be overkill for smaller projects . . .

Learning fundamentals of C style programming will help get you started in a structured way
Learning more object oriented approaches will help you plan and implement more complex scripts

Ultimately pulling apart others projects can reveal a variety of Lemur ways of doing things . . .
You may want to look at http://liine.net/en/community/user-library/view/213/ . . .

Re: Reversed multislider

Posted: 23 Oct 2013 09:08
by ErikG
Thats exactly what I mean.
Learning C as a hobby is probably not what most sound folks are comfortable spending their free time doing.

I'm not one of them though...
Can you recommend a basic foundation tutorial on C by any chance?
The more it relates to how the scripting is made in Lemur the better.

Re: Reversed multislider

Posted: 25 Oct 2013 02:13
by Macciza
Hi
First some solutions to the original issue . . .
Reversed MultiSlider can be achieved this way
Set MultiSlider color to Black, set Light to say 0.25 - Left side is DarkGrey , Right side is White
Light can also be set to an array to get different shades on left side, say {0.125, 0.25, 0.375, 0.5}

And heres a bit of a prototype for a reversed horizontal Fader of sorts . .
^^RevHorizFader_.jzlib
(5.31 KiB) Downloaded 80 times
Basically just a really basic one because lots of the details will not be relevant but the core principles are important
The syntax (ie. how( 'you', write.stuff(proper);) is very much the same for what is use in Lemur
The rest is sort of just logic, and recipes, and breaking things down and planning ways to do things
The rest beyond that is the various ways to achieve the same things by programming methods
By using the builtin options or scripting your own you can achieve the same things
And that ends up just taking time and finding stuff out etc - and thats ongoing . . .

Anyway am hoping to get to do some more tutorial stuff
Meanwhile just check out and go through the stuff that is available.

Cheers