beautypg.com

Supplementary material, Addresses transmitted by panel operations, Other addresses received – Roland SP-606 User Manual

Page 95: Calculation of the checksum of exclusive messages

background image

95

MIDI Implementation

Addresses Transmitted by Panel Operations

The following addresses are transmitted when you operate the panel in EXT mode.

(

*1

): This is transmitted when you press a pad (it is not transmitted when you

release the pad). It is not transmitted for NOTE TRIG.

Other Addresses Received

For addresses marked by #, the data is divided into multiple pieces for reception.
Example: for Beat = 32
32 is expressed in hexadecimal as 020H. 020H is divided as [00H 02H 00H].

4. Supplementary material

Calculation of the Checksum of Exclusive

Messages

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.

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 aa
bb cc ddH and the data or size is ee ff gg hhH.

aa + bb + cc + dd + ee + ff + gg + hh = sum
sum / 128 = quotient ... remainder
128 - remainder = checksum
(However, the checksum will be 0 if the remainder is 0.)
The SP-606 will process the data even if the received checksum is incorrect.

Address

Description

Data (Value)

01 00 00 00

TRIGGER (D BEAM)

0 (OFF),
1 (ON)

01 00 00 01

SYNTH (D BEAM)

01 00 00 02

V-LINK

01 00 00 03

FILTER (D BEAM)

01 00 00 04

MENU

01 00 00 05

F1

01 00 00 06

F2

01 00 00 07

F3

01 00 00 08

BPM

01 00 00 09

(CURSOR)

01 00 00 0a

(CURSOR)

01 00 00 0b

(CURSOR)

01 00 00 0c

(CURSOR)

01 00 00 0d

EXIT

01 00 00 0e

ENTER

01 00 00 0f

DEC

01 00 00 10

INC

01 00 00 11

MASTERING

01 00 00 12

MFX1

01 00 00 13

MFX2

01 00 00 14

KNOB ASSIGN

01 00 00 15

SONG

01 00 00 16

PTN

01 00 00 17

1 (TRACK)

01 00 00 18

2 (TRACK)

01 00 00 19

3 (TRACK)

01 00 00 1a

4 (TRACK)

01 00 00 1b

(TOP)

01 00 00 1c

(BWD)

01 00 00 1d

(FWD)

01 00 00 1e

(STOP)

01 00 00 1f

(PLAY)

01 00 00 20

(REC)

01 00 00 21

(reserved)

01 00 00 22

(reserved)

01 00 00 23

PAD BANK

01 00 00 24

FUNC

01 00 00 25

ROLL

01 00 00 26

CLIP BOARD

01 00 00 27

SAMPLING

01 00 00 28

HOLD

01 00 00 29

INPUT SOURCE

02 00 00 00

CTRL1

0–127

02 00 00 01

CTRL2

02 00 00 02

CTRL3

02 00 00 03

D BEAM

03 00 00 00

VALUE Increment

1–127

03 00 00 01

VALUE Decrement

04 00 00 00

PAD 1

0 (MUTE),
1 (reserved),
2 (PART SELECT),
3 (SOLO),
4 (SEQ TRIGGER)
(

*1

)

04 00 00 01

PAD 2

04 00 00 02

PAD 3

04 00 00 03

PAD 4

04 00 00 04

PAD 5

04 00 00 05

PAD 6

04 00 00 06

PAD 7

04 00 00 07

PAD 8

04 00 00 08

PAD 9

04 00 00 09

PAD 10

04 00 00 0a

PAD 11

04 00 00 0b

PAD 12

04 00 00 0c

PAD 13

04 00 00 0d

PAD 14

04 00 00 0e

PAD 15

04 00 00 0f

PAD 16

Address

Description

Data (Value)

10 00 00 00

PAD 1 LED

0 (OFF),
1 (ON),
2 (BLINK)

10 00 00 01

PAD 2 LED

10 00 00 02

PAD 3 LED

10 00 00 03

PAD 4 LED

10 00 00 04

PAD 5 LED

10 00 00 05

PAD 6 LED

10 00 00 06

PAD 7 LED

10 00 00 07

PAD 8 LED

10 00 00 08

PAD 9 LED

10 00 00 09

PAD 10 LED

10 00 00 0a

PAD 11 LED

10 00 00 0b

PAD 12 LED

10 00 00 0c

PAD 13 LED

10 00 00 0d

PAD 14 LED

10 00 00 0e

PAD 15 LED

10 00 00 0f

PAD 16 LED

Address

Description

Data (Value)

# 11 00 00 00

0000 aaaa

EXT SEQ
SAMPLING BPM

400 (40.0)–
2000 (200.0)

0000 bbbb
0000 cccc

# 11 00 00 03

0000 aaaa

EXT SEQ
SAMPLING Beat

1–999

0000 bbbb
0000 cccc

11 00 00 06

00aa aaaa

EXT SEQ
SAMPLING Meter
num

1–32

11 00 00 07

0000 0aaa

EXT SEQ
SAMPLING Meter
den

1 (2BEAT),
2 (4BEAT),
3 (8BEAT),
4 (16BEAT)

SP-606_e.book 95 ページ 2004年6月21日 月曜日 午前10時8分