Roland JD-Xi Midi Implementation Manual Download Page 16

16

 

9

Example of an Exclusive Message 

and Calculating a Checksum

Roland Exclusive messages (RQ1, DT1) are transmitted with a checksum 

at the end (before F7) to make sure that the message was correctly 

received. The value of the checksum is determined by the address and 

data (or size) of the transmitted Exclusive message.

 

7

How to calculate the checksum 

(hexadecimal numbers are indicated by “H”)

The checksum is a value derived by adding the address, size, and 

checksum itself and inverting the lower 7 bits.

Here’s an example of how the checksum is calculated. We will assume 

that in the Exclusive message we are transmitting, the address is 

aabbccddH and the data or size is eeffH.

aa + bb + cc + dd + ee + ff = sum

sum / 128 = quotient ... remainder 

128 - remainder = checksum

<Example> Setting Effect 1 Reverb Send Level of Program to 100 (DT1)

According to the Parameter Address Map (p. 8), the start address 

of Temporary Program is 18 00 00 00H, the offset address of Effect 1 at 

Program is 02 00H, and the address of Reverb Send Level is 00 03H. 

Therefore the address of Reverb Send Level is;

   18 00 00 00H

         02 00H

+)       00 03H

   18 00 02 03H

64H = 100

So the system exclusive message should be sent is;

F0 

41 

10 

00 00 00 0E  12  18 00 02 03  64   ??   

F7

(1) (2) (3) (4)  

 

(5) address   

data 

 

checksum (6)

(1) Exclusive Status 

(2) ID (Roland)  (3) Device ID (17)

(4) Model ID (JD-Xi) 

(5) Command ID (DT1) 

(6) End of Exclusive

Then calculate the checksum.

18H + 00H + 02H + 03H + 64H = 24 + 0 + 2 + 3 + 100 = 129 (sum)

129 (sum) / 128 = 1 (quotient) ... 1 (remainder) 

checksum = 128 - 1 (remainder) = 127 = 7FH

This means that F0 41 10 00 00 00 0E 12 18 00 02 03 64 7F F7 is the 

message should be sent.

ASCII Code Table

Program Name, etc., of MIDI data are described the ASCII

code in the table below.

+------+------+------++------+------+------++------+------+------+

|  D   |  H   | Char ||  D   |  H   | Char ||  D   |  H   | Char |

+------+------+------++------+------+------++------+------+------+

|   32 |  20H |  SP  ||   64 |  40H |   @  ||   96 |  60H |   `  |

|   33 |  21H |   !  ||   65 |  41H |   A  ||   97 |  61H |   a  |

|   34 |  22H |   “  ||   66 |  42H |   B  ||   98 |  62H |   b  |

|   35 |  23H |   #  ||   67 |  43H |   C  ||   99 |  63H |   c  |

|   36 |  24H |   $  ||   68 |  44H |   D  ||  100 |  64H |   d  |

|   37 |  25H |   %  ||   69 |  45H |   E  ||  101 |  65H |   e  |

|   38 |  26H |   &  ||   70 |  46H |   F  ||  102 |  66H |   f  |

|   39 |  27H |   `  ||   71 |  47H |   G  ||  103 |  67H |   g  |

|   40 |  28H |   (  ||   72 |  48H |   H  ||  104 |  68H |   h  |

|   41 |  29H |   )  ||   73 |  49H |   I  ||  105 |  69H |   i  |

|   42 |  2AH |   *  ||   74 |  4AH |   J  ||  106 |  6AH |   j  |

|   43 |  2BH |   +  ||   75 |  4BH |   K  ||  107 |  6BH |   k  |

|   44 |  2CH |   ,  ||   76 |  4CH |   L  ||  108 |  6CH |   l  |

|   45 |  2DH |   -  ||   77 |  4DH |   M  ||  109 |  6DH |   m  |

|   46 |  2EH |   .  ||   78 |  4EH |   N  ||  110 |  6EH |   n  |

|   47 |  2FH |   /  ||   79 |  4FH |   O  ||  111 |  6FH |   o  |

|   48 |  30H |   0  ||   80 |  50H |   P  ||  112 |  70H |   p  |

|   49 |  31H |   1  ||   81 |  51H |   Q  ||  113 |  71H |   q  |

|   50 |  32H |   2  ||   82 |  52H |   R  ||  114 |  72H |   r  |

|   51 |  33H |   3  ||   83 |  53H |   S  ||  115 |  73H |   s  |

|   52 |  34H |   4  ||   84 |  54H |   T  ||  116 |  74H |   t  |

|   53 |  35H |   5  ||   85 |  55H |   U  ||  117 |  75H |   u  |

|   54 |  36H |   6  ||   86 |  56H |   V  ||  118 |  76H |   v  |

|   55 |  37H |   7  ||   87 |  57H |   W  ||  119 |  77H |   w  |

|   56 |  38H |   8  ||   88 |  58H |   X  ||  120 |  78H |   x  |

|   57 |  39H |   9  ||   89 |  59H |   Y  ||  121 |  79H |   y  |

|   58 |  3AH |   :  ||   90 |  5AH |   Z  ||  122 |  7AH |   z  |

|   59 |  3BH |   ;  ||   91 |  5BH |   [  ||  123 |  7BH |   {  |

|   60 |  3CH |   <  ||   92 |  5CH |   \  ||  124 |  7CH |   |  |

|   61 |  3DH |   =  ||   93 |  5DH |   ]  ||  125 |  7DH |   }  |

|   62 |  3EH |   >  ||   94 |  5EH |   ^  ||------+------+------+

