Yamaha DSP5D Owner's Manual - Page 368

MIDI Data Format, CHANNEL MESSAGE

Page 368 highlights

MIDI Data Format MIDI Data Format This section explains the format of the data that the PM5D is able to understand, send, and receive. In addition to the messages described here, you can use the MIDI REMOTE function or the MIDI EVENT settings of the SCENE function to transmit any type of command. 1 CHANNEL MESSAGE 1.1 NOTE OFF (8n) Reception These messages are echoed to MIDI OUT if [OTHER ECHO] is ON. They are received if [Rx CH] matches, and used to control effects. STATUS DATA 1000nnnn 8n Note off message 0nnnnnnn nn Note number 0vvvvvvv vv Velocity(ignored) 1.2 NOTE ON (9n) Reception These messages are echoed to MIDI OUT if [OTHER ECHO] is ON. They are received if [Rx CH] matches, and used to control effects. STATUS DATA 1001nnnn 9n Note on message 0nnnnnnn nn Note number 0vvvvvvv vv Velocity (1-127:on, 0:off) 1.3 CONTROL CHANGE (Bn) Two types of control change can be transmitted and received; [NRPN] (NonRegistered Parameter Numbers) and freely-assigned [TABLE] (16CH x 110) messages. Select either [TABLE] or [NRPN]. Reception These messages are echoed to MIDI OUT if [Control Change ECHO] is ON. If [TABLE MULTI] is selected, these messages are received when [Control Change Rx] is ON, and will control parameters according to the settings of the [Control assign table]. If [TABLE SINGLE] is selected, these messages are received when [Control Change Rx] is ON and [Rx CH] matches, and will control parameters according to the settings of the [Control assign table]. For the parameters that can be assigned, refer to p.341. If [NRPN] is selected, these messages are received when [Control Change Rx] is ON and the [Rx CH] matches; the four messages NRPN control number (62h, 63h) and DATA ENTRY control number (06h, 26h) are used to control the specified parameter. Transmission If [TABLE MULTI] is selected, and if [Control Change Tx] is ON when you operate a parameter that is assigned in the [Control assign table], these messages will be transmitted. If [TABLE SINGLE] is selected, and if [Control Change Tx] is ON when you operate a parameter that is assigned in the [Control assign table], these messages are transmitted on the [Tx CH] channel. For the parameters that can be assigned, refer to p.341. If [NRPN] is selected, and if [Control Change Tx] is ON when you operate a specified parameter, the four messages NRPN control number (62h, 63h) and DATA ENTRY control number (06h, 26h) are transmitted on the [Tx CH] channel. Control Change messages are not used for transmission to PM5D Editor because there is no guarantee that the contents of the assignment tables will match. (Parameter Change messages are always used.) Control Change numbers 0 and 32 are for selecting banks. STATUS DATA STATUS DATA 1011nnnn Bn Control change 00 Control number (00) 0vvvvvvv vv Control Value (0-127) 1011nnnn Bn Control change 20 Control number (32) 0vvvvvvv vv Control Value (0-127) If [TABLE] is selected STATUS 1011nnnn Bn Control change DATA 0nnnnnnn nn Control number (1-31,33-95,102-119) * 0vvvvvvv vv Control Value (0-127) * Numbers 0, 32, and 96-101 cannot be used. Equation for converting a Control Value to parameter data paramSteps add mod curValue = paramMax - paramMin + 1; = paramWidth / paramSteps; = paramWidth - add * paramSteps; = parm * add + mod / 2; (1) If the assigned parameter has fewer than 128 steps paramWidth = 128; rxValue = Control value; (2) If the assigned parameter has 128 or more but less than 16,384 steps paramWidth = 16384; (2-1) When High and Low data is received rxValue = Control value(High) * 128 + Control value(Low); (2-2) When Low data is received rxValue = (curValue & 16256) + Control value(Low); (2-3) When High data is received rxValue = Control value(High) * 128 + (curValue & 127); (3) If the assigned parameter has 16,384 or more but less than 2,097,152 steps paramWidth = 2097152; (3-1) When High, Middle, and Low data is received rxValue = Control value(High) * 16384 + Control value(Middle) * 128 + Control value(Low); (3-2) When only Low data is received rxValue = (curValue & 2097024) + Control value(Low); (3-3) When only Middle data is received rxValue = (curValue & 2080895) + Control value(Middle) * 128; (3-4) When only High data is received rxValue = (curValue & 16383) + Control value(High) * 16384; (3-5) When only Middle and Low data is received rxValue = (curValue & 2080768) + Control value(Middle) * 128 + Control value(Low); (3-6) When only High and Low data is received rxValue = (curValue & 16256) + Control value(High) * 16384 + Control value(Low); (3-7) When only High and Middle data is received rxValue = (curValue & 127) + Control value(High) * 16384 + Control value(Middle) * 128; if ( rxValue > paramWidth) rxValue = paramWidth; param = ( rxValue - mod / 2) / add; If [NRPN] is selected STATUS 1011nnnn Bn Control change DATA 01100010 62 NRPN LSB 0vvvvvvv vv Parameter number LSB STATUS 1011nnnn Bn Control change * DATA 01100011 63 NRPN MSB 0vvvvvvv vv Parameter number MSB STATUS 1011nnnn Bn Control change * DATA 00000110 06 Data entry MSB 0vvvvvvv vv Parameter data MSB STATUS 1011nnnn Bn Control change * DATA 00100110 26 Data entry LSB 0vvvvvvv vv Parameter data LSB * The STATUS byte of the second and subsequent messages need not be added during transmission. Reception must occur correctly whether or not the status byte is omitted. 368 PM5D/PM5D-RH V2 / DSP5D Owner's Manual Reference section

  • 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
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • 347
  • 348
  • 349
  • 350
  • 351
  • 352
  • 353
  • 354
  • 355
  • 356
  • 357
  • 358
  • 359
  • 360
  • 361
  • 362
  • 363
  • 364
  • 365
  • 366
  • 367
  • 368
  • 369
  • 370
  • 371
  • 372
  • 373
  • 374
  • 375
  • 376
  • 377
  • 378
  • 379
  • 380
  • 381
  • 382
  • 383
  • 384
  • 385
  • 386
  • 387
  • 388
  • 389
  • 390
  • 391
  • 392
  • 393
  • 394
  • 395
  • 396
  • 397
  • 398
  • 399
  • 400
  • 401
  • 402
  • 403
  • 404
  • 405
  • 406
  • 407
  • 408
  • 409

