Drum Rack (Mute/Unmute) – Button toggle

509 viewsCSS Questions
0

Hello ! I’m tweaking a novation launch control & i’m a little lost for a simple thing on a drum rack.

First i was happy to do a led feedback for a mute/unmute drum rack pad.
On the same button i would like to do a simple “mute” toggle button.

I tested with reaction :

1-When button x is pressed
2-Condition : Only continue if Drum Pad mute (bool) is equal to false
3-Then, Drum Pad set mute True.

Ok, it works on one function.

But i don’t know how to do to have both condition/toggle for mute & unmute (because if i make a second reaction with inverted settings, i’m stuck in a “mute/unmute” loop.

It’s a stupid question i know, it’s just i don’t know where to search the solution. (maybe on “get value from ranges” or not ?)

Thanks a lot ! (and next step if i can…make drum note feedback on the button 😉 )

admin Changed status to publish May 22, 2024
Attached Files:
0

When you have a momentary button, it will register your button press and release as 2 separate events. What you can do to prevent the button release from activating the reactions is to make the first action block exit the reaction on the condition that the current velocity of your button is 0. If you do that, only button presses, which produce a velocity of 127, will go through to the other actions in your Reaction.

well that is working as momentary still…..

admin Changed status to publish May 22, 2024
Attached Files:
You are viewing 1 out of 10 answers, click here to view all answers.