System Exclusive Protocol
K2500 System Exclusive Implementation
binary encoding for type(2) field:
decimal encoding for type(2) field:
Object name fields are sent as a string of ASCII values in a 'name' field, with one MIDI byte of
zero as a string terminator. For example, the name "Glass Kazoo" would be sent as letters:
hex encoding for 'name' field:
Data sizes and offsets are sent in the 'size' and 'offs' fields.These values refer to quantities of 8-
bit bytes in the K2500's memory, which is packed in the 'data' field.
Binary data in the 'data' field is sent by in one of two formats, according to the value of the
'form' field. If the 'form' field equals zero, the data is transmitted as 4 bits or one "nibble" in
every MIDI byte. If the 'form' field equals one, then the data is sent as a compressed bit-stream,
with 7 bits per midi byte. The bit-stream format is more efficient for data-transmission, while
the nibble format is easier to read (and write software for).
For example, to send the following four K2500 data bytes,
hex:
decimal:
binary:
eight MIDI bytes are sent in "nibble" format:
hex:
decimal:
binary:
0000100
five MIDI bytes are sent in bit-stream format:
hex:
decimal:
binary:
The bit-stream format can be thought of as taking the binary bits of the K2500 data and, starting
from the left, slicing off groups of 7 bits. Note that the trailing bits are set to zero.
After the 'data' field, there is another field, 'xsum'. This is a checksum field which is calculated
as the least significant 7-bits of the sum of all of the MIDI bytes that make up the 'data' field.
Messages
This section defines the K2500 System Exclusive message formats. Each message has a message
type (that goes in the 'msg-type' field; see Common Format, above), followed by the field
definitions of the message.
11-2
decimal:
binary:
G
l
a
s
47 6C
61
73
4F
D8
79
216
01001111 11011000
04
0F
4
15
0001111
0001101
27
39
118
0100111
1110110
132
10000100
0000001 0000100
1 4
s
_
K
a
73
20
4B
61
7A
01
29
1
41
00000001 00101001
0D
08
13
8
0001000
0000000
76
0
12
0
18
0000000
0010010
z
o
o
<null>
6F
6F 00
00
01
0
1
0000001
0000010
48
72
1001000
02
09
2
9
0001001
Need help?
Do you have a question about the K2500 - PERFORMANCE GUIDE REV F PART NUMBER 910252 CHAP 11 and is the answer not in the manual?
Questions and answers