Knob snapping back to 0.5

Discuss Lemur and share techniques.
Post Reply
telekommander
Newbie
Posts: 5
Joined: 14 Mar 2012 14:15

Knob snapping back to 0.5

Post by telekommander »

hey guys..

i'm nearly finished with a small traktor template i made. i have two filters for deck A & B and want to corresponding knobs (bipolar) to snap back to 0.5 when i release my finger.
i managed putting a button underneath to reset with a script (Knob7.x=0.5;), but i think it would be nicer to have the knob snap back on its own.

thanks for your help.
whatisvalis
Regular
Posts: 153
Joined: 31 Dec 2011 17:12

Re: Knob snapping back to 0.5

Post by whatisvalis »

I can manage this with a Fader, since it has a Z variable. Create an On Expression script with 'positive to 0' message (arrow pointing down) and
Fader.x=0;

Not bipolar though, but you could mess around with the range. Unfortunately the multislider (which can be bipolar) doesn't have a z variable either.

I'm sure somebody who can actually code will help you out. Is it possible to hide a pad behind the fader to reset upon release?
bite
Newbie
Posts: 22
Joined: 01 Apr 2012 13:13

Re: Knob snapping back to 0.5

Post by bite »

Hello,
someone have manage this?
I don,t know how to snap a knob to 0,5
If someone wants to share his custom knob it will be great,
Thanks!
madlab
Newbie
Posts: 8
Joined: 29 Apr 2012 16:13

Re: Knob snapping back to 0.5

Post by madlab »

Whatisvalis, can you develop about the expression for the centered slider please ? I just started using lemur today and miss some of the features in TouchOSC like the centered slider... But I feel I won't regret the transition !
mat
Regular
Posts: 124
Joined: 08 Dec 2011 09:21
Location: Germany
Contact:

Re: Knob snapping back to 0.5

Post by mat »

Hey,

yeah, it is a pitty, that the "z" for "finger on control" is only available for some controls - defintily something for the feature wishlist. here too.

Also the physics attributes are different. Cause you can solve the problem easy by using MultiSlider (e.g. one instead of a fader). MultiSlider got the physics attribute "height". If physics are activated it falls back to that value you enter, whenever the finger leave. That height is not available for Knob or Fader. Hmmmm, ask mayself why there is this difference in Physics. Hope that helped a little,

cheers*mat
Lemur modules and sequencer: http://music-interface.com
Setup: Win7professional 32bit, Intel Core 2 Duo @ 2,66 GHz.,Tascam US-144MKII, Ableton Live 8.4,
Arturia Analog Lab., Max/Msp, Maxforlive, Lemur Legacy + Ipad, Akai MPK61, Doepfer Pocket Control
Post Reply