|
CTK-4200/CTK-5300/LK-211/LK-280 |
|
|
WK-220/WK-225/WK-330/CDP-220R |
|
|
MIDI Implementation |
|
|
CASIO COMPUTER CO., LTD. |
|
Contents |
|
|
I MIDI Message Overview |
5 |
|
1 |
Product Configuration as a MIDI Device |
5 |
1.1 |
System Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
1.2 |
Performance Controller Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
1.3 |
Sound Generator Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
2 |
Timbre Type Specific Operation |
6 |
3 |
Conditions that Disable Message Send and Receive |
7 |
II |
Channel Message |
8 |
4 |
Receive Channel |
8 |
5 |
Send Channel |
8 |
6 |
Note O |
8 |
7 |
Note On |
8 |
8 |
Polyphonic Key Pressure |
8 |
9 |
Control Change |
9 |
9.1 |
Bank Select (00H,20H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
9 |
9.2 |
Modulation (01H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
9 |
9.3 |
Data Entry (06H,26H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
10 |
9.4 |
Volume (07H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
10 |
9.5 |
Pan (0AH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
10 |
9.6 |
Expression (0BH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
10 |
1
9.7 |
Hold1 (40H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
11 |
9.8 |
Sostenuto (42H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
11 |
9.9 |
Soft (43H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
11 |
9.10 |
Reverb Send (5BH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
9.11 |
Chorus Send (5DH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
9.12 |
NRPN (62H,63H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
9.13 |
RPN (64H,65H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
10 |
Mode Message |
14 |
10.1 |
All Sound O (78H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
10.2 |
Reset All Controllers (79H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
10.3 |
All Notes O (7BH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
10.4 |
Omni O (7CH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
10.5 |
Omni On (7DH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
10.6 |
Mono (7EH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
10.7 |
Poly (7FH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
11 |
Program Change |
15 |
12 |
Channel After Touch |
16 |
13 |
Pitch Bend |
16 |
III |
System Message |
17 |
14 |
Timing Clock |
17 |
15 |
Start |
17 |
16 |
Stop |
17 |
17 |
Active Sensing |
17 |
18 |
System Exclusive Message |
17 |
18.1 |
Universal Real Time System Exclusive Message . . . . . . . . . . . . . . . . . . . . . . . . |
18 |
18.2 |
Instrument-Specific System Exclusive Message . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
IV |
Instrument-Specific System Exclusive Messages |
21 |
19 |
Format |
21 |
19.1 |
Message Classifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
19.2 |
Basic Message Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
2
19.3 |
Format of Each Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
20 |
Individual Parameter Operations |
29 |
21 |
Parameter Set Transfer |
29 |
21.1 |
Communication Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
21.2 |
One-way Mode Communication Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
30 |
21.3 |
Handshake Mode Communication Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
30 |
V Parameter List |
34 |
|
22 |
Using the Parameter List |
34 |
23 |
System Parameters |
34 |
23.1 |
System Information Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
34 |
23.2 |
Data Management Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
35 |
24 |
Patch Parameter |
36 |
24.1 |
Master Tune Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
24.2 |
Master Mixer Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
24.3 |
Part Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
25 |
Scale Memory Parameter |
36 |
25.1 |
Scale Memory Octave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
26 |
All Data Parameter |
37 |
27 |
Sequence Parameter |
37 |
27.1 |
Sequence Directory Info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
37 |
28 |
Registration Parameter |
37 |
28.1 |
Registration Directory Info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
37 |
29 |
Rhythm Parameter |
37 |
29.1 |
Rhythm Directory Info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
37 |
30 |
Song Parameter |
37 |
30.1 |
Song Directory Info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
37 |
31 |
Lesson Rec Parameter |
37 |
31.1 |
Lesson Rec Directory Info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
37 |
VI |
Parameter Set List |
38 |
3
32 |
Parameter Set Table |
38 |
VII |
Setting Values and Send/ Receive Values |
40 |
33 |
Setting Value Tables |
40 |
33.1 |
O /On Setting Value Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
40 |
33.2 |
–64 - 0 - +63 Setting Value Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
40 |
33.3 |
Pan Setting Value Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
40 |
33.4 |
Fine Tune Setting Value Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
40 |
33.5 |
Reverb Time Setting Value Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
33.6 |
Chorus Type Setting Value Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
VIII |
MIDI Implementation Notation |
42 |
34 |
Value Notation |
42 |
34.1 |
Hexadecimal Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
34.2 |
Binary Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
4
Part I
MIDI Message Overview
1Product Configuration as a MIDI Device
As a MIDI device, this Instrument consists of the System Section, Performance Controller Section, and Sound Generator Section described below. Each of these sections can send and receive specific MIDI Messages in accordance with its function.
1.1System Section
The System Section manages the Instrument status and user data. A communication method known as a ”bulk dump” can be used for two-way transfer of user data between the Instrument and a computer.
1.2Performance Controller Section
The Performance Controller Section performs keyboard play and controller operations, and generates performance messages in accordance with auto play, etc. Basically, generated performance messages are sent to external destinations while also being transmitted to the Sound Generator Section. The channel number of the sent channel message is in accordance with the Instrument’s instrument part number.
MIDI Output Performance Information The following describes the performance information that is output and is not output as MIDI signals.
•Output performance
–Keyboard play and controller operations by the musician
–Auto accompaniment
–Recorded song playback
•Non-output performance
–Demo Songs
–Song playback
–Lesson function
–Music Challenge
1.3Sound Generator Section
The Sound Generator Section mainly performs receive of performance information and sound source setting information. It consists of a common part that does not depend on the channel and a musical instrument part that is independent of each channel.
1.3.1Sound Generator Common Block
The common block consists of system e ects, mixer master control, etc. These can be controlled by general universal system exclusive messages, and the Instrument’s system exclusive messages.
5
1.3.2Instrument Part Block
The instrument part section consists of a total of 32 instrument parts, divided into two groups, named Group A and Group B of 16 instruments each. Each part can perform operations and setting changes using channel messages and Instrument’s system exclusive messages. Only Group B can be controlled by external channel messages.
As shown in the following table, there is a fixed relationship between channel message receive channel numbers and instrument parts.
Number |
Name |
Channel |
Assigned Function |
|
00 |
A01 |
01 |
Keyboard (Main) |
|
01 |
A02 |
02 |
Keyboard (Layer) |
|
02 |
A03 |
03 |
Keyboard (Split) |
|
03 |
A04 |
04 |
Keyboard/Recorder (Harmonize) |
|
04 |
A05 |
05 |
Sampling Phrase |
|
05 |
A06 |
06 |
Guide Sound |
|
06 |
A07 |
07 |
Guide Voice |
|
07 |
A08 |
08 |
Metronome |
|
08 |
A09 |
09 |
Auto Accompaniment (Percussion) |
|
09 |
A10 |
10 |
Auto Accompaniment (Drum) |
|
10 |
A11 |
11 |
Auto Accompaniment (Bass) |
|
11 |
A12 |
12 |
Auto Accompaniment (Chord 1) |
|
12 |
A13 |
13 |
Auto Accompaniment (Chord 2) |
|
13 |
A14 |
14 |
Auto Accompaniment (Chord 3) |
|
14 |
A15 |
15 |
Auto Accompaniment (Chord 4) |
|
15 |
A16 |
16 |
Auto Accompaniment (Chord 5) |
|
16 |
B01 |
01 |
MIDI/Auto Performance Functions/Recorder (Keyboard Playback Main) |
|
17 |
B02 |
02 |
MIDI/Auto Performance Functions/Recorder (Keyboard Playback Layer) |
|
18 |
B03 |
03 |
MIDI/Auto Performance Functions/Recorder (Keyboard Playback Split) |
|
19 |
B04 |
04 |
MIDI/Auto Performance Functions/Recorder (Solo 1) |
|
20 |
B05 |
05 |
MIDI/Auto Performance Functions/Recorder (Solo 2) |
|
21 |
B06 |
06 |
MIDI/Auto Performance Functions/Recorder (Solo 3) |
|
22 |
B07 |
07 |
MIDI/Auto Performance Functions/Recorder (Solo 4) |
|
23 |
B08 |
08 |
MIDI/Auto Performance Functions/Recorder (Solo 5) |
|
24 |
B09 |
09 |
MIDI/Auto Performance Functions |
|
25 |
B10 |
10 |
MIDI/Auto Performance Functions |
|
26 |
B11 |
11 |
MIDI/Auto Performance Functions |
|
27 |
B12 |
12 |
MIDI/Auto Performance Functions |
|
28 |
B13 |
13 |
MIDI/Auto Performance Functions |
|
29 |
B14 |
14 |
MIDI/Auto Performance Functions |
|
30 |
B15 |
15 |
MIDI/Auto Performance Functions |
|
31 |
B16 |
16 |
MIDI/Auto Performance Functions |
2Timbre Type Specific Operation
The sound source operation performed for a sound generator instrument receive message may depend on the value of the Timbre Type (see “About the Timbre Type” in “11 Program Change”) of each part’s
6
operation mode. For details, see the explanation for each message.
3Conditions that Disable Message Send and Receive
All MIDI message send and receive is temporarily disabled while any one of the following processes is in progress.
•SD memory card operation in progress(LK-280, LK-211, CTK-5300, WK-330, CDP-220R only)
•Recorder recording in progress
•Sampling operation in progress
7
Part II
Channel Message
4Receive Channel
The channel number of the channel message received by each part is shown in the table under “1.3.2 Instrument Part Block”.
5Send Channel
Basically, the MIDI channel of the channel message sent when the Instrument is played coincides with the MIDI channel of the part being played. Note, however, that the MIDI channel of the performance information that corresponds to the keyboard main part depends on the Keyboard Channel setting value.
6Note O
Message Format: 8nH kkH vvH
9nH kkH 00H(receive only)
n:MIDI Channel Number
kk:Key Number
vv:Velocity(Send:40H, Receive:Ignored)
Send Sent when the keyboard is played and when play is performed using Auto Accompaniment. The key number changes in accordance with the Octave Shift function.
Receive Receipt stops a note being sounded by a note on message.
7Note On
Message Format: 9nH kkH vvH
n:MIDI Channel Number
kk:Key Number
vv:Velocity
Send Sent when the keyboard is played and when play is performed using Auto Accompaniment. The key number changes in accordance with the Octave Shift function.
Receive Receipt sounds a note of the corresponding instrument part.
8Polyphonic Key Pressure
Message Format: AnH kkH vvH
n:MIDI Channel Number
kk:Key Number
vv:Pressure Value
8
Send This message is not sent by this Instrument.
Receive This message is not received by this Instrument.
9Control Change
Message Format: BnH ccH vvH
n:MIDI Channel Number
cc:Control Number
vv:Value
Send Sent when the Instrument’s pedal is operated or when Instrument settings are changed.
Receive Receipt changes the pedal and other performance conditions, and Instrument settings.
9.1Bank Select (00H,20H)
Message Format: BnH 00H mmH (MSB)
BnH 20H llH (LSB)
n:MIDI Channel Number
mm:MSB Value(Note1)
ll:LSB Value(Send:00H, Receive:Ignored)
Note1 : For details about the relationship between the MSB value and the tone, see the Tone List that comes with the
Instrument.
Send Sent when a tone is selected.
Receive Receipt causes a change in the tone bank number stored in Instrument memory, but the tone is not actually changed until a Program Change message is received. For details, see “11 Program Change”.
9.2Modulation (01H)
Message Format: BnH 01H vvH
n:MIDI Channel Number
vv:Value
Send This message is not sent by this Instrument.
Receive Receipt adds, to the tone being sounded, modulation of a depth specified by the value. In the case of a tone that already has modulation applied, receipt of this message increases the modulation depth. The modulation e ect di ers according to the tone being used.
9
9.3Data Entry (06H,26H)
Message Format: BnH 06H mmH (MSB)
BnH 26H llH (LSB)
n:MIDI Channel Number
mm:MSB Value
ll:LSB Value
Send Sent when there is a change to the parameter assigned to RPN. This Instrument does not have a parameter that corresponds to NRPN.
Receive Receipt changes the parameter assigned to RPN. This Instrument does not have a parameter that corresponds to NRPN.
9.4Volume (07H)
Message Format: BnH 07H vvH
n:MIDI Channel Number
vv:Value
Send Sent when auto accompaniment is used.
Receive Receipt changes the volume of the corresponding part.
9.5Pan (0AH)
Message Format: BnH 0AH vvH
n:MIDI Channel Number
vv:Value(Note1)
Note1 : For information about the relationship between setting values and send/receive values, see “33.3 Pan Setting Value
Table” in “VII Setting Values and Send/Receive Values”.
Send Sent when auto accompaniment is used.
Receive Receipt changes the pan of the corresponding part.
9.6Expression (0BH)
Message Format: BnH 0BH vvH
n:MIDI Channel Number
vv:Value
Send Sent when auto accompaniment is used.
Receive Receipt changes the Expression value.
10
9.7Hold1 (40H)
Message Format: BnH 40H vvH
n:MIDI Channel Number
vv:Value (Note1)
Note1 : For information about the relationship between setting values and send/receive values, see the “33.1 O /On Setting
Value Table” in “VII Setting Values and Send/Receive Values” of this document.
Send Sent when a pedal that has a sustain (damper) function is operated.
Receive Receipt performs an operation equivalent to a sustain pedal operation.
Timbre Type Specific Operation This operation di ers in accordance with the Timbre Type (see “About the Timbre Type” in “11 Program Change”) setting.
•Timbre Type: Melody
Sustain o /on control is performed in accordance with the value of the received message.
•Timbre Type: Drum
The received message does not a ect sound source operation.
9.8Sostenuto (42H)
Message Format: BnH 42H vvH
n:MIDI Channel Number
vv:Value (Note1)
Note1 : For information about the relationship between setting values and send/receive values, see the “33.1 O /On Setting Value Table” in “VII Setting Values and Send/Receive Values” of this document.
Send Sent when a pedal that has a sostenuto function is operated.
Receive Receipt performs an operation equivalent to a sostenuto pedal operation.
9.9Soft (43H)
Message Format: BnH 43H vvH
n:MIDI Channel Number
vv:Value (Note1)
Note1 : For information about the relationship between setting values and send/receive values, see the “33.1 O /On Setting Value Table” in “VII Setting Values and Send/Receive Values” of this document.
Send Sent when a pedal that has a soft function is operated.
Receive Receipt performs an operation equivalent to a soft pedal operation.
11
9.10Reverb Send (5BH)
Message Format: BnH 5BH vvH
n:MIDI Channel Number
vv:Value
Send Sent when auto accompaniment is used.
Receive Receipt changes the reverb send of the corresponding part.
9.11Chorus Send (5DH)
Message Format: BnH 5DH vvH
n:MIDI Channel Number
vv:Value
Send Sent when auto accompaniment is used and when a Chorus on/o operation is performed.
Receive Receipt changes the chorus send of the corresponding part.
9.12NRPN (62H,63H)
Message Format: BnH 62H llH (LSB)
BnH 63H mmH (MSB)
n:MIDI Channel Number
ll:LSB Value
mm:MSB Value
Send This message is not sent by this Instrument.
Receive This Instrument does not have a corresponding NRPN message.
9.13RPN (64H,65H)
Message Format: BnH 64H llH (LSB)
BnH 65H mmH (MSB)
n:MIDI Channel Number
ll:LSB Value
mm:MSB Value
12
9.13.1Pitch Bend Sensitivity
Message Format: BnH 64H 00H
BnH 65H 00H
BnH 06H mmH
BnH 26H llH
n:MIDI Channel Number
mm:MSB Value(00H - 0CH)
ll:LSB Value(Send:00H, Receive:Ignored)
Send Sent when Bend Range is changed (CTK-5300, WK-330, CDP-220R only).
Receive Receipt changes Bend Range.
9.13.2Fine Tune
Message Format: BnH 64H 01H
BnH 65H 00H
BnH 06H mmH
BnH 26H llH
n:MIDI Channel Number
mm:MSB Value
ll:LSB Value
Send This message is not sent by this Instrument.
Receive Receipt changes the fine tune of the corresponding part.
9.13.3Coarse Tune
Message Format: BnH 64H 02H
BnH 65H 00H
BnH 06H mmH
BnH 26H llH
n:MIDI Channel Number
mm:MSB Value
ll:LSB Value
Send This message is not sent by this Instrument.
Receive Receipt changes the coarse tune of the corresponding part. Does not a ect sound source operation when the Timbre Type (see “About the Timbre Type” in “11 Program Change”) is Drum.
9.13.4Null
Message Format: BnH 64H 7FH
BnH 65H 7FH
n:MIDI Channel Number
13