Chapter 11
System Exclusive Protocol
K2500 System Exclusive Implementation
The MIDI System Exclusive capabilities of the K2500 allow you to manipulate objects in the
K2500's memory from a computer system, another K2500, or a MIDI data recorder. The
following is a reference to the SysEx protocol used by the K2500. This information can be used
to build a simple object librarian software program. A word of advice—before you begin
experimenting with SysEx, make sure you have saved anything of value in RAM to disk.
NOTE: To support new features and changes in the K2500 line of products, the internal program
structure has been changed from that of the K2000. Due to these changes, you cannot transfer a K2000
program to a K2500, or a K2500 program to a K2000 via MIDI system exclusive. The K2500 software
will continue to be enhanced, and in the future the K2500 will be capable of accepting K2000 programs
over MIDI. As a result of this, computer based K2000 editor/librarians will not currently work with the
K2500, unless they have been revised to accommodate the changes.
Common Format
In the following discussion, the fields of the K2500 System Exclusive Protocol messages are
notated as...
field(length)
...where 'field' is the name of the particular information field in the message, and 'length' is
either 1, 2, 3, or n, representing the number of sequential MIDI bytes that make up the field. A
length of 'n' means that the field is of a variable length that is determined by its contents or sub-
fields.
All K2500 SysEx messages have the common format:
sox(1) kid(1) dev-id(1) pid(1) msg-type(1) message(n) eox(1)
'sox' is always F0h, and represents start of System Exclusive.
'kid' must be 07h, and is the Kurzweil Manufacturer ID.
'dev-id' is Device ID. The K2500 will recognize a SysEx message if the 'dev-id' is the same is the
SysX ID parameter from the MIDI Receive page (from the top level, press the MIDI mode
button and the RECV soft button.) If the K2500's SysX ID parameter is set to 127, it will
recognize SysEx messages no matter what the 'dev-id' is.
'pid' is the Product Identifier, and must be 78h (120 decimal), indicating the SysEx message is
for the K2500.
'msg-type' is the identifier of one of the K2500 SysEx messages defined below, and 'message' is
the variable-length message contents.
'eox' is always F7h, for end of System Exclusive.
Data Formats
K2500 SysEx messages are subdivided into fields that contain data in different formats. The
various fields are shown in the Messages section below. Within a message, any fields for values
that can be bigger than 7 bits are broken into 7 bit chunks. Thus two MIDI bytes gives 14 bits,
three bytes gives 21 bits. The significant bits are right justified in the field. All bytes in a field
must be present no matter what the value is. For example, an object type of 132 would be split
into two MIDI bytes in a 'type' field as 01 04:
System Exclusive Protocol
K2500 System Exclusive Implementation
11-1
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