Page 1 of 2

Multislider Problem

Posted: 22 Apr 2014 06:48
by tinman108
I'm trying to make a slider fall back to zero after making a gesture on it. i have it midi mapped to a macro in ableton, but when i hold it at a certain point it falls down before i let go. sometimes i can get it to work perfectly but for some reason it glitches back to zero in other cases.I have my physics on Tension=1 friction= .9 and height=0. Thanks

Re: Multislider Problem

Posted: 22 Apr 2014 14:34
by electrofux
Are you using the z variable to initiate the fallback when letting go?

on expression z

if (z==0) MultiSlider.x=0;

Re: Multislider Problem

Posted: 22 Apr 2014 17:17
by tinman108
No i am using X. Are you saying both Z and X have to have the same controller value ?

Re: Multislider Problem

Posted: 22 Apr 2014 18:34
by Joe Soap
No, he is saying you should be using the 'z' variable to control your fallback as it is this which denotes 'touch'.

As you are using the 'x' variable, it's initiating the fallback when a certain value of 'x' is reached - this is the behaviour you're experiencing currently.

Re: Multislider Problem

Posted: 22 Apr 2014 19:10
by Softcore
A multislider with physics enabled wont let go of your touch unless you specifically let it go...

The guys above are talking about "scripting" a fallback to zero without physics - you are specifically asking why it isnt working with physics (which it should) so there is a misunderstanding here!

;)

Re: Multislider Problem

Posted: 22 Apr 2014 20:58
by Joe Soap
[quote="Softcore"] . . . so there is a misunderstanding here!

;)[/quote]

Possibly several! :mrgreen:

Re: Multislider Problem

Posted: 22 Apr 2014 21:28
by tinman108
Thanks for all the response guys.

I'll try using "z" variable but how should i script it to fall down automaticlly without having "physics" on ?

Re: Multislider Problem

Posted: 22 Apr 2014 22:22
by Joe Soap
No worries :).

electrofux already provided the script for you.

Re: Multislider Problem

Posted: 23 Apr 2014 02:18
by Macciza
Hi
Ordinarily there is no issue with a physic'd slider doing what you describe . . .
So I would check a few things - iPad glass clean? I have had erratic issues due to crap on the screen. Also clean fingers helps . ..
Are you sending any MIDI back to the Lemur? Standard mapping is bidirectional - Watch the MIDI stream with a MIDI monitor app
If its a loop and you don't need Live to be able to control the Lemur then look at using a Custom MIDI script ...

Re: Multislider Problem

Posted: 23 Apr 2014 03:03
by Joe Soap
There's a joke in here somewhere about one's multislider returning to zero involving dirty fingers and gunk on the screen . . . :o