Yamaha A5000 Owner's Manual - Page 276

Realtime messages, UNIVERSAL SYSTEM EXCLUSIVE, Reception, SAMPLE DUMP STANDARD

Page 276 highlights

MIDI Data Format 3. Realtime messages 3.1. Reception 3.1.1. Active sensing Once active sensing is received, monitoring will begin, and if no MIDI input appears for an interval longer than approximately 400 msec, the MIDI receive buffer will be cleared, and the tone generator will be damped. 3.1.2 Timing Clock, Start, Continue, Stop When Program LFO Sync is set to MIDI, the LFO frequency and phase, the frequency of temposynchronized effects, and other time settings can be controlled via reception of Timing Clock ($F8), Start ($FA), CONTINUE ($FB) and STOP ($FC) messages. 4. UNIVERSAL SYSTEM EXCLUSIVE 4.1. SAMPLE DUMP STANDARD Transmission occurs when sample bulk dump is carried out using Format=SDS#nnnn or a Sample Dump Request is received. The A5000/A4000 will automatically detect whether the MIDI connections are an open loop or a closed loop, and will automatically switch to use or not use hand shaking. When the channel number and device number matches for each message that message is effective. The message is processed regardless of the device number when the received channel number is $7F. The sample number is in the range of 0-1024 (displayed as 1-1025), and samples will automatically be assigned to sample objects. For transmission, these numbers or the specified number will be used. For reception, sample numbers in the range of 0-16383 will be recognized, and the sample will be kept as"MIDI nnnnn" where sample number nnnnn is added to the name. 4.1.1. Dump Request 0 11110000 $F0 1 01111110 $7E 2 0nnnnnnn nnnnnnn = Channel Number 3 00000011 $03 4 0sssssss sssssss = Sample number(LSB first) 5 0sssssss sssssss = 6 01110111 $F7 When this message is received, the A5000/A4000 will search for the correspondingly-numbered sample, and if that sample exists, a dump header will be transmitted. If the corresponding sample does not exist, processing will be terminated. This message is not transmitted. 4.1.2. ACK 0 01110000 $F0 1 01111110 $7E 2 0nnnnnnn nnnnnnn = Channel Number 3 01111111 $7F 4 0ppppppp ppppppp = Packet number 5 01110111 $F7 This message indicates that the receiving device correctly received a packet. "Packet number" indicates the number of the packet which was received correctly. This message is transmitted and received. 4.1.3. NAK 0 01110000 $F0 1 01111110 $7E 2 0nnnnnnn nnnnnnn = Channel Number 3 01111110 $7E 4 0ppppppp ppppppp = Packet number 5 01110111 $F7 This message indicates that the receiving device received a packet incorrectly. "Packet number" indicates the number of the packet which was received incorrectly. This message is transmitted and received. 4.1.4. Cancel 0 01110000 $F0 1 01111110 $7E 2 0nnnnnnn nnnnnnn = Channel Number 3 01111101 $7D 4 0ppppppp ppppppp = Packet number 5 01110111 $F7 This message indicates that a dump is to be terminated. "Packet number" indicates the packet which was terminated. This message is transmitted and received. 4.1.5. Wait 0 01110000 $F0 1 01111110 $7E 2 0nnnnnnn nnnnnnn = Channel Number 3 01111100 $7C 4 0ppppppp ppppppp = Packet number 5 01110111 $F7 This message indicates a pause during a dump. This message is transmitted and received. 4.1.6. Dump Header 0 11110000 $F0 1 01111110 $7E 2 0nnnnnnn nnnnnnn = Channel Number 3 00000001 $01 4 0sssssss sssssss = Sample number(LSB first) 5 0sssssss sssssss = 6 0eeeeeee eeeeeee = Sample format 7 0fffffff fffffff = Sample period(LSB first) 8 0fffffff fffffff = 9 0fffffff fffffff = 10 0ggggggg ggggggg = Sample length(LSB first) 11 0ggggggg ggggggg = 12 0ggggggg ggggggg = 13 0hhhhhhh hhhhhhh = Sustain loop start point(LSB first) 14 0hhhhhhh hhhhhhh = 15 0hhhhhhh hhhhhhh = 16 0iiiiiii iiiiiii = Sustain loop end point(LSB first) 17 0iiiiiii iiiiiii = 18 0iiiiiii iiiiiii = 19 0ppppppp ppppppp = Loop type 20 11110111 $F7 This is the header portion of a dump. Name Sample format Sample period Sample length Sustain Loop start point Sustain Loop end point Loop type Range 8 - 28 0 - 2097151 0 - 2097151 0 - 2097151 0 - 2097151 $00/$01/$7F $00=forward only, $01=backward/forward, $7F=Loop off This message is transmitted and received. Contents Number of bits in one sample word Sample rate (nSec units) Amount of data (word units) Loop start address (word units) Loop end address (word units) Loop type 4.1.7. Data Packet 0 11110000 1 01111110 2 0nnnnnnn 3 00000010 4 0ppppppp 5 0ddddddd ⇓ 124 0ddddddd 125 0lllllll 126 11110111 $F0 $7E nnnnnnn = Channel Number $02 ppppppp = Packet number ddddddd  ⇓  Sample data(120byte) ddddddd  lllllll = Checksum $F7 This is the data portion of a dump. This message is transmitted and received. 4.2. MULTIPLE LOOP POINT MESSAGES 4.2.1. Loop Point Transmission 0 01110000 $F0 1 01111110 $7E 2 0nnnnnnn nnnnnnn = Channel Number 3 00000101 $05 4 00000001 $01 5 0sssssss sssssss = Sample number(LSB first) 6 0sssssss sssssss = 7 0bbbbbbb bbbbbbb = Loop number(LSB first) 8 0bbbbbbb bbbbbbb = 9 0ccccccc ccccccc = Loop type 10 0ttttttt ttttttt = Loop start address(LSB first) 11 0ttttttt ttttttt = 12 0ttttttt ttttttt = 13 0eeeeeee eeeeeee = Loop end address(LSB first) 14 0eeeeeee eeeeeee = 15 0eeeeeee eeeeeee = 16 11110111 $F7 This is loop point data. Name Loop number Loop type Range 0 - 16383 Loop start address Loop end address 0 - 2097151 0 - 2097151 Contents Loop number 16383 ($7F, $7F) means to delete all loops $00/$01/$7F Loop type $00=forward only, $01=backward/forward, $7F=Loop off Loop start address (word units) Loop end address (word units) 276 Appendix • A5000/A4000 q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q

  • 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

