Operation Manual

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)