Equation for converting the control value into parameter
data (CurValue)
paramSteps = paramMax - paramMin;
curValue = (Control Value * paramSteps)/127;
If the data begins with 00h or 20h
STATUS
1011nnnn
DATA
00000000
00000000
STATUS
1011nnnn
DATA
00100000
000000vv
STATUS
1100nnnn
DATA
0vvvvvvv
2.4 PROGRAM CHANGE (Cn)
When the SPX2000 receives this message, it will recall the effect specified
by the content of the program change table (página 22).
• Reception conditions
This message is received if the following two conditions are satisfied.
1) The "MIDI RECEIVE" setting (página 23) is "PGM CHANGE =
ON".
2) The channel on which the MIDI message is transmitted matches the
SPX2000's MIDI channel, or the SPX2000's MIDI channel is set to
OMNI.
• Format
STATUS
1100nnnn
DATA
0nnnnnnn
2.5 TIMING CLOCK (F8)
This message is used for tempo synchronization of the effect. Twenty-
four of these messages are received per quarter note.
• Reception conditions
This message is received if the "TEMPO SOURCE" setting (página 23)
is set to a tempo synchronization source of "MIDI."
• Format
STATUS
11111000
2.6 ACTIVE SENSING (FE)
Once the SPX2000 has received this message, failure to receive a message
of any kind for an interval longer than 400 ms will cause it to initialize
MIDI communication settings such as running status.
• Format
STATUS
11111110
2.7 SYSTEM RESET (FF)
When the SPX2000 receives this message, it will initialize MIDI commu-
nication settings such as running status.
• Format
STATUS
11111111
2.8 SYSTEM EXCLUSIVE MESSAGE (F0)
■ 2.8.1 BULK DUMP/BULK DUMP REQUEST
Bulk Dump messages are used to bulk dump SPX2000 data to a con-
nected MIDI device (see página 23) , or to receive data from a connected
MIDI device to overwrite internal settings of the SPX2000.
Bulk Dump Request messages request a bulk dump of data from the
SPX2000.
• Reception conditions
This message is received if the following two conditions are satisfied.
1) The "MIDI RECEIVE" setting (página 23) is "SYSEX BLKDMP = ON".
2) The device number within the MIDI message matches the
SPX2000's MIDI channel, or the SPX2000's MIDI channel is set to
OMNI.
90
SPX2000—Manual de instrucciones
Bn
Control change
00
Bank Select MSB
00
Bank number MSB (0); fixed
at 0
Bn
Control change
20
Bank Select LSB
vv
Bank number LSB (0, 1, 2); 0:
table A, 1: table B, 2: table
C
Cn
Program change
vv
Program number (0-127)
Cn
Program change
nn
Program number (0-127)
F8
Timing clock
FE
Active sensing
FF
System reset
• Transmission conditions
This message is transmitted when either of the following conditions
are met.
• The "BULK OUT (ALL)" function is executed to perform a bulk
dump.
• A Bulk Dump Request message is received.
• Data conversion
The data portion is handled by converting seven words of 8-bit data
into eight words of 7-bit data.
[Converting actual data into bulk data]
d[0~6]: Actual data
b[0~7]: Bulk data
b[0] = 0;
for( I=0; I<7; I++){
if( d[I]&0x80){
b[0] |= 1<<(6-I);
}
b[I+1] = d[I]&0x7F;
}
[Restoring bulk data into actual data]
d[0~6]: Actual data
b[0~7]: Bulk data
for( I=0; I<7; I++){
b[0] <<= 1;
d[I] = b[I+1]+(0x80&b[0]);
}
■ 2.8.1.1 System Setup Data Bulk Dump Format
This bulk-dumps the SPX2000's setup memory except for the program
change table.
• Format
STATUS
11110000
ID No.
01000011
SUB STATUS
0000nnnn
FORMAT No.
01111110
COUNT HIGH
0ccccccc
COUNT LOW
0ccccccc
01001100
01001101
00100000
00100000
00111000
01000100
00110001
00110001
DATA NAME
01010011
00000010
00000000
BLOCK INFO. 0ttttttt
0bbbbbbb
DATA
0ddddddd
:
0ddddddd
CHECK SUM
0eeeeeee
EOX
11110111
■ 2.8.1.2 System Setup Data Bulk Dump request Format
• Format
STATUS
11110000
ID No.
01000011
SUB STATUS
0010nnnn
FORMAT No.
01111110
01001100
01001101
00100000
00100000
00111000
01000100
00110001
00110001
DATA NAME
01010011
00000010
00000000
EOX
11110111
F0
System exclusive message
43
Manufacture's ID number
(YAMAHA)
0n
n=0-15 (Device number=Device
No-1)
7E
Universal bulk dump
ch
data count = ch * 128 + cl
cl
4C
'L'
4D
'M'
20
' '
20
' '
38
'8'
44
'D'
31
'1'
31
'1'
53
'S'
02
00
No.256 = Current
tt
total block number(minimum
number is 0)
bb
current block number(0-total
block number)
ds
Setup data of block[bb]
:
de
ee
ee=(Invert('L'+ c+de)+1)&0x7F
F7
End of exclusive
F0
System exclusive message
43
Manufacture's ID number
(YAMAHA)
2n
n=0-15 (Device number=Device
No-1)
7E
Universal bulk dump
4C
'L'
4D
'M'
20
' '
20
' '
38
'8'
44
'D'
31
'1'
31
'1'
53
'S'
02
00
No.256 = Current
F7
End of exclusive