Yamaha CP5 Data List - Page 31

Midi Data Format, Transmit Flow, Receive Flow

Page 31 highlights

MIDI Data Format Many MIDI messages listed in the MIDI Data Format section are expressed in hexadecimal or binary numbers. Hexadecimal numbers may include the letter "H" as a suffix. The letter "n" indicates a certain whole number. The chart below lists the corresponding decimal number for each hexadecimal number. Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 0A 11 0B 12 0C 13 0D 14 0E 15 0F 16 10 17 11 18 12 19 13 20 14 21 15 22 16 23 17 24 18 25 19 26 1A 27 1B 28 1C 29 1D 30 1E 31 1F 32 20 33 21 34 22 35 23 36 24 37 25 38 26 39 27 40 28 41 29 42 2A 43 2B 44 2C 45 2D 46 2E 47 2F 48 30 49 31 50 32 51 33 52 34 53 35 54 36 55 37 56 38 57 39 58 3A 59 3B 60 3C 61 3D 62 3E 63 3F Decimal Hexadecimal 64 40 65 41 66 42 67 43 68 44 69 45 70 46 71 47 72 48 73 49 74 4A 75 4B 76 4C 77 4D 78 4E 79 4F 80 50 81 51 82 52 83 53 84 54 85 55 86 56 87 57 88 58 89 59 90 5A 91 5B 92 5C 93 5D 94 5E 95 5F 96 60 97 61 98 62 99 63 100 64 101 65 102 66 103 67 104 68 105 69 106 6A 107 6B 108 6C 109 6D 110 6E 111 6F 112 70 113 71 114 72 115 73 116 74 117 75 118 76 119 77 120 78 121 79 122 7A 123 7B 124 7C 125 7D 126 7E 127 7F Additional Notes • For example, 144 - 159 (Decimal)/9nH/1001 0000 - 1001 1111 (Binary) indicate the noteon messages for the channels 1 through 16 respectively. 176 - 191/BnH/1011 0000 - 1011 1111 indicate the control change messages for the channels 1 through 16 respectively. 192 - 207/CnH/1100 0000 - 1100 1111 indicate the program change messages for the channels 1 through 16 respectively. 240/F0H/1111 0000 is positioned at the beginning of data to indicate a system exclusive message. 247/F7H/1111 0111 is positioned at the end of the system exclusive message. • aaH (Hexadecimal)/0aaaaaaa (Binary) indicates the data addresses. The data address consists of High, Mid and Low. • bbH/0bbbbbbb indicates byte counts. • ccH/0ccccccc indicates check sums. • ddH/0ddddddd indicates data/value. (1) TRANSMIT FLOW MIDI

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42