MIDI Data Format
276
Appendix
• A5000/A4000
● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●
3.
Realtime messages
3.1.
Reception
3.1.1.
Active sensing
Once active sensing is received, monitoring will begin, and if no MIDI input appears for an inter-
val longer than approximately 400 msec, the MIDI receive buffer will be cleared, and the tone
generator will be damped.
3.1.2 Timing Clock, Start, Continue, Stop
When Program LFO Sync is set to MIDI, the LFO frequency and phase, the frequency of tempo-
synchronized effects, and other time settings can be controlled via reception of Timing Clock
($F8), Start ($FA), CONTINUE ($FB) and STOP ($FC) messages.
4.
UNIVERSAL SYSTEM EXCLUSIVE
4.1.
SAMPLE DUMP STANDARD
Transmission occurs when sample bulk dump is carried out using Format=SDS#nnnn or a Sample
Dump Request is received.
The A5000/A4000 will automatically detect whether the MIDI connections are an open loop or a
closed loop, and will automatically switch to use or not use hand shaking.
When the channel number and device number matches for each message that message is effective.
The message is processed regardless of the device number when the received channel number is
$7F.
The sample number is in the range of 0-1024 (displayed as 1-1025), and samples will automati-
cally be assigned to sample objects. For transmission, these numbers or the specified number will
be used. For reception, sample numbers in the range of 0-16383 will be recognized, and the sam-
ple will be kept as"MIDI nnnnn" where sample number nnnnn is added to the name.
4.1.1.
Dump Request
0
11110000
$F0
1
01111110
$7E
2
0nnnnnnn
nnnnnnn = Channel Number
3
00000011
$03
4
0sssssss
sssssss = Sample number(LSB first)
5
0sssssss
sssssss =
6
01110111
$F7
When this message is received, the A5000/A4000 will search for the correspondingly-numbered
sample, and if that sample exists, a dump header will be transmitted. If the corresponding sample
does not exist, processing will be terminated.
This message is not transmitted.
4.1.2.
ACK
0
01110000
$F0
1
01111110
$7E
2
0nnnnnnn
nnnnnnn = Channel Number
3
01111111
$7F
4
0ppppppp
ppppppp = Packet number
5
01110111
$F7
This message indicates that the receiving device correctly received a packet. "Packet number"
indicates the number of the packet which was received correctly.
This message is transmitted and received.
4.1.3.
NAK
0
01110000
$F0
1
01111110
$7E
2
0nnnnnnn
nnnnnnn = Channel Number
3
01111110
$7E
4
0ppppppp
ppppppp = Packet number
5
01110111
$F7
This message indicates that the receiving device received a packet incorrectly. "Packet number"
indicates the number of the packet which was received incorrectly.
This message is transmitted and received.
4.1.4.
Cancel
0
01110000
$F0
1
01111110
$7E
2
0nnnnnnn
nnnnnnn = Channel Number
3
01111101
$7D
4
0ppppppp
ppppppp = Packet number
5
01110111
$F7
This message indicates that a dump is to be terminated. "Packet number" indicates the packet
which was terminated.
This message is transmitted and received.
4.1.5.
Wait
0
01110000
$F0
1
01111110
$7E
2
0nnnnnnn
nnnnnnn = Channel Number
3
01111100
$7C
4
0ppppppp
ppppppp = Packet number
5
01110111
$F7
This message indicates a pause during a dump.
This message is transmitted and received.
4.1.6.
Dump Header
0
11110000
$F0
1
01111110
$7E
2
0nnnnnnn
nnnnnnn = Channel Number
3
00000001
$01
4
0sssssss
sssssss = Sample number(LSB first)
5
0sssssss
sssssss =
6
0eeeeeee
eeeeeee = Sample format
7
0fffffff
fffffff = Sample period(LSB first)
8
0fffffff
fffffff =
9
0fffffff
fffffff =
10
0ggggggg
ggggggg = Sample length(LSB first)
11
0ggggggg
ggggggg =
12
0ggggggg
ggggggg =
13
0hhhhhhh
hhhhhhh = Sustain loop start point(LSB first)
14
0hhhhhhh
hhhhhhh =
15
0hhhhhhh
hhhhhhh =
16
0iiiiiii
iiiiiii = Sustain loop end point(LSB first)
17
0iiiiiii
iiiiiii =
18
0iiiiiii
iiiiiii =
19
0ppppppp
ppppppp = Loop type
20
11110111
$F7
This is the header portion of a dump.
Name
Range
Contents
Sample format
8 — 28
Number of bits in one sample word
Sample period
0 — 2097151
Sample rate (nSec units)
Sample length
0 — 2097151
Amount of data (word units)
Sustain Loop start point
0 — 2097151
Loop start address (word units)
Sustain Loop end point
0 — 2097151
Loop end address (word units)
Loop type
$00/$01/$7F
Loop type
$00=forward only,
$01=backward/forward,
$7F=Loop off
This message is transmitted and received.
4.1.7.
Data Packet
0
11110000
$F0
1
01111110
$7E
2
0nnnnnnn
nnnnnnn = Channel Number
3
00000010
$02
4
0ppppppp
ppppppp = Packet number
5
0ddddddd
ddddddd
Sample data(120byte)
124
0ddddddd
ddddddd
125
0lllllll
lllllll = Checksum
126
11110111
$F7
This is the data portion of a dump.
This message is transmitted and received.
4.2.
MULTIPLE LOOP POINT MESSAGES
4.2.1.
Loop Point Transmission
0
01110000
$F0
1
01111110
$7E
2
0nnnnnnn
nnnnnnn = Channel Number
3
00000101
$05
4
00000001
$01
5
0sssssss
sssssss = Sample number(LSB first)
6
0sssssss
sssssss =
7
0bbbbbbb
bbbbbbb = Loop number(LSB first)
8
0bbbbbbb
bbbbbbb =
9
0ccccccc
ccccccc = Loop type
10
0ttttttt
ttttttt = Loop start address(LSB first)
11
0ttttttt
ttttttt =
12
0ttttttt
ttttttt =
13
0eeeeeee
eeeeeee = Loop end address(LSB first)
14
0eeeeeee
eeeeeee =
15
0eeeeeee
eeeeeee =
16
11110111
$F7
This is loop point data.
Name
Range
Contents
Loop number
0 — 16383
Loop number
16383 ($7F, $7F) means to delete all loops
Loop type
$00/$01/$7F Loop type
$00=forward only,
$01=backward/forward,
$7F=Loop off
Loop start address
0 — 2097151
Loop start address (word units)
Loop end address
0 — 2097151
Loop end address (word units)