|
|
OTHER SYNTHS
|
Re: Question on QS sysex specs docPosted by Dan Halbert on November 11, 1997 at 08:32:00: In Reply to: Re: Question on QS sysex specs doc posted by Jason Peter on November 10, 1997 at 22:19:01:
: : For you computer folks, consider the bytes in a "little-endian" fashion. : OK, so here's a good one... Nope. The transmission format is not endian - it's just sequences of bytes. The storage format is also just sequences of bytes, so it's the same on both platforms, and you don't have to do any translation when moving files between platforms of opposite endianness (thank goodness!). Little-endian vs. big-endian only becomes an issue when you are trying to interpret pieces of data that span more than one byte. You need to know, for instance, whether the "first" byte of a two-byte integer is the low or high byte. If low, it's little-endian; if high, it's big-endian. My interpretation of the Alesis SysEx docs is that their data is little-endian, because of the way that values that span more than one byte are laid out. When a value spans two bytes, it includes the top bits of the lower-numbered byte, and the low bits of the higher-numbered byte. 22222222 11111111 00000000 byte number Dan
|
all rights reserved