This tool allows you to easily convert between MSB (Most Significant Byte), LSB (Least Significant Byte), and the corresponding full decimal value. In MIDI and other binary-based systems, data values are often split across two bytes: the MSB and LSB. This converter allows you to enter either the MSB and LSB values to calculate the full 14-bit decimal value or enter the decimal value to get the MSB and LSB values.
Note that in the MIDILLI Controllers and the Configurator, full decimal values are used where applicable.
Convert Value to MSB/LSB:
Convert MSB/LSB to Value:
Conversion Formulas:
MSB and LSB to Decimal:Decimal Value=(MSB×128)+LSB
Where:
MSB (Most Significant Byte) is the higher byte value (0-127)
LSB (Least Significant Byte) is the lower byte value (0-127)
Decimal to MSB and LSB:
To split the decimal value back into MSB and LSB:MSB = Integer part of (Decimal Value ÷ 128)
LSB = Decimal Value % 128
Where:
Decimal Value is the full 14-bit value (ranging from 0 to 16383)
MSB (Most Significant Byte) is the higher byte value (0-127)
LSB (Least Significant Byte) is the lower byte value (0-127)