Reaction raw midi producing error in log

341 viewsGeneral
0

I’ve added a reaction when track two’s mute is pressed to send raw midi:

0x9E, 0x4D, 0x7F

which translates to:

self._send_midi(0x9E, 0x4D, 0x7F)

in the script. When I press mute on track two the reaction is fired but it causes the following exception:

(K1an2 Mixer) There’s a problem with ‘Action Block 1’ in reaction ‘Reaction 1’ (from ‘Track – mute’ listener) >>
>> _send_midi() takes from 2 to 3 positional arguments but 4 were given

Can someone tell me what I’m doing wrong?

thanks!

admin Changed status to publish May 22, 2024
Attached Files:
0

Is that fixed for you?
I think an extra set of brackets may be needed in your code self._send_midi((0x9E, 0x4D, 0x7F))

admin Changed status to publish May 22, 2024
Attached Files: