Multislider Problem

Discuss Lemur and share techniques.
tinman108
Newbie
Posts:11
Joined:11 Mar 2012 19:46
Multislider Problem

Post by tinman108 » 22 Apr 2014 06:48

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

electrofux
Regular
Posts:297
Joined:24 Jan 2012 18:22

Re: Multislider Problem

Post by electrofux » 22 Apr 2014 14:34

Are you using the z variable to initiate the fallback when letting go?

on expression z

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

tinman108
Newbie
Posts:11
Joined:11 Mar 2012 19:46

Re: Multislider Problem

Post by tinman108 » 22 Apr 2014 17:17

No i am using X. Are you saying both Z and X have to have the same controller value ?

Joe Soap
Regular
Posts:475
Joined:07 Jul 2012 15:04

Re: Multislider Problem

Post by Joe Soap » 22 Apr 2014 18:34

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.

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Multislider Problem

Post by Softcore » 22 Apr 2014 19:10

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!

;)

Joe Soap
Regular
Posts:475
Joined:07 Jul 2012 15:04

Re: Multislider Problem

Post by Joe Soap » 22 Apr 2014 20:58

[quote="Softcore"] . . . so there is a misunderstanding here!

;)[/quote]

Possibly several! :mrgreen:

tinman108
Newbie
Posts:11
Joined:11 Mar 2012 19:46

Re: Multislider Problem

Post by tinman108 » 22 Apr 2014 21:28

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 ?

Joe Soap
Regular
Posts:475
Joined:07 Jul 2012 15:04

Re: Multislider Problem

Post by Joe Soap » 22 Apr 2014 22:22

No worries :).

electrofux already provided the script for you.

Macciza
Regular
Posts:1325
Joined:07 Dec 2011 04:57
Location:Sydney, Australia.

Re: Multislider Problem

Post by Macciza » 23 Apr 2014 02:18

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 ...
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]

Joe Soap
Regular
Posts:475
Joined:07 Jul 2012 15:04

Re: Multislider Problem

Post by Joe Soap » 23 Apr 2014 03:03

There's a joke in here somewhere about one's multislider returning to zero involving dirty fingers and gunk on the screen . . . :o

Post Reply