I have this use case where I have 4 buttons and 1 switch.
Each button is sending different midi message based on the selection of the switch. (keep in consideration that I add setInterval function to keep sending that message).
basically what I did, I put if statement in each button mentioning the switch and the required midi message.
It works fine but I thought doing it in this way and type codes in each button will be more complicated for bigger projects, hard to track the midi messages and time consuming, so I thought maybe you guys have smarter way to do it, maybe custom module or any other ideas.
this is the use case:
nudge_Trim.json (11.1 KB)