MIDI Data Format

Many MIDI messages listed in the MIDI Data Format are expressed in decimal numbers, binary numbers and hexadecimal numbers. Hexadecimal numbers may include the letter “H” as a suffix. Also, “n” can freely be defined as any whole number.

To enter data/values, refer to the table below.

(1) TRANSMIT FLOW

MIDI ←⎯ NOTE ON/OFF

9nH

OUT

 

 

 

CONTROL CHANGE

BnH

 

 

 

 

BANK SELECT MSB

BnH,00H

 

 

BANK SELECT LSB

BnH,20H

Decimal

Hexadecimal

Binary

0

00

0000

0000

1

01

0000

0001

2

02

0000

0010

3

03

0000

0011

4

04

0000

0100

5

05

0000

0101

6

06

0000

0110

7

07

0000

0111

8

08

0000

1000

9

09

0000

1001

10

0A

0000

1010

11

0B

0000

1011

12

0C

0000

1100

13

0D

0000

1101

14

0E

0000

1110

15

0F

0000

1111

16

10

0001

0000

17

11

0001

0001

18

12

0001

0010

19

13

0001

0011

20

14

0001

0100

21

15

0001

0101

22

16

0001

0110

23

17

0001

0111

24

18

0001

1000

25

19

0001

1001

26

1A

0001

1010

27

1B

0001

1011

28

1C

0001

1100

29

1D

0001

1101

30

1E

0001

1110

31

1F

0001

1111

32

20

0010

0000

33

21

0010

0001

34

22

0010

0010

35

23

0010

0011

36

24

0010

0100

37

25

0010

0101

38

26

0010

0110

39

27

0010

0111

40

28

0010

1000

41

29

0010

1001

42

2A

0010

1010

43

2B

0010

1011

44

2C

0010

1100

45

2D

0010

1101

46

2E

0010

1110

47

2F

0010

1111

48

30

0011

0000

49

31

0011

0001

50

32

0011

0010

51

33

0011

0011

52

34

0011

0100

53

35

0011

0101

54

36

0011

0110

55

37

0011

0111

56

38

0011

1000

57

39

0011

1001

58

3A

0011

1010

59

3B

0011

1011

60

3C

0011

1100

61

3D

0011

1101

62

3E

0011

1110

63

3F

0011

1111

Decimal

Hexadecimal

Binary

64

40

0100

0000

65

41

0100

0001

66

42

0100

0010

67

43

0100

0011

68

44

0100

0100

69

45

0100

0101

70

46

0100

0110

71

47

0100

0111

72

48

0100

1000

73

49

0100

1001

74

4A

0100

1010

75

4B

0100

1011

76

4C

0100

1100

77

4D

0100

1101

78

4E

0100

1110

79

4F

0100

1111

80

50

0101

0000

81

51

0101

0001

82

52

0101

0010

83

53

0101

0011

84

54

0101

0100

85

55

0101

0101

86

56

0101

0110

87

57

0101

0111

88

58

0101

1000

89

59

0101

1001

90

5A

0101

1010

91

5B

0101

1011

92

5C

0101

1100

93

5D

0101

1101

94

5E

0101

1110

95

5F

0101

1111

96

60

0110

0000

97

61

0110

0001

98

62

0110

0010

99

63

0110

0011

100

64

0110

0100

101

65

0110

0101

102

66

0110

0110

103

67

0110

0111

104

68

0110

1000

105

69

0110

1001

106

6A

0110

1010

107

6B

0110

1011

108

6C

0110

1100

109

6D

0110

1101

110

6E

0110

1110

111

6F

0110

1111

112

70

0111

0000

113

71

0111

0001

114

72

0111

0010

115

73

0111

0011

116

74

0111

0100

117

75

0111

0101

118

76

0111

0110

119

77

0111

0111

120

78

0111

1000

121

79

0111

1001

122

7A

0111

1010

123

7B

0111

1011

124

7C

0111

1100

125

7D

0111

1101

126

7E

0111

1110

127

7F

0111

1111

DATA ENTRY MSB

BnH,06H

DATA ENTRY LSB

BnH,26H

MAIN VOLUME

BnH,07H

PANPOT

BnH,0AH

EXPRESSION

BnH,0BH

SUSTAIN

BnH,40H

SOSTENUTE

BnH,42H

SOFT PEDAL

BnH,43H

REVERB SEND LEVEL

BnH,5BH

VARIATION SEND LEVEL

BnH,5EH

