
MTG
- 55 -
MPC Keypad v4.00
Set One Preset Command (NEW format)
The Set Preset Sys Ex command allows you to write one preset to the MIDI
Patch Changer keypad. This command is variable length and depends on the
size if Pre-and Post- Patch arbitrary MIDI data contained within.
A Preset consists of the following data:
o
13 character ASCII name.
o
Pre-Patch MIDI data Delay value. 0x00 to 0x7F (0ms to 127ms per byte
sent).
o
Patch Change data Delay value. 0x00 to 0x7F (0ms to 127ms per byte
sent).
o
Post-Patch MIDI data Delay value. 0x00 to 0x7F (0ms to 127ms per byte
sent).
o
16 MIDI channels worth of Bank MSB/Bank LSB/Patch Change. The
values for these bytes are 0x00 to 0x7F. Disabled (unused) values will be
0x80 or 0xFF. These values are transmitted as most significant/least
significant byte pairs (nibbles); therefore this section of the data will be 16
x 3 x 2 = 96 bytes.
o
One byte of Pre-Patch data length (0x00 to 0x5A). This indicates the
length of Pre-Patch MIDI data to follow from 0 to 90 bytes.
o
Optional up to 90 bytes of Pre-Patch MIDI data sent as most
significant/least significant byte pairs (nibbles).
o
One byte of Post-Patch data length (0x00 to 0x5A). This indicates the
length of Post-Patch MIDI data to follow from 0 to 90 bytes.
o
Optional up to 90 bytes of Post-Patch MIDI data sent as most
significant/least significant byte pairs (nibbles).
Including the Sys Ex header and EOX byte, the command size varies from 168
bytes (both arb MIDI data sections have only the 00 length byte) to 528 bytes
(both arb MIDI data sections contain the length byte and 90 byte pairs each).
Transmitted:
(hex)
F0
System Exclusive
7D
Manufacturer ID. User settable – default is 7D.
22
Device ID for the MIDI Patch Changer.
31
Command type.
pp_msn
Preset number (most significant nibble).
pp_lsn
Preset number (least significant nibble).
<
:
13 bytes of ASCII data for the Preset Name
>
dd
One byte of Pre-Patch delay (in ms)