🔥 Lifetime deal! Get Control Surface Studio for Just £67 👉 Click Here To Get It
Time left... mailtimers.com
⚠️ Lifetime licenses are ending soon, get yours before they're gone ⚠️
Your shopping cart is empty.

None-toggling buttons

Submitted by zenaudio on Fri, 03/29/2019 - 18:46
zenaudio
Pro User
Control Surface Studio User

Hi guys,

Still working on my script. Is it possible to create a button which turns on a track or device but subsequent pushes don't turn it off?

My use case is quite simple. I want to create a single button that unmutes all tracks. I created a second set of mute mappings for my tracks which are all mapped to one button but when pressed it just flips the state of the mutes.

Is it possible to only send an On state message from a button?

Topic Category: 

2 Responses

Comments

JohnC
Forum Admin
#1

Yes you should be able to do this. What you can do is set the Off value to something other than the MIDI Value your Button sends when it turns Off.

In the Script Mapping, set
'Control' to 'Custom'
Set 'Control Type' to On/Off
You can now set the On / Off Values which Live should listen for.
Set the On value to the correct MIDI Value and Off to anything other than the correct Off value.

You should then only be able to turn the Mapping on :)

upload files: 
zenaudio
Pro User
#2

That's great John! Thanks so much for this.