RPN LSB

BnH, 64H

RPN MSB

BnH, 65H

PITCH BEND SENS

BnH, 65H, 00H, 64H, 00H, 06H, mmH

PROGRAM CHANGE

CnH

PITCH BEND

EnH

SYSTEM EXCLUSIVE MESSAGE

 

<YAMAHA MIDI FORMAT>

 

<UNIVERSAL>

 

UNIVERSAL REALTIME

F0H 7FH.....F7H

UNIVERSAL NON-REALTIME

F0H 7EH.....F7H

<XG STANDARD>

 

XG PARAMETER CHANGE

F0H 43H 1nH 4CH aaH aaH aaH ddH

 

.....ddH F7H

XG BULK DUMP

F0H 43H 0nH 4CH bbH bbH aaH aaH

 

aaH ddH.....ddH ccH F7H

SPECIAL OPERATORS

 

SYSTEM REALTIME MESSAGE

 

MIDI CLOCK

F8H

START

FAH

STOP

FCH

ACTIVE SENSING

FEH

(2) RECEIVE FLOW

MIDI ⎯→ NOTE OFF

8nH

IN

 

 

 

NOTE ON/OFF

9nH

 

 

 

 

CONTROL CHANGE

 

 

 

 

 

 

BANK SELECT MSB

BnH,00H

 

 

BANK SELECT LSB

BnH,20H

 

 

MODULATION

BnH,01H

 

 

PORTAMENTO TIME

BnH,05H

 

 

DATA ENTRY MSB

BnH,06H

 

 

DATA ENTRY LSB

BnH,26H

 

 

MAIN VOLUME

BnH,07H

 

 

PANPOT

BnH,0AH

 

 

EXPRESSION

BnH,0BH

 

 

SUSTAIN

BnH,40H

 

 

PORTAMENTO

BnH,41H

 

 

SOSTENUTO

BnH,42H

 

 

SOFT PEDAL

BnH,43H

 

 

HARMONIC CONTENT

BnH,47H

 

 

RELEASE TIME

BnH,48H

 

 

ATTACK TIME

BnH,49H

 

 

BRIGHTNESS

BnH,4AH

Except the table above, for example 144-159 (decimal)/9nH/1001 0000-1001 1111 (binary) displays the Note On Message for each channel (1-16). 176- 191/BnH/1011 0000-1011 1111 displays the Control Change Message for each channel (1-16). 192-207/CnH/1100 0000-1100 1111 displays the Program Change Message for each channel (1-16). 240/FOH/1111 0000 denotes the start of a System Exclusive Message. 247/F7H/1111 0111 denotes the end of a System Exclusive Message.

aaH (hexidecimal)/0aaaaaaa (binary) denotes the data address. The address contains High, Mid, and Low.

bbH/0bbbbbbb denotes the byte count.

ccH/0ccccccc denotes the check sum.

ddH/0ddddddd denotes the data/value.

PORTAMENTO CONTROL

BnH,54H

REVERB SEND LEVEL

BnH,5BH

CHORUS SEND LEVEL

BnH,5DH

VARIATION SEND LEVEL

BnH,5EH

DATA INCREMENT

BnH,60H

DATA DECREMENT

BnH,61H

NRPN LSB

BnH,62H

NRPN MSB

BnH,63H

VIBRATO RATE

BnH,63H,01H,62H,08H,06H,mmH

VIBRATO DEPTH

BnH,63H,01H,62H,09H,06H,mmH

VIBRATO DELAY

BnH,63H,01H,62H,0AH,06H,mmH

FILTER CUTOFF FREQ.

BnH,63H,01H,62H,20H,06H,mmH

FILTER RESONANCE

BnH,63H,01H,62H,21H,06H,mmH

AEG ATTACK TIME

BnH,63H,01H,62H,63H,06H,mmH

AEG DECAY TIME

BnH,63H,01H,62H,64H,06H,mmH

AEG RELEASE

BnH,63H,01H,62H,66H,06H,mmH

DRUM INST

 

CUTOFF FREQ.

BnH,63H,14H,62H,rrH,06H,mmH

FILTER RESONANCE

BnH,63H,15H,62H,rrH,06H,mmH

AEG ATTACK RATE

BnH,63H,16H,62H,rrH,06H,mmH

AEG DECAY RATE

BnH,63H,17H,62H,rrH,06H,mmH

PITCH COARSE

BnH,63H,18H,62H,rrH,06H,mmH

110