MIDI Data Format
368
PM5D/PM5D-RH V2 / DSP5D Owner’s Manual
Reference section
MIDI Data Format
This section explains the format of the data that the PM5D is able to understand, send, and receive.
In addition to the messages described here, you can use the MIDI REMOTE function or the MIDI EVENT settings of the
SCENE function to transmit any type of command.
1
CHANNEL MESSAGE
1.1
NOTE OFF
(8n)
Reception
These messages are echoed to MIDI OUT if [OTHER ECHO] is ON.
They are received if [Rx CH] matches, and used to control effects.
1.2
NOTE ON
(9n)
Reception
These messages are echoed to MIDI OUT if [OTHER ECHO] is ON.
They are received if [Rx CH] matches, and used to control effects.
1.3
CONTROL CHANGE
(Bn)
Two types of control change can be transmitted and received; [NRPN] (Non-
Registered Parameter Numbers) and freely-assigned [TABLE] (16CH x 110)
messages. Select either [TABLE] or [NRPN].
Reception
These messages are echoed to MIDI OUT if [Control Change ECHO] is ON.
If [TABLE MULTI] is selected, these messages are received when [Control
Change Rx] is ON, and will control parameters according to the settings of the
[Control assign table]. If [TABLE SINGLE] is selected, these messages are
received when [Control Change Rx] is ON and [Rx CH] matches, and will
control parameters according to the settings of the [Control assign table]. For
the parameters that can be assigned, refer to p.341.
If [NRPN] is selected, these messages are received when [Control Change Rx] is
ON and the [Rx CH] matches; the four messages NRPN control number (62h,
63h) and DATA ENTRY control number (06h, 26h) are used to control the
specified parameter.
Transmission
If [TABLE MULTI] is selected, and if [Control Change Tx] is ON when you
operate a parameter that is assigned in the [Control assign table], these
messages will be transmitted. If [TABLE SINGLE] is selected, and if [Control
Change Tx] is ON when you operate a parameter that is assigned in the [Control
assign table], these messages are transmitted on the [Tx CH] channel. For the
parameters that can be assigned, refer to p.341.
If [NRPN] is selected, and if [Control Change Tx] is ON when you operate a
specified parameter, the four messages NRPN control number (62h, 63h) and
DATA ENTRY control number (06h, 26h) are transmitted on the [Tx CH]
channel.
Control Change messages are not used for transmission to PM5D Editor
because there is no guarantee that the contents of the assignment tables will
match. (Parameter Change messages are always used.)
Control Change numbers 0 and 32 are for selecting banks.
If [TABLE] is selected
Equation for converting a Control Value to parameter data
paramSteps
= paramMax - paramMin + 1;
add
= paramWidth / paramSteps;
mod
= paramWidth - add * paramSteps;
curValue
= parm * add + mod / 2;
(1) If the assigned parameter has fewer than 128 steps
paramWidth = 128; rxValue = Control value;
(2) If the assigned parameter has 128 or more but less than
16,384 steps
paramWidth = 16384;
(2-1) When High and Low data is received
rxValue = Control value(High) * 128 + Control value(Low);
(2-2) When Low data is received
rxValue = (curValue & 16256) + Control value(Low);
(2-3) When High data is received
rxValue = Control value(High) * 128 + (curValue & 127);
(3) If the assigned parameter has 16,384 or more but less than
2,097,152 steps
paramWidth = 2097152;
(3-1) When High, Middle, and Low data is received
rxValue = Control value(High) * 16384 + Control value(Middle) * 128 + Control
value(Low);
(3-2) When only Low data is received
rxValue = (curValue & 2097024) + Control value(Low);
(3-3) When only Middle data is received
rxValue = (curValue & 2080895) + Control value(Middle) * 128;
(3-4) When only High data is received
rxValue = (curValue & 16383) + Control value(High) * 16384;
(3-5) When only Middle and Low data is received
rxValue = (curValue & 2080768) + Control value(Middle) * 128 + Control
value(Low);
(3-6) When only High and Low data is received
rxValue = (curValue & 16256) + Control value(High) * 16384 + Control value(Low);
(3-7) When only High and Middle data is received
rxValue = (curValue & 127) + Control value(High) * 16384 + Control value(Middle)
* 128;
if ( rxValue > paramWidth)
rxValue = paramWidth;
param = ( rxValue - mod / 2) / add;
If [NRPN] is selected
STATUS
1000nnnn 8n
Note off message
DATA
0nnnnnnn nn
Note number
0vvvvvvv vv
Velocity(ignored)
STATUS
1001nnnn 9n
Note on message
DATA
0nnnnnnn nn
Note number
0vvvvvvv vv
Velocity (1-127:on, 0:off)
STATUS
1011nnnn Bn
Control change
DATA
00
Control number (00)
0vvvvvvv vv
Control Value (0-127)
STATUS
1011nnnn Bn
Control change
DATA
20
Control number (32)
0vvvvvvv vv
Control Value (0-127)
STATUS
1011nnnn Bn
Control change
DATA
0nnnnnnn nn
Control number (1-31,33-95,102-119) *
0vvvvvvv vv
Control Value (0-127)
*
Numbers 0, 32, and 96–101 cannot be used.
STATUS
1011nnnn Bn
Control change
DATA
01100010 62
NRPN LSB
0vvvvvvv vv
Parameter number LSB
STATUS
1011nnnn Bn
Control change *
DATA
01100011 63
NRPN MSB
0vvvvvvv vv
Parameter number MSB
STATUS
1011nnnn Bn
Control change *
DATA
00000110 06
Data entry MSB
0vvvvvvv vv
Parameter data MSB
STATUS
1011nnnn Bn
Control change *
DATA
00100110 26
Data entry LSB
0vvvvvvv vv
Parameter data LSB
*
The STATUS byte of the second and subsequent messages need not
be added during transmission. Reception must occur correctly
whether or not the status byte is omitted.