How to send an on/off midi message


i need to send a midi message from tidal to turn on a device. when i try to send a control change message every cycle the toggle turn off and on. How i can do? In tidal is possible send a one shot value?


To send a message just once, you can use once:

once $ s "cp"

This works for midi too, as a random example:

once $ cc "40:30" # s "midi"