MIDIMapperX icon indicating copy to clipboard operation
MIDIMapperX copied to clipboard

Syntax for calculating bytes in messages

Open DigitallyRemastered opened this issue 1 year ago • 0 comments

At current, the editable text area is filled in with hex shorthand for bytes with syntax allowing for using the note or CC event channel and volume/value using C or VV.

It would be nice to additionally be able calculate bytes from the strings provided by parsing for open and closed parentheses and evaluating the expression inside to a new hex value.

For instance, for a controller's system exclusive messages whose second to last byte is a checksum which is equivalent to some number minus the volume/value, then perhaps this checksum byte could be entered like so:

(66 - VV)

DigitallyRemastered avatar Sep 28 '24 23:09 DigitallyRemastered