CP5 / CP50 Data List
31
MIDI Data Format
Many MIDI messages listed in the MIDI Data Format section are expressed in hexadecimal or
binary numbers. Hexadecimal numbers may include the letter “H” as a suffix. The letter “n”
indicates a certain whole number.
The chart below lists the corresponding decimal number for each hexadecimal number.
Additional Notes
For example, 144 – 159 (Decimal)/9nH/1001 0000 – 1001 1111 (Binary) indicate the note-
on messages for the channels 1 through 16 respectively. 176 – 191/BnH/1011 0000 –
1011 1111 indicate the control change messages for the channels 1 through 16
respectively. 192 – 207/CnH/1100 0000 – 1100 1111 indicate the program change
messages for the channels 1 through 16 respectively. 240/F0H/1111 0000 is positioned at
the beginning of data to indicate a system exclusive message. 247/F7H/1111 0111 is
positioned at the end of the system exclusive message.
aaH (Hexadecimal)/0aaaaaaa (Binary) indicates the data addresses. The data address
consists of High, Mid and Low.
bbH/0bbbbbbb indicates byte counts.
ccH/0ccccccc indicates check sums.
ddH/0ddddddd indicates data/value.
(1) TRANSMIT FLOW
MIDI <-+-[SW1]--+---------NOTE ON/OFF
9nH
OUT
|
|
|
+---------KEY’S AFTER TOUCH
AnH (Seq only)
|
|
|
+---------CONTROL CHANGE (All in Seq)
|
|
SUSTAIN SWITCH
BnH, 40H
|
|
ASSIGNABLE CONTROLLERS
BnH, (00H...5FH)
|
|
|
+--[SW4]--BANK SEL MSB
BnH, 00H
|
|
BANK SEL LSB
BnH, 20H
|
|
|
+---------CHANNEL MODE MESSAGE (Seq only)
|
|
RESET ALL CONTROLLERS
BnH, 79H
|
|
LOCAL CONTROL
BnH, 7AH
|
|
OMNI MODE OFF
BnH, 7CH
|
|
OMNI MODE ON
BnH, 7DH
|
|
MONO MODE ON
BnH, 7EH
|
|
POLY MODE ON
BnH, 7FH
|
|
|
+--[SW5]--PROGRAM CHANGE
CnH
|
|
|
+---------CHANNEL AFTER TOUCH
DnH (Seq only)
|
|
|
+---------PITCH BEND CHANGE
EnH
|
+--[SW2]-----------SYSTEM REALTIME MESSAGE
|
TIMING CLOCK
F8H
|
+------------------SYSTEM REALTIME MESSAGE
|
START
FAH
|
CONTINUE
FBH
|
STOP
FCH
|
+------------------ACTIVE SENSING
FEH
|
+--[SW3]-+---------SYSTEM EXCLUSIVE MESSAGE (All in Seq)
|
+---------<BULK DUMP>
|
|
F0H 43H 0nH 7FH 00H bhH blH ahH amH alH ddH...ddH ccH F7H
|
|
|
+---------<PARAMETER CHANGE>
|
F0H 43H 1nH 7FH 00H ahH amH alH ddH...ddH F7H
|
+------------------SYSTEM EXCLUSIVE MESSAGE
IDENTITY REPLY
F0H 7EH 7FH 06H 02H 43H 00H 41H 3FH (or40H) 06H 00H 00H
00H 7FH F7H
CP5: 3FH, 06H
CP50: 40H, 06H
[SW1]
MIDI Transmit Channel
When Zone Switch (ZoneSw) is set to "on", MIDI data is transmitted via the corresponding zone transmit channels
(TransCh).
When Zone Switch (ZoneSw) is set to "off", MIDI data is transmitted via the system transmit channels (TxCh).
[SW2]
MIDI Sync (can be set whether the sequencer block uses the internal Timing Clock, or external Timing Clock
messages received via MIDI IN)
[SW3]
MIDI Device Number
When set to all, transmitted via 1.
[SW4]
SYSTEM Bank Select Switch
[SW5]
SYSTEM Program Change Switch
(2) RECEIVE FLOW
MIDI>-+-[SW6]--+---------NOTE OFF
8nH
|
|
|
+---------NOTE ON/OFF
9nH
|
|
|
+---------CONTROL CHANGE (All in Seq)
|
|
MODULATION
BnH, 01H
|
|
PORTAMENTO TIME
BnH, 05H
|
|
DATA ENTRY MSB
BnH, 06H
|
|
DATA ENTRY LSB
BnH, 26H
|
|
MAIN VOLUME
BnH, 07H
|
|
PAN
BnH, 0AH
|
|
EXPRESSION
BnH, 0BH
|
|
SUSTAIN SWITCH
BnH, 40H
|
|
PORTAMENTO SWITCH
BnH, 41H
|
|
SOSTENUTO
BnH, 42H
|
|
HARMONIC CONTENT
BnH, 47H
|
|
EG RELEASE TIME
BnH, 48H
|
|
EG ATTACK TIME
BnH, 49H
|
|
BRIGHTNESS
BnH, 4AH
|
|
EG DECAY TIME
BnH, 4BH
|
|
EFFECT1 DEPTH
BnH, 5BH
|
|
EFFECT3 DEPTH
BnH, 5DH
|
|
DATA ENTRY INC
BnH, 60H
|
|
DATA ENTRY DEC
BnH, 61H
|
|
ASSIGNABLE CONTROLLER
BnH, (00H...5FH)
|
|
RPN
|
|
PITCH BEND SENS.
BnH, 64H, 00H, 65H, 00H, 06H, mmH
|
|
FINE TUNING
BnH, 64H, 01H, 65H, 00H, 06H,
|
|
mmH, 26H, llH
|
|
COARSE TUNING
BnH, 64H, 02H, 65H, 00H, 06H, mmH
|
|
RPN RESET
BnH, 64H, 7FH, 65H, 7FH
|
|
|
+--[SW4]--BANK SEL MSB
BnH, 00H
|
|
BANK SEL LSB
BnH, 20H
|
|
|
+---------CHANNEL MODE MESSAGE
|
|
ALL SOUND OFF
BnH, 78H
|
|
RESET ALL CONTROLLERS
BnH, 79H
|
|
LOCAL CONTROL
BnH, 7AH
|
|
ALL NOTE OFF
BnH, 7BH
|
|
OMNI MODE OFF
BnH, 7CH
|
|
OMNI MODE ON
BnH, 7DH
|
|
MONO
BnH, 7EH
|
|
POLY
BnH, 7FH
|
|
|
+--[SW5]--PROGRAM CHANGE
CnH
|
|
|
+---------PITCH BEND CHANGE
EnH
|
Decimal
Hexadecimal
Decimal
Hexadecimal
0
0
64
40
1
1
65
41
2
2
66
42
3
3
67
43
4
4
68
44
5
5
69
45
6
6
70
46
7
7
71
47
8
8
72
48
9
9
73
49
10
0A
74
4A
11
0B
75
4B
12
0C
76
4C
13
0D
77
4D
14
0E
78
4E
15
0F
79
4F
16
10
80
50
17
11
81
51
18
12
82
52
19
13
83
53
20
14
84
54
21
15
85
55
22
16
86
56
23
17
87
57
24
18
88
58
25
19
89
59
26
1A
90
5A
27
1B
91
5B
28
1C
92
5C
29
1D
93
5D
30
1E
94
5E
31
1F
95
5F
32
20
96
60
33
21
97
61
34
22
98
62
35
23
99
63
36
24
100
64
37
25
101
65
38
26
102
66
39
27
103
67
40
28
104
68
41
29
105
69
42
2A
106
6A
43
2B
107
6B
44
2C
108
6C
45
2D
109
6D
46
2E
110
6E
47
2F
111
6F
48
30
112
70
49
31
113
71
50
32
114
72
51
33
115
73
52
34
116
74
53
35
117
75
54
36
118
76
55
37
119
77
56
38
120
78
57
39
121
79
58
3A
122
7A
59
3B
123
7B
60
3C
124
7C
61
3D
125
7D
62
3E
126
7E
63
3F
127
7F