I have a usecase where I need to stop sending a midi message (and send a different midi message).
Is this somehow possible?
Sending a different midi message in my custom LUA function is no problem. But the “original” midi message is also transmitted, which I want to prevent.
Or is it possible to edit the value of the “original” midi message?
One approach would be to change the control type from CC7 (or whatever) to Virtual and then use your LUA code to send one message type or the other… Once you change it to virtual, no MIDI is sent automatically, so your code would need to send the message via LUA.