Momentary button to send effect with max value

3.01K viewsCSS Questions
0

I have a momentary button and I wanna send my send1 to max value (127). I also have a Knob1 that controls the send1. But additionally I want to have a that momentary button. For some reason I can’t manage to send the value of the send1 to max when pressed.

I tried with reaction, but without success (but maybe there is a easier way):

Listener: Button 1o was pressed
Action Block1:
Condition: Button 10 latest velocity value is equal – 127
Action: MIDI Controller – send MIDI velocity value to Controller input Knob1 Value 127
Action Block2:
Condition: Button 10 latest velocity value is not equal – 127
Action: MIDI Controller – send MIDI velocity value to Controller input Knob1 Value 0

Maybe it’s wront to send the velocity value to Knob1, but I couldn’t find an option how to set the send1 directly.

Any ideas on how I can achieve this?
Any help is appreciated

Rouz Answered question
Attached Files:
0

Hi again, after setting the channel to 0 .. it was working .. YEAH 🙂
In the meantime I also got the sends 3+4 for shift mode to work. So glad 🙂

Just wanna make some small changes, because I don’t want the buttons to trigger sends of the selected channel, but the channel they visually belong to.

So I would pass in the reaction the channel explicitly (for example 0 for the 1st channel):
self.user.full_on_press_reset_on_release(reaction_listener_number, 0)
Then in the users.py I would create a buttons list for every channel that would be selected by the argument. Or would you do it differently?

Btw, no idea why it is logged once per click and once when the button is released. Not sure what you meant i should comment out.

Thanks for your support. Really appreciate it.

Glenn V. Posted new comment

Hey Rouz, I don’t know if you’ve noticed but I posted a newer version of the script (+ documentation and a few pre-made Reactions where you just need to change the Modes and the Listeners on) a few days ago.

You are viewing 1 out of 16 answers, click here to view all answers.