CTK-2000/CTK-3000/LK-220/LK-105
MIDI Implementation
CASIO COMPUTER CO., LTD.
Contents
Part I
MIDI Message Overview
1
Product Configuration as a MIDI Device.......................................................................................... 3
1.1
1.2
Performance Controller Section .......................................................................................................... 3
Sound Generator Section.................................................................................................................... 3
1.2.1
1.2.2
Sound Generator Common Block ..........................................................................................................3
Instrument Part Block.............................................................................................................................4
2
3
Timbre Type Specific Operation ...................................................................................................... 5
Conditions that Disable Message Send and Receive...................................................................... 5
Part II
Channel Message
4
5
6
7
8
9
Receive Channel ............................................................................................................................. 6
Send Channel.................................................................................................................................. 6
Note Off ........................................................................................................................................... 6
Note On ........................................................................................................................................... 6
Polyphonic Key Pressure................................................................................................................. 7
Control Change................................................................................................................................ 7
9.1
Bank Select (00H, 20H)....................................................................................................................... 7
Modulation (01H)................................................................................................................................. 8
Data Entry (06H, 26H)......................................................................................................................... 8
Volume (07H) ...................................................................................................................................... 8
Pan (0AH)............................................................................................................................................ 9
Expression (0BH) ................................................................................................................................ 9
Hold1 (40H) ......................................................................................................................................... 9
Sostenuto (42H) ................................................................................................................................ 10
Soft (43H) .......................................................................................................................................... 10
Reverb Send (5BH) ........................................................................................................................... 10
NRPN (62H, 63H).............................................................................................................................. 11
RPN (64H, 65H) ................................................................................................................................ 11
9.12.1 Pitch Bend Sensitivity..........................................................................................................................11
9.12.2 Fine Tune..............................................................................................................................................12
9.12.3 Coarse Tune..........................................................................................................................................12
9.12.4 Null.......................................................................................................................................................12
9.2
9.3
9.4
9.5
9.6
9.7
9.8
9.9
9.10
9.11
9.12
1
Part I
MIDI Message Overview
1
Product Configuration as a MIDI Device
In terms of a MIDI device, this Instrument consists of a Performance Controller Section and Sound Generator Section.
Each of these sections can send and receive specific MIDI Messages in accordance with its function.
1.1
Performance 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
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 by the performer
Auto accompaniment
•
Non-output performance
–
–
–
–
Demo performance
Song playback
Lesson function
Music Challenge
1.2
Sound Generator Section
The Sound Generator Section consists of a channel-independent common block and an independent instrument part specific
to each channel. Mainly it receives performance information and sound source setting information.
1.2.1
Sound Generator Common Block
The common block consists of system effects, mixer master control, etc. A number of the parameters of these items can
be controlled by universal system exclusive messages.
3
1.2.2
Instrument Part Block
The instrument parts of the sound generator can be operated or their settings can be changed with channel messages.
The 32 instrument parts of this Instrument are divided between Group A and Group B, each of which has 16 instrument
parts. 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
1
AssignedFunction
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
A01
A02
A03
A04
A05
A06
A07
A08
A09
A10
A11
A12
A13
A14
A15
A16
B01
B02
B03
B04
B05
B06
B07
B08
B09
B10
B11
B12
B13
B14
B15
B16
Keyboard
2
—
3
—
4
—
5
—
6
GuideSound
GuideVoice
Metronome
7
8
9
AutoAccompaniment(Percussion)
AutoAccompaniment(Drum)
10
11
12
13
14
15
16
1
AutoAccompaniment(Bass)
AutoAccompaniment(Chord1)
AutoAccompaniment(Chord2)
AutoAccompaniment(Chord3)
AutoAccompaniment(Chord4)
AutoAccompaniment(Chord5)
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
MIDI/AutoPerformanceFunctions
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
4
2
Timbre Type Specific Operation
The sound source operation performed for a received message depends on the current Timbre Type value (see "11.1 About
the Timbre Type), which is the operation mode of each sound generator instrument part. For details, see the explanation
for each message.
3
Conditions that Disable Message Send and Receive
All MIDI messages send and receive is disabled during auto play by the Instrument.
5
Part II
Channel Message
4
Receive Channel
The channel number of the channel message received by each part is shown in the table under "1.2.2 Instrument Part Block".
5
Send 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 is the Keyboard Channel setting value.
6
Note Off
Format
MessageFormat: 8nHkkHvvH
9nHkkH00H(receiveonly)
n: MIDIChannelNumber
kk: KeyNumber
vv: Velocity
Send
40H
Receive
Ignored
Send
Sent when something is played on the keyboard or when auto accompaniment is used.
Receive
Received by Instrument parts corresponding to MIDI. The velocity value is ignored.
7
Note On
Format
MessageFormat: 9nHkkHvvH
n: MIDIChannelNumber
kk: KeyNumber
vv: Velocity
Send
Sent when something is played on the keyboard.
Receive
Received by Instrument parts corresponding to MIDI.
6
8
Polyphonic Key Pressure
Format
MessageFormat: AnHkkHvvH
n: MIDIChannelNumber
kk: KeyNumber
vv: PressureValue
Send
This message is not sent by this Instrument.
Receive
This message is not received by this Instrument.
9
Control Change
Format
MessageFormat: BnHccHvvH
n: MIDIChannelNumber
cc: ControlNumber
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.1
Bank Select (00H, 20H)
Format
MessageFormat: BnH00HmmH(MSB)
BnH20HllH(LSB)
n: MIDIChannelNumber
mm: MSBValue(Note1)
ll: LSBValue
Send
00H
Receive
Ignored
Note 1:
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. The LSB value is always 00H.
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". The LSB value is ignored.
7
9.2
Modulation (01H)
Format
MessageFormat: BnH01HvvH
n: MIDIChannelNumber
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 effect differs according
to the tone being used.
9.3
Data Entry (06H, 26H)
Format
MessageFormat: BnH06HmmH(MSB)
BnH26HllH(LSB)
n: MIDIChannelNumber
mm: MSBValue
ll: LSBValue
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.4
Volume (07H)
Format
MessageFormat: BnH07HvvH
n: MIDIChannelNumber
vv: Value
Send
Sent when auto accompaniment is used.
Receive
Receipt changes the volume of the corresponding part.
8
9.5
Pan (0AH)
Format
MessageFormat: BnH0AHvvH
n: MIDIChannelNumber
vv: Value(Note1)
Note 1:
For information about the relationship between setting values and send/receive values, see "19.3 Pan Setting Value Table"
in "Part IV Setting Values and Send/Receive Values".
Send
Sent when auto accompaniment is used.
Receive
Receipt changes the pan setting of the corresponding part.
9.6
Expression (0BH)
Format
MessageFormat: BnH0BHvvH
n: MIDIChannelNumber
vv: Value
Send
Sent when auto accompaniment is used.
Receive
Receipt changes the Expression value.
9.7
Hold1 (40H)
Format
MessageFormat: BnH40HvvH
n: MIDIChannelNumber
vv: Value(Note1)
Note 1:
For information about the relationship between setting values and send/receive values, see the "19.1 Off/On Setting Value
Table" in "Part IV 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.
9
Timbre Type Specific Operation
This operation differs in accordance with the Timbre Type (see "11.1 About the Timbre Type") setting.
•
•
Timbre Type: Melody
Sustain off/on control is performed in accordance with the value of the received message.
Timbre Type: Drum
The received message does not affect sound source operation.
9.8
Sostenuto (42H)
Format
MessageFormat: BnH42HvvH
n: MIDIChannelNumber
vv: Value(Note1)
Note 1:
For information about the relationship between setting values and send/receive values, see the "19.1 Off/On Setting Value
Table" in "Part IV 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.9
Soft (43H)
Format
MessageFormat: BnH43HvvH
n: MIDIChannelNumber
vv: Value(Note1)
Note 1:
For information about the relationship between setting values and send/receive values, see the "19.1 Off/On Setting Value
Table" in "Part IV 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.
9.10
Reverb Send (5BH)
Format
MessageFormat: BnH5BHvvH
n: MIDIChannelNumber
vv: Value
10
Send
Sent when auto accompaniment is used.
Receive
Changes Reverb Send.
9.11
NRPN (62H, 63H)
Format
MessageFormat: BnH62HllH(LSB)
BnH63HmmH(MSB)
n: MIDIChannelNumber
ll: LSBValue
mm: MSBValue
Send
This message is not sent by this Instrument.
Receive
This Instrument does not have a corresponding NRPN message.
9.12
RPN (64H, 65H)
Format
MessageFormat: BnH64HllH(LSB)
BnH65HmmH(MSB)
n: MIDIChannelNumber
ll: LSBValue
mm: MSBValue
9.12.1
Format
Pitch Bend Sensitivity
MessageFormat: BnH64H00H
BnH65H00H
BnH06HmmH
BnH26HllH
n: MIDIChannelNumber
mm: MSBValue0-12
ll: LSBValue
Send
00H
Receive
Ignored
Send
Sent when the Bend Range is changed on the CTK-3000.
Receive
Receipt changes Bend Range.
11
9.12.2
Fine Tune
Format
MessageFormat: BnH64H01H
BnH65H00H
BnH06HmmH
BnH26HllH
n: MIDIChannelNumber
mm: MSBValue
ll: LSBValue
Send
This message is not sent by this Instrument.
Receive
Receipt changes Channel Fine Tune.
9.12.3
Coarse Tune
Format
MessageFormat: BnH64H02H
BnH65H00H
BnH06HmmH
BnH26HllH
n: MIDIChannelNumber
mm: MSBValue
ll: LSBValue
Send
This message is not sent by this Instrument.
Receive
Receipt changes Channel Coarse Tune. Does not affect sound source operation when the Timbre Type is Drum.
9.12.4
Null
Format
MessageFormat: BnH64H7FH
BnH65H7FH
n: MIDIChannelNumber
Send
Sent after the Bend Range is changed on the CTK-3000.
Receive
Receipt deselects RPN.
12
9.13
All Sound Off (78H)
Format
MessageFormat: BnH78H00H
n: MIDIChannelNumber
Send
Sent when Local is set to OFF on the Instrument.
Receive
Receipt stops all voices that are sounding.
9.14
Reset All Controllers (79H)
Format
MessageFormat: BnH79H00H
n: MIDIChannelNumber
Send
Sent when MIDI send related settings are changed on the Instrument.
Receive
Receipt initializes each performance controller.
10
Mode Message
10.1
All Notes Off (7BH)
Format
MessageFormat: BnH7BH00H
n: MIDIChannelNumber
Send
Sent when MIDI send related settings are changed on the Instrument, or when auto play is stopped, etc.
Receive
Receipt of any of this message releases the currently sounding voice (same as releasing the keyboard key).
10.2
Omni Off (7CH)
Format
MessageFormat: BnH7CH00H
n: MIDIChannelNumber
Send
This message is never sent.
Receive
Receipt of this message performs the same operation as when All Notes Off is received.
13
10.3
Omni On (7DH)
Format
MessageFormat: BnH7DH00H
n: MIDIChannelNumber
Send
This message is never sent.
Receive
Receipt of this message performs the same operation as when All Notes Off is received.
10.4
Mono (7EH)
Format
MessageFormat: BnH7EH00H
n: MIDIChannelNumber
Send
This message is never sent.
Receive
Receipt of this message performs the same operation as when All Notes Off is received.
10.5
Poly (7FH)
Format
MessageFormat: BnH7FH00H
n: MIDIChannelNumber
Send
This message is never sent.
Receive
Receipt of this message performs the same operation as when All Notes Off is received.
11
Program Change
Format
MessageFormat: CnHppH
n: MIDIChannelNumber
pp: ProgramNumber(Note1)
Note 1:
For details about the relationship between the program number and the tone, see the Tone List that comes with the Instrument.
Send
Sent when a tone is selected.
14
Receive
Receipt of this message changes the tone of the part that corresponds to the MIDI channel.
The selected tone is determined by the program value of this message and the Bank Select message value received prior
to this message.
Also note that receipt of this message also may change the Timbre Type that corresponds to the selected tone. For more
information, see "11.1 About the Timbre Type" below.
11.1
About the Timbre Type
Tones that are selected by each Instrument part have an attribute that depends on the sound source operation type. This
attribute is called the "timbre type," which is one of the types described below.
•
Melody
This timbre type optimizes for normal melody tones.
•
Drum
This setting optimizes for drum sounds. The damper pedal does not function. The Hold1, Channel Coarse Tune,
and Master Coarse Tune messages are ignored if they are received.
12
Channel Aftertouch
Format
MessageFormat: DnHvvH
n: MIDIChannelNumber
vv: Value
Send
These messages are never sent.
Receive
Receipt of this message adds modulation to the voice that is sounding. The modulation effect differs according to the tone
being used.
13
Pitch Bend
Format
MessageFormat: EnHllHmmH
n: MIDIChannelNumber
ll: ValueLSB
mm: ValueMSB
Send
Sent when a pitch bender operation is performed on the CTK-3000.
Receive
Receipt changes the pitch of the currently sounding note. The range of the pitch change depends on the Bend Range value
setting.
15
Part III
System Messages
14
Timing Clock
Format
MessageFormat: F8H
Send
Sent when auto accompaniment is used.
Receive
This message is not received by this Instrument.
15
Start
Format
MessageFormat: FAH
Send
Sent when auto accompaniment is used.
Receive
This message is not received by this Instrument.
16
Stop
Format
MessageFormat: FCH
Send
Sent when auto accompaniment is used.
Receive
This message is not received by this Instrument.
17
Active Sensing
Format
MessageFormat: FEH
Send
This message is never sent.
16
Receive
Once this message is received, the Active Sensing mode is entered. If no MIDI message is received for a specified amount
of time, voices being sounded by the Instrument's sound source are released, the controller is reset, and the Active Sensing
mode is exited.
18
System Exclusive Message
Format
MessageFormat: F0H....F7H
This Instrument sends and receives universal system exclusive messages.
18.1
Universal Realtime System Exclusive Message
Format
MessageFormat: F0H7FH....F7H
18.1.1
Format
Master Volume
MessageFormat: F0H7FH7FH04H01HllHmmHF7H
ll: LSBValue
mm: MSBValue
Send
This message is never sent.
Receive
Receipt changes the Master Volume parameter. Note that the Master Volume parameter cannot be changed with an Instrument
operation.
18.1.2
Master Fine Tuning
Format
MessageFormat: F0H7FH7FH04H03HllHmmHF7H
mm: MSBValue(Note1)
Note 1:
For information about the relationship between setting values and send/receive values, see "19.4 -100 - 0 - +99 Setting
Value Table" in "Part IV Setting Values and Send/Receive Values" of this document.
Send
This message is sent when the tuning setting is changed.
Receive
Receipt changes the tuning setting.
17
18.1.3
Master Coarse Tuning
Format
MessageFormat: F0H7FH7FH04H04H00HmmHF7H
ll: LSBValue
mm: MSBValue
Send
Sent when Transpose is changed.
Receive
Receipt changes the Transpose parameter. Does not affect sound source operation when the Timbre Type is Drum.
18.1.4
Reverb Parameter
Format
MessageFormat: F0H7FH7FH04H05H01H01H01H
01H01HppHvvHF7H
pp: Parameter
vv: Value
Time Format
MessageFormat: F0H7FH7FH04H05H01H01H01H
01H01H01HvvHF7H
vv: Value(Note1)
Note 1:
For information about the relationship between setting values and send/receive values, see "19.5 Reverb Time Setting Value
Table" in "Part IV Setting Values and Send/Receive Values" of this document.
Send
Sent when the Reverb duration is changed.
Receive
Receipt changes the Reverb duration.
18.1.5
GM System Message
GM System On Format
MessageFormat: F0H7EH7FH09H01HF7H
Send
This message is never sent.
Receive
Receipt puts the sound source into a GM sound source mode.
GM System Off Format
MessageFormat: F0H7EH7FH09H02HF7H
18
Send
This message is never sent.
Receive
Receipt changes the sound source setting to the Instrument presetting.
18.1.6
GS Message
MessageFormat: F0H41HddH42H12H40H00H7FH00H41HF7H
Note: dd(DeviceID)isignored.
Send
This message is never sent.
Receive
Receipt performs the same operation as when the GM System On message is received.
19
19.4
-100 - 0 - +99 Setting Value Table
Part IV
Transmit/ReceiveValue
Parameter
Setting Values and Send
Receive Values
/
(MSB-LSB)
00H-00H
:
-100
:
40H-00H
:
0
:
19
Setting Value Tables
7FH-7FH
99
19.1
Off/On Setting Value Table
19.5
Reverb Time Setting Value Table
TransmitValue ReceiveValue Parameter
Transmit/ReceiveValue
Parameter
00H
7FH
00H-3FH
40H-7FH
Off
On
00H
0CH
18H
24H
30H
3CH
48H
54H
60H
6CH
72H
Off
1
2
3
19.2
-64 - 0 - +63 Setting Value Table
4
Transmit/ReceiveValue
Parameter
5
00H
01H
:
-64
-63
:
6
7
8
40H
:
0
9
:
10
7EH
7FH
62
63
19.3
Pan Setting Value Table
Transmit/ReceiveValue
Parameter
00H
:
Left
:
40H
:
Center
:
7FH
Right
20
20.2
Binary Notation
Part V
When a MIDI implementation data value is expressed in
binary, the letter "B" (for "binary") is affixed at the end of
the value. The table below shows the binary equivalents for
the decimal values 0 through 127, which are often used for
settings.
MIDI Implementation
Notation
Decimal
0
Hexadecimal
Binary
00H 00000000B
01H 00000001B
02H 00000010B
03H 00000011B
04H 00000100B
05H 00000101B
06H 00000110B
07H 00000111B
08H 00001000B
09H 00001001B
0AH 00001010B
0BH 00001011B
0CH 00001100B
0DH 00001101B
0EH 00001110B
0FH 00001111B
10H 00010000B
:
1
20
Value Notation
2
20.1
Hexadecimal Notation
3
MIDI implementation sometimes requires that data be
expressed in hexadecimal format. Hexadecimal values are
indicated by the letter "H" after the value. The hexadecimal
equivalents of decimal values 10 through 15 are expressed
as the letters A through F. The table below shows the
hexadecimal equivalents for decimal values 0 through 127,
which are often used in MIDI messages.
4
5
6
7
8
9
Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal
0 00H 32 20H 64 40H 96 60H
1 01H 33 21H 65 41H 97 61H
2 02H 34 22H 66 42H 98 62H
3 03H 35 23H 67 43H 99 63H
4 04H 36 24H 68 44H 100 64H
5 05H 37 25H 69 45H 101 65H
6 06H 38 26H 70 46H 102 66H
7 07H 39 27H 71 47H 103 67H
8 08H 40 28H 72 48H 104 68H
9 09H 41 29H 73 49H 105 69H
10 0AH 42 2AH 74 4AH 106 6AH
11 0BH 43 2BH 75 4BH 107 6BH
12 0CH 44 2CH 76 4CH 108 6CH
13 0DH 45 2DH 77 4DH 109 6DH
14 0EH 46 2EH 78 4EH 110 6EH
15 0FH 47 2FH 79 4FH 111 6FH
16 10H 48 30H 80 50H 112 70H
17 11H 49 31H 81 51H 113 71H
18 12H 50 32H 82 52H 114 72H
19 13H 51 33H 83 53H 115 73H
20 14H 52 34H 84 54H 116 74H
21 15H 53 35H 85 55H 117 75H
22 16H 54 36H 86 56H 118 76H
23 17H 55 37H 87 57H 119 77H
24 18H 56 38H 88 58H 120 78H
25 19H 57 39H 89 59H 121 79H
26 1AH 58 3AH 90 5AH 122 7AH
27 1BH 59 3BH 91 5BH 123 7BH
28 1CH 60 3CH 92 5CH 124 7CH
29 1DH 61 3DH 93 5DH 125 7DH
30 1EH 62 3EH 94 5EH 126 7EH
31 1FH 63 3FH 95 5FH 127 7FH
10
11
12
13
14
15
16
:
125
126
127
7DH 01111101B
7EH 01111110B
7FH 01111111B
21
CASIO COMPUTER CO.,LTD.
6-2, Hon-machi 1-chome
Shibuya-ku, Tokyo 151-8543, Japan
MA0901-A
|