Reactions and momentary buttons

799 viewsCSS Feature Requests
0

Hi guys,
I noticed that if I set the reactions to start when a midi note is pressed, then it double triggers, one time when it receives midi on and another time when receiving midi off.
I solved this problem with velocity for now, but is there any way to do that in a more elegant manner?
Thanks,
Mauro.

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

Add a condition into your action block which checks that the velocity value of the button is equal to something i.e. 127
With a condition in place, it means the contents of the action will only process if the condition is met.

So in this case, only if the velocity of the button is currently 127, meaning when you release the button and it sends a velocity of 0, the condition will not be met and the action will not process… which is essentially momentary..

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

Thanks John,
What I did is I used the first action block to check if the velocity is equal to zero and in that case exit the reaction.
Thanks for the suggestion!

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

Yes that works too 🙂

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

how the opposite can be done?

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

As i see the author concerned about turning toggle to momentry. The opposite would be converting from momentary to toggle.

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