|   63 |  3FH |   ?  ||   95 |  5FH |   _  |

+------+------+------++------+------+------+

D: decimal

H: hexadecimal

 

*

“SP” is space.

Summary of Contents for JD-Xi

Page 1: ...as follows BANK SELECT PROGRAM GROUP NUMBER MSB LSB NUMBER 095 064 001 128 SuperNATURAL Synth Tone 001 128 095 065 001 128 SuperNATURAL Synth Tone 129 256 The Analog Synth Tones corresponding to each...

Page 2: ...PROG OFFSET will change 6 6 Vibrato Depth Controller number 77 Status 2nd byte 3rd byte BnH 4DH vvH n MIDI channel number 0H FH ch 1 16 vv Vibrato Depth Value relative change 00H 40H 7FH 64 0 63 The...

Page 3: ...DnH vvH n MIDI channel number 0H FH ch 1 16 vv Channel Pressure 00H 7FH 0 127 Not received when the Receive Channel Press parameter SysEx is OFF 7 7 Pitch Bend Change Status 2nd byte 3rd byte EnH llH...

Page 4: ...sage Status Data byte Status F0H 7EH dev 06H 01H F7H Byte Explanation F0H Exclusive status 7EH ID number Universal Non realtime Message dev Device ID dev 10H 1FH 7FH 06H Sub ID 1 General Information 0...

Page 5: ...on the type of data and data will be transmitted from the specified starting address and size Refer to the address and size given in Parameter Address Map p 8 Data larger than 256 bytes will be divide...

Page 6: ...00H 00H Software revision level F7H EOX End of Exclusive 7 7 Data Transmission 6 6 Data set 1 DT1 Status Data byte Status F0H 41H dev 00H 00H 00H 0EH 12H aaH bbH F7H ccH ddH eeH ffH sum Byte Explanati...

Page 7: ...er 126 Status 2nd byte 3rd byte BnH 7EH mmH n MIDI channel number 0H FH ch 1 16 mm mono number 00H 10H 0 16 The same processing will be done as when an All Note Off message is received 7 7 Poly Contro...

Page 8: ...00 00 Temporary Tone Digital Synth Part 2 19 40 00 00 Temporary Tone Analog Synth Part 19 60 00 00 Temporary Tone Drums Part System Offset Address Description 00 00 00 System Common 00 03 00 System Co...

Page 9: ...F 0aaa aaaa reserve 00 10 0aaa aaaa Program Level 0 127 00 11 0000 aaaa 0000 bbbb 0000 cccc 0000 dddd Program Tempo 500 30000 5 00 300 00 00 15 0000 aaaa reserve 00 16 0000 aaaa Vocal Effect 0 2 OFF V...

Page 10: ...aa Part Mono Poly MONO ON POLY ON 0 2 MONO POLY TONE 00 0E 0000 00aa Part Legato Switch CC 68 0 2 OFF ON TONE 00 0F 000a aaaa Part Pitch Bend Range RPN 0 0 25 0 24 TONE 00 10 0000 00aa Part Portamento...

Page 11: ...aaa Tone Name 9 32 127 32 127 ASCII 00 09 0aaa aaaa Tone Name 10 32 127 32 127 ASCII 00 0A 0aaa aaaa Tone Name 11 32 127 32 127 ASCII 00 0B 0aaa aaaa Tone Name 12 32 127 32 127 ASCII 00 0C 0aaa aaaa T...

Page 12: ...nth Tone Offset Address Description 00 00 0aaa aaaa Tone Name 1 32 127 32 127 ASCII 00 01 0aaa aaaa Tone Name 2 32 127 32 127 ASCII 00 02 0aaa aaaa Tone Name 3 32 127 32 127 ASCII 00 03 0aaa aaaa Tone...

Page 13: ...000 000a reserve 00 20 0000 00aa WMT Velocity Control 0 2 OFF ON RANDOM 00 21 0000 000a WMT1 Wave Switch 0 1 OFF ON 00 22 0000 00aa WMT1 Wave Group Type 0 00 23 0000 aaaa 0000 bbbb 0000 cccc 0000 dddd...

Page 14: ...3 63 01 22 0000 0aaa TVF Filter Type 0 6 OFF LPF BPF HPF PKG LPF2 LPF3 01 23 0aaa aaaa TVF Cutoff Frequency 0 127 01 24 0000 0aaa TVF Cutoff Velocity Curve 0 7 FIXED 1 7 01 25 0aaa aaaa TVF Cutoff Vel...

Page 15: ...Example2 CE 49 CnH is the Program Change status and n is the MIDI channel number Since EH 14 and 49H 73 this is a Program Change message with MIDI CH 15 program number 74 Example3 EA 00 28 EnH is the...

Page 16: ...0 00 0E 12 18 00 02 03 64 F7 1 2 3 4 5 address data checksum 6 1 Exclusive Status 2 ID Roland 3 Device ID 17 4 Model ID JD Xi 5 Command ID DT1 6 End of Exclusive Then calculate the checksum 18H 00H 02...

Page 17: ...te rate Vibrate depth Vibrate delay 4 NRPN LSB MSB 4 RPN LSB MSB 4 Program Change True Number o 1 o 1 0 127 Program No 1 128 System Exclusive o 3 o System Common Song Position Song Select Tune Request...

Page 18: ...mmands o o o 1 o 1 Aux Messages All Sound Off Reset All Controllers Local On Off All Notes Off Omni Mode Off Omni Mode On Mono Mode On Poly Mode On Active Sensing System Reset o o x x o o o o o x o 2...

Reviews: