Casio CTK-4200 Midi Implementation Manual
Hide thumbs Also See for CTK-4200:
Table of Contents

Advertisement

CTK-4200/CTK-5300/LK-211/LK-280
WK-220/WK-225/WK-330/CDP-220R
Contents
I
1
1.1
System Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2
Performance Controller Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3
Sound Generator Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
3
II
4
5
6
7
8
9
9.1
Bank Select (00H,20H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.2
Modulation (01H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.3
Data Entry (06H,26H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
9.4
Volume (07H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
9.5
Pan (0AH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
9.6
Expression (0BH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
MIDI Implementation
CASIO COMPUTER CO., LTD.
1
5
5
5
5
5
6
7
8
8
8
8
8
8
9
9
9

Advertisement

Table of Contents
loading

Summary of Contents for Casio CTK-4200

  • Page 1: Table Of Contents

    CTK-4200/CTK-5300/LK-211/LK-280 WK-220/WK-225/WK-330/CDP-220R MIDI Implementation CASIO COMPUTER CO., LTD. Contents MIDI Message Overview Product Configuration as a MIDI Device System Section ......... .
  • Page 2 Hold1 (40H) ......... . . 11 Sostenuto (42H) .
  • Page 3 19.3 Format of Each Field ........22 Individual Parameter Operations Parameter Set Transfer 21.1...
  • Page 4 Parameter Set Table Setting Values and Send/ Receive Values Setting Value Tables 33.1 Off/On Setting Value Table ........40 33.2 –64 - 0 - +63 Setting Value Table .
  • Page 5: Midi Message Overview

    Part I MIDI Message Overview Product 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.
  • Page 6: Timbre Type Specific Operation

    1.3.2 Instrument 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.
  • Page 7: Conditions That Disable Message Send And Receive

    operation mode. For details, see the explanation for each message. Conditions 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) •...
  • Page 8: Channel Message

    Part II Channel Message Receive Channel The channel number of the channel message received by each part is shown in the table under “1.3.2 Instrument Part Block”. 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.
  • Page 9: Control Change

    Send This message is not sent by this Instrument. Receive This message is not received by this Instrument. Control Change Message Format: BnH ccH vvH MIDI Channel Number Control Number 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.
  • Page 10: Data Entry (06H,26H)

    Data Entry (06H,26H) Message Format: BnH 06H mmH (MSB) BnH 26H llH (LSB) MIDI Channel Number MSB Value 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.
  • Page 11: Hold1 (40H)

    Hold1 (40H) Message Format: BnH 40H vvH MIDI Channel Number Value (Note1) Note1 For information about the relationship between setting values and send/receive values, see the “33.1 Off/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.
  • Page 12: Reverb Send (5Bh)

    9.10 Reverb Send (5BH) Message Format: BnH 5BH vvH MIDI Channel Number Value Send Sent when auto accompaniment is used. Receive Receipt changes the reverb send of the corresponding part. 9.11 Chorus Send (5DH) Message Format: BnH 5DH vvH MIDI Channel Number Value Send Sent when auto accompaniment is used and when a Chorus on/off...
  • Page 13 9.13.1 Pitch Bend Sensitivity Message Format: BnH 64H 00H BnH 65H 00H BnH 06H mmH BnH 26H llH MIDI Channel Number MSB Value(00H - 0CH) 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.2 Fine Tune Message Format:...
  • Page 14: Mode Message

    Send Sent when an RPN message send operation is performed. Receive Receipt de-selects RPN. Mode Message 10.1 All Sound Off (78H) Message Format: BnH 78H 00H MIDI Channel Number Send Sent when the local control is set to OFF on the Instrument. Receive Receipt stops all voices that are sounding.
  • Page 15: Mono (7Eh)

    Send This message is not sent by this Instrument. Receive Receipt performs the same operation as when All Notes Off is received. 10.6 Mono (7EH) Message Format: BnH 7EH 00H MIDI Channel Number Send This message is not sent by this Instrument. Receive Receipt performs the same operation as when All Notes Off...
  • Page 16: Channel After Touch

    Channel After Touch Message Format: DnH vvH MIDI Channel Number 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.
  • Page 17: System Message

    Part III System Message Timing Clock Message Format: Send Sent when auto accompaniment is used. Receive This message is not received by this Instrument. Start Message Format: Send Sent when auto accompaniment is used. Receive This message is not received by this Instrument. Stop Message Format: Send Sent when auto accompaniment is used.
  • Page 18: Universal Real Time System Exclusive Message

    18.1 Universal Real Time System Exclusive Message Message Format: F0H 7FH..F7H 18.1.1 Master Volume Message Format: F0H 7FH 7FH 04H 01H llH mmH F7H LSB Value(Send:00H, Receive:Ignored) MSB Value Send This message is not sent by this Instrument. Receive Receipt changes the Master Volume. 18.1.2 Master Fine Tuning Message Format:...
  • Page 19 Receive Receipt changes the Reverb duration. 18.1.5 Chorus Type Message Format: F0H 7FH 7FH 04H 05H 01H 01H 01H 01H 02H 00H vvH F7H Value(Note1) Note1 For information about the relationship between setting values and send/receive values, see “33.6 Chorus Type Setting Value Table”...
  • Page 20: Instrument-Specific System Exclusive Message

    18.1.10 GS Message Message Format: F0H 41H ddH 42H 12H 40H 00H 7FH 00H 41H F7H Device ID(Ignored) Send This message is not sent by this Instrument. Receive Receipt performs the same operation as when the GM System On message is received. 18.2 Instrument-Specific System Exclusive Message Message Format:...
  • Page 21: Instrument-Specific System Exclusive Messages

    Part IV Instrument-Specific System Exclusive Messages Format This section explains the format of the Instrument-specific System Exclusive Messages. See “V Parameter List” and “VI Parameter Set List” for information about how parameter sets actually are transferred. 19.1 Message Classifications Basically, the operation that corresponds to Instrument-specific system exclusive messages is parameter data transfer.
  • Page 22: Basic Message Structure

    Format: 11110000B (F0H) This is the System Exclusive Message status byte established by the MIDI standard. 19.3.2 MAN : Manufacturer’s ID Format: 01000100B (CASIO = 44H) Indicates this Instrument’s manufacturer ID. 19.3.3 MOD : Model ID Format: 00010110B (16H) 00000001B (01H) These two successive bytes (MSB, LSB) indicate the CTK-4200, LK-280, LK-211, WK-220, WK-225, CTK-5300, WK-330, CDP-220R model ID.
  • Page 23 19.3.4 dev : MIDI Device ID 00H - 7FH Format: 0dddddddB The contents of this field in a received message are compared with the Model’s MIDI Device ID, and receipt of the incoming message is allowed only when the two IDs match. When a message containing 7FH is received, receipt of the message is always allowed, regardless of the Instrument’s ID setting.
  • Page 24 HBR:Handshake Bulk Parameter Set Request Indicates a send request message using the pa- rameter set image handshake mode. When the Instrument receives this action, it uses an HBS message to return the specified parameter set. HBS:Handshake Bulk Parameter Set Send Indicates a parameter set image send message using handshake mode.
  • Page 25 Category Transfer ID (c) Parameter Set Individual Parameter One-way Bulk Handshake Bulk System Patch Tone Drum Instrument Wave Parameter Wave Data Scale Memory Song Sequence Registration Lesson Rec Rhythm A · · · Available (Also including when only some parameters are available.) F ·...
  • Page 26 Block Bit Field Division When the parameter block has a multi-dimensional array structure, bit 21 of the block number is divided into prescribed bit fields based on the rules explained below. • Case 1 When an array has three or fewer nesting levels and the number of arrays in each dimension is 128 or less, they are assigned below the three 7-bit fields.
  • Page 27 19.3.13 len : Data Length Format: 0lllllllB 0mmmmmmmB As shown below, the meaning of this field differs depending on whether an individual transfer or a bulk parameter set transfer is being performed. Individual Parameter Transfer Data length indicates the length of the array being transferred minus 1 when the parameter contains a character string or other similar array structure.
  • Page 28 19.3.15 Single Parameter Data Size Limit With the Instrument’s system exclusive message format, the size of a single message cannot exceed 256 bytes. The data size and the array size, however, can cause a packet to exceed 256 bytes when transferring a single parameter array.
  • Page 29: Individual Parameter Operations

    19.3.18 EOX : End of System Exclusive Message Format: 11110111B This is the End of System Exclusive Message status byte established by the MIDI standard. Individual Parameter Operations There are two parameter unit operations: Individual Parameter Transfer and Individual Parameter Request.
  • Page 30: One-Way Mode Communication Flow

    Session “One session” refers to a series of processes that occur for one user operation. One subsession or multiple subsessions make up a session. The sender sends EOS (End of Session) to end a session. Regardless of whether there is a single parameter set or multiple parameter sets being transferred, a bulk dump always takes the form of a session, never a subsession only.
  • Page 31 Data Receiver Data Sender Operation (External Device) (This Instrument) -----> Send Request (Optional) <----- Data Send -----> Acknowledge <----- Data Send -----> Acknowledge -----> Acknowledge <----- End of Data Other Sub Session <----- End of Session The packed with the same packet number is resent when a checksum mismatch or incompatible data format error is detected.
  • Page 32 Data Receiver Data Sender Operation (External Device) (This Instrument) -----> Send Request (Optional) <----- Data Send -----> Acknowledge <----- Data Send (Error generated) -----> Error <----- Data Send (Retry 1) (Error generated) -----> Error <----- Data Send (Retry 2) (Error generated) ----->...
  • Page 33 Data Receiver Data Sender Operation (External Device) (This Instrument) -----> Send Request (Optional) -----> Acknowledge <----- Data Send -----> Acknowledge <----- Data Send (Terminate operation) <----- Data Send Canceled BSY is returned to the external device when OBS, OBR, HBS, or HBR is sent while the Instrument mode is not suitable to perform bulk dump, etc.
  • Page 34: V Parameter List

    Part V Parameter List This section explains the parameters that actually can be transferred by the Instrument. Using the Parameter List • Parameter field Shows the parameter name. • ID field Shows the parameter ID as a hexadecimal number. • R/W field Shows “R”...
  • Page 35: Data Management Parameter

    Parameter Block Size Array Min-Def-Max Description Model Name 0000 000000 00-20-7F Ascii Character CTK-4200.."CTK-4200" CTK-5300.."CTK-5300" LK-211.."LK-211 " LK-280.."LK-280 " WK-220/WK-225..."WK-220 " WK-330.."WK-330 " CDP-220R.."CDP-220R" Program Revision 0001 00-20-7F Ascii Character " 12345" General Register 0002 R/W 00-00-FF General-purpose register for communication test 23.2 Data Management Parameter These are information acquisition and operation command parameters for this Instrument’s Data Man-...
  • Page 36: Patch Parameter

    Patch Parameter The main function of patch parameters is to configure the settings of the sound source of a device. 24.1 Master Tune Parameter These parameters configure the Master Tuning settings. Parameter Block Size Array Min-Def-Max Description Master Fine Tune 0000 R/W 000000 0000-0200-03FF -512*100/512 0*100/512 +511*100/512(cent) Master Coarse Tune 0001 R/W...
  • Page 37: All Data Parameter

    All Data Parameter There is no parameter for storing all data directory information. Sequence Parameter 27.1 Sequence Directory Info The sequence parameter stores recorder song directory information. Parameter ID Block Size Array Min-Def-Max Description Size 0001 000000 00000000-00000000-00FFFFFF 0 0xFFFFFFFF Registration Parameter 28.1 Registration Directory Info...
  • Page 38: Vi Parameter Set List

    Part VI Parameter Set List This section explains actually how parameter sets can be transferred by the Instrument with bulk dump. Parameter Set Table Parameter Set Category pset description Tone 0000H - 0004H (Melody Sampling Tone 0 - 4) 0005H - 0007H (Drum Sampling Tone 0 - 2) Drum 0000H - 0002H...
  • Page 39 • pset field Shows the parameter set number value. Applicable parameter set numbers are those in the user area where the top number is zero, and are not the same numbers as those displayed by the Instrument. (Note1) Note1 Operation is not guaranteed for values other than those noted here.
  • Page 40: Setting Values And Send/ Receive Values

    Part VII Setting Values and Send/ Receive Values Setting Value Tables 33.1 Off/On Setting Value Table Transmit Value Receive Value Parameter 00H - 3FH 40H - 7FH 33.2 –64 - 0 - +63 Setting Value Table Transmit Value Receive Value Parameter 33.3 Pan Setting Value Table...
  • Page 41: Reverb Time Setting Value Table

    33.5 Reverb Time Setting Value Table Transmit Value Receive Value Parameter 00H - 0BH 0CH - 17H 18H - 23H 24H - 2FH 30H - 3BH 3CH - 47H 48H - 53H 54H - 5FH 60H - 6BH 6CH - 77H 78H - 7FH 33.6 Chorus Type Setting Value Table...
  • Page 42: Midi Implementation Notation

    Part VIII MIDI Implementation Notation Value Notation 34.1 Hexadecimal Notation 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.
  • Page 43 Decimal Hexadecimal Binary 00000000B 00000001B 00000010B 00000011B 00000100B 00000101B 00000110B 00000111B 00001000B 00001001B 00001010B 00001011B 00001100B 00001101B 00001110B 00001111B 00010000B 01111101B 01111110B 01111111B...

This manual is also suitable for:

Ctk-5300Lk-211Wk-225Lk-280Wk-330Wk-220 ... Show all

Table of Contents