Warning, I suck at Max, but I am trying.
I have a device that accepts 3 characters using sysex for a LED display.
The message looks like "sxformat 240 66 64 110 8 34 4 0 / is $i1 / / is $i2 / / is $i3 / 247"
where the inputs are ascii values.
I want to send a message, convert the first three characters into ascii values and then input them into the sxformat and send the message off. I'm having a hard time figuring out how to split the string, convert the letters, and then collect them before sending off the message as three inputs at the same time. I'm sure this is easy for the Max regulars out there. It should handle strings of 0, 1, 2 or 3 characters correctly as well. 0x29 is a blank.
The ultimate would be if the string is over length of 3 is rotates the letters on a timer, but I can do this in a JS part of the patch pretty simply so just the above would suffice.
I'm going to keep diving into the various Max objects but any guidance in the mean time would be greatly appreciated.