Send raw MIDI data to controller

Solved737 viewsCSS Bugssend raw MIDI data to controller
1

Hi Remotify,

I found what to me appears to be a bug (or maybe more information could be added to the help that pops up that says ‘Enter MIDI Data to send to the connected MIDI controller. I.e. 0xb0|1, 0, 90’)

When I try to send raw MIDI data to my controller from a reaction, the code that CSS is generating is missing a parenthesis.

I add my MIDI data as parameters (see 1.) to be sent 145, 36, 127 (Note On, data 1 and data 2) and CSS generates ‘self._send_midi(145, 36, 127)’ but this generates an error.

CSS Error code

“(P32DJ) There’s a problem with ‘Action Block 1’ in reaction ‘Test Sync Button 22’ (from ‘Button 22 was pressed’ listener) >>
>> ControlSurface._send_midi() takes from 2 to 3 positional arguments but 4 were given”

I have found that if I add parenthesis (see 3.) it works!

Cheers,

Joachim

JohnC Selected answer as best
0

This is now fixed in CSS 3.1.1
https://remotify.io/css3-changelog/

JohnC Selected answer as best
0

Thanks Joachim, yes this needs updating to include the extra parenthesis.

JohnC Answered question