Using Max to format LSB/MSB

Marigold Maripol's icon

Hello

I've spent a fair bit of time going through the forums, looking for a solution to this problem, but maybe I'm not understanding it correctly and some of the posts are definitely out-of-service, being nearly 15 years old.

Essentially, I need to input a number and break it down into LSB and MSB.
I believe I'm dealing with 7-bit resolution.

What's the best way to do this currently?

Source Audio's icon

What you believe must be wrong because 7-bit is range 0 - 127
which can be sent using single midi message.
No need for MSB LSB
using MSB LSB one can go up to 14-bit which is 127x127 = 0 - 16384 range
Control pairs usually set 32 CC numbers apart.
and there are units using MSB first, and then others using LSB first.
So you need to know what to send, or what to receive,
depending on gear used
normal case is MSB first
midi is much older than 15 years, and since it's invention specs haven't changed much if at all.
15 years old posts are definitely not out-of-service if what's stated in them is true

Marigold Maripol's icon

A lot of posts seemed to have dead links and patch examples that did not work.
Sorry - it looks like I meant 14-bit, LSB is first for the device I'm looking at.
Is it simply a matter of changing the 128 to 16384 in the patch you attached?

Source Audio's icon

you don't need to change anything, just place 2 values into
CC output string.

If you can't find out how to do so, just post exactly what you need.
In simple words.
What to send and what the control numbers are for LSB and MSB.