https://github.com/celtera/libremidi/blob/master/include%2Flibremidi%2Fprotocols%2Fremote_control.hpp#L400
Two newlines are always inserted replacing any characters sent.
Hardware maps characters automatically on the two lines.
7 chars per channel, 8 channels -> 56
Char 56 and 112 shouldnt be overwritten.
Also see
https://htlab.net/computer/protocol/mackie-control/MackieControlProtocol_EN.pdf
This might be needed for touchOSC which I guess does not wrap automatically.
Would it make sense to make this either devicetype dependent or as a protocol option?
By the way, thanks for the implementation!
I'm aiming to extend it a bit to contol x-touch surfaces :)
Ps. Also Im not sure why this 'N' variable is needed along with the safeguard min function. Isnt the conditional right before doing the safeguard, couldnt 'len' be used directly?
https://github.com/celtera/libremidi/blob/master/include%2Flibremidi%2Fprotocols%2Fremote_control.hpp#L395
https://github.com/celtera/libremidi/blob/master/include%2Flibremidi%2Fprotocols%2Fremote_control.hpp#L400
Two newlines are always inserted replacing any characters sent.
Hardware maps characters automatically on the two lines.
7 chars per channel, 8 channels -> 56
Char 56 and 112 shouldnt be overwritten.
Also see
https://htlab.net/computer/protocol/mackie-control/MackieControlProtocol_EN.pdf
This might be needed for touchOSC which I guess does not wrap automatically.
Would it make sense to make this either devicetype dependent or as a protocol option?
By the way, thanks for the implementation!
I'm aiming to extend it a bit to contol x-touch surfaces :)
Ps. Also Im not sure why this 'N' variable is needed along with the safeguard min function. Isnt the conditional right before doing the safeguard, couldnt 'len' be used directly?
https://github.com/celtera/libremidi/blob/master/include%2Flibremidi%2Fprotocols%2Fremote_control.hpp#L395