script for turning 1 switch off, when selecting another

Discuss Lemur and share techniques.
Post Reply
wheely
Newbie
Posts: 11
Joined: 16 Apr 2012 13:38

script for turning 1 switch off, when selecting another

Post by wheely »

Hi, if i have 10 buttons (switches) and i press one on, when i press another, how do i make the first one turn off?

cheers.
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: script for turning 1 switch off, when selecting another

Post by Phil999 »

you can turn on 'radio' mode.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
wheely
Newbie
Posts: 11
Joined: 16 Apr 2012 13:38

Re: script for turning 1 switch off, when selecting another

Post by wheely »

thanks, but when in radio mode, it just makes my switches stay on and cant be turned off.
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: script for turning 1 switch off, when selecting another

Post by Phil999 »

can you post an example?
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
wheely
Newbie
Posts: 11
Joined: 16 Apr 2012 13:38

Re: script for turning 1 switch off, when selecting another

Post by wheely »

cool cheers, ive made a small template with 3 switches.

the first switch moves up 1 increment (scale), the second moves up another 1 etc, and i can see it working perfectly in ableton, but the buttons tell me something different in lemur.
Attachments
button test.jzml
(2.85 KiB) Downloaded 97 times
wheely
Newbie
Posts: 11
Joined: 16 Apr 2012 13:38

Re: script for turning 1 switch off, when selecting another

Post by wheely »

i think this may be the solution....

http://liine.net/forum/viewtopic.php?f=25&t=1299

naaaa, still stuck.. this template would work, but when i add more rows or columns the patch doesnt work properly anymore.....
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: script for turning 1 switch off, when selecting another

Post by Phil999 »

that can't work as far as I can see. But I assume you got radio buttons working in the mean time?
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Post Reply