buttons to turn off when another pad selected

Discuss problems and solutions.
Post Reply
theinfinate
Newbie
Posts: 12
Joined: 19 Apr 2013 02:33

buttons to turn off when another pad selected

Post by theinfinate »

Hi there, i'm a noob to Lemur so please forgive my lack of terminology knowledge. I want to create a container and have 8 pads to select a preset sound in omnisphere. Lets just say i have sound 4 selected so the button is highlighted, then i press sound 5, can i get the sound 4 button to turn off? Like in the Rheynelooper template with the keyboard octave buttons, how when you press octave 4, the other octave button selected turns off
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: buttons to turn off when another pad selected

Post by Softcore »

One way to go about this is to use "switch" object with "radio" option selected!
theinfinate
Newbie
Posts: 12
Joined: 19 Apr 2013 02:33

Re: buttons to turn off when another pad selected

Post by theinfinate »

aha, awesome! thanks alot
theinfinate
Newbie
Posts: 12
Joined: 19 Apr 2013 02:33

Re: buttons to turn off when another pad selected

Post by theinfinate »

ok so thats working on the ipad but having trouble with ableton. A lot of the time the midi signal isn't sent when i select a button, is there any reason this works like this? I have tried control change and note on but it always has trouble. Every other button in my interface sends a definite signal every time.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: buttons to turn off when another pad selected

Post by Softcore »

What exactly are you using the switches for? Meaning is the mapped parameter of a "toggle" nature or of a "momentary button" nature?

Perhaps you will be needing, indeed a pads object....if thats the case but you still want to have the pads display the last selected pad here's another way to use them....

Add pad object with the desired columns-rows...

Add script in pads

On expression x, rising from 0 (up arrow)

Code: Select all

light=x*0.5;
The above script will make sure that e pad which is pressed will have light=0.5 while all the rest will have light=0 thus the pads will "look" like switches even though they are not!!!
theinfinate
Newbie
Posts: 12
Joined: 19 Apr 2013 02:33

Re: buttons to turn off when another pad selected

Post by theinfinate »

Cool, thankyou your a legend!
audioramdam
Newbie
Posts: 14
Joined: 09 Feb 2013 15:08

Re: buttons to turn off when another pad selected

Post by audioramdam »

i like your script, it works very well, but i would like to add another function :
when the file ends or when i stop it, the button returns to off colour.
is it possible ? how would you script this ?
I've been searching for this for weeks and i didn't find any answer ...
I'm not good at all at scripting
audioramdam
Newbie
Posts: 14
Joined: 09 Feb 2013 15:08

Re: buttons to turn off when another pad selected

Post by audioramdam »

By the way, i'm also trying to set up the rec button of the tracks in ableton live.
can't do it the right way in switch or pad mode :
you set for instance two colours :
let's say : rec on = red and rec off = white
when i set up this , i have to tap two times on the button to return on the good colour... ???
should be very easy , no ?
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: buttons to turn off when another pad selected

Post by Softcore »

audioramdam wrote:when the file ends or when i stop it, the button returns to off colour.
NOT sure what you mean....

But if you are using pads-switches and you are mapping them to clip slots buttons (play or record) you are going to face a lot of problems.

You will be better off using the wonderful Launchpad emulation form Wul for controlling clip slots.
Post Reply