BU16 - Two pushes, two different actions

Hi Guys

I’m a new user and I have the BU16 module which I use as controller for the shortcuts of my DAW (Cubase 12). I want to ask you if it is possible to assign two different actions, one for the first push of the button and a different one for the second?

For example:

the first time that I push the button I enable the fuction “Read” of a selected track in my DAW

the second time instead, I enable the fuction “Write” of that selected track.

Thank you for the support :slight_smile:

Also new user here. This can be done with Lua code. I would use a variable that toggles, e.g. in the press event, if toggle == 0 then toggle = 1 elseif toggle == 1 then toggle = 0 end. This will cause a flip from 0 to 1 or 1 to 0 on each press. Then depending on the value send different midi. Initialize toggle variable in the init event.

The toggle if statement could be done with a logic operation, but that would be less clear as description here. Usual disclaimers apply … :innocent:

Edit: or better this maybe, see button_mode.

1 Like

Thank you so much.

I’ll try your suggest ^^