beautypg.com

Transmit data, Channel voice messages, Midi implementation – Roland MIDI Implementation F-120R User Manual

Page 8: Data transmission, Control change, Program change, Data set 1 (dt1), Bank select (controller number 0, 32), Expression (controller number 11), Hold 1 (controller number 64)

background image

MIDI Implementation

8

Data Transmission

This instrument can receive the various parameters using System Exclusive messages.

The exclusive message of GS format data has a model ID of 42H and a device ID of

10H (17), and it is common to all the GS devices.

Data Set 1 (DT1)

This is the message that actually performs data transmission, and is used when you

wish to transmit the data.

Status Data

byte

Status

F0H

41H, 10H, 42H, 12H, aaH, bbH,

F7H

ccH, ddH, ... eeH, sum

Byte Explanation

F0H Exclusive

status

41H

ID number (Roland)

10H Device

ID

42H

Model ID (GS)

12H

Command ID (DT1)

aaH

Address MSB: upper byte of the starting address of

the transmitted data

bbH

Address: middle byte of the starting address of the

transmitted

data

ccH

Address LSB: lower byte of the starting address of

the transmitted data

ddH

Data: the actual data to be transmitted. Multiple

bytes of data are transmitted starting from the

address.

: :

eeH Data

sum Checksum

F7H

EOX (End Of Exclusive)

* The amount of data that can be transmitted at one time depends on the type of

data, and data can be received only from the specifi ed starting address and size.

Refer to the Address and Size given in Section 3.

* Data larger than 128 bytes must be divided into packets of 128 bytes or less. If

“Data Set 1” is transmitted successively, there must be an interval of at least 40 ms

between packets.

* Regarding the checksum, please refer to section 4 .

2. Transmit Data

Channel Voice Messages

Note Off

Status

2nd byte

3rd byte

8nH kkH vvH

n = MIDI channel number:

0H-FH (ch.1-ch.16)

kk = note number:

00H-7FH (0-127)

vv = note off velocity:

00H-7FH (0-127)

Note On

Status

2nd byte

3rd byte

9nH kkH vvH

n = MIDI channel number:

0H-FH (ch.1-ch.16)

kk = note number:

00H-7FH (0-127)

vv = note on velocity:

01H-7FH (1-127)

Control Change

Bank Select (Controller Number 0, 32)

Status

2nd byte

3rd byte

BnH 00H mmH

BnH 20H llH

n = MIDI channel number:

0H-FH (ch.1-ch.16)

mm, ll = Bank number:

00H, 00H-7FH, 7FH (bank.1-bank.16384)

Expression (Controller number 11)

Status

2nd byte

3rd byte

BnH 0BH vvH

n = MIDI channel number:

0H-FH (ch.1-ch.16)

vv = Control value:

00H-7FH (0-127)

Hold 1 (Controller Number 64)

Status

2nd byte

3rd byte

BnH 40H vvH

n = MIDI channel number:

0H-FH (ch.1-ch.16)

vv = Control value:

00H-7FH (0-127)

Sostenuto (Controller Number 66)

Status

2nd byte

3rd byte

BnH 42H vvH

n = MIDI channel number:

0H-FH (ch.1-ch.16)

vv = Control value:

00H, 7FH (0, 127) 0 = OFF, 127 = ON

Soft (Controller Number 67)

Status

2nd byte

3rd byte

BnH 43H vvH

n = MIDI channel number:

0H-FH (ch.1-ch.16)

vv = Control value:

00H-7FH (0-127)

Eff ect 1 (Reverb Send Level) (Controller Number 91)

Status

2nd byte

3rd byte

BnH 5BH vvH

n = MIDI channel number:

0H-FH (ch.1-ch.16)

vv = Control value:

00H-7FH (0-127)

Program Change

Status 2nd

byte

CnH ppH