PX-200/PX-800/AP-500 MIDI Implementation CASIO COMPUTER CO., LTD. Contents Part I 1 MIDI Message Overview Product Configuration as a MIDI Device.......................................................................................... 5 1.1 1.2 1.3 1.4 System Section.................................................................................................................................... 5 Performance Controller Section ...........................................................................
9.16 9.17 9.18 9.19 NRPN (62H,63H)............................................................................................................................... 15 RPN (64H,65H) ................................................................................................................................. 15 9.17.1 Pitch Bend Sensitivity ..........................................................................................................................15 9.17.2 Fine Tune...........................
16.3 Format of Each Field ......................................................................................................................... 28 16.3.1 SX : System Exclusive Message Status ...............................................................................................28 16.3.2 MAN : Manufacturer's ID .................................................................................................................... 28 16.3.3 MOD : Model ID..............................................
Part VI Parameter Set List 24 Music Library Parameter Set ......................................................................................................... 45 Part VII DSP Parameter List 25 Tone with DSP List ........................................................................................................................ 46 26 DSP Algorithm ID Table................................................................................................................. 46 26.1 26.
Part I MIDI Message Overview 1 Product Configuration as a MIDI Device As a MIDI device, the 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. • System Section – • Sound Generator Section – – • 1.
1.4 Sound Generator Section The Sound Generator Section consists of a common part that does not depend on the channel and a part that specific to each channel. Mainly it receives performance information and performs operations. 1.4.1 Sound Generator Common Block The common section consists of a sound generator setting blocks that do not depend on the sound generator part, such as system effects, mixer master control, etc.
29 B14 14 MIDI/Music Library Channel14 30 B15 15 MIDI/Music Library Channel15 31 B16 16 MIDI/Music Library Channel16 2 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.
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.4.2 Part Block". The channel number of a channel message that changes the settings of a DSP coincides with the channel of the part that is using the DSP. 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.
8 Polyphonic Key Pressure Format Message Format: AnH kkH vvH n: MIDI Channel Number kk: Key Number vv: Pressure Value Send Operation This message is not sent by this Instrument. Receive Operation This message is not received by this Instrument. 9 Control Change Format 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.
9.2 Modulation (01H) Format 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 effect differs according to the tone being used. 9.
9.5 Pan (0AH) Format Message Format: BnH 0AH vvH n: MIDI Channel Number vv: Value (Note1) Note 1: For information about the relationship between setting values and send/receive values, see "28.5 Pan Setting Value Table" in "Part VIII Setting Values and Send/Receive Values". Send This message is sent at initialization. Receive Receipt changes the pan setting of the corresponding part. 9.
Note 1: Received values and parameter setting values The range of the value of each DSP Parameter 7 array element depends on the selected DSP or array number. Unlike manipulation of a DSP parameter using a System Exclusive Message, a value received by this control change message is always a value from 0 to 127, but the value is changed in accordance with the setting range of the applicable parameter setting.
Send Sent when a pedal that has a sostenuto function is operated. Receive Receipt performs an operation equivalent to a sostenuto pedal operation. 9.10 Soft (43H) Format Message Format: BnH 43H vvH n: MIDI Channel Number vv: Value (Note1) Note 1: For information about the relationship between setting values and send/receive values, see the "28.1 Off/On Setting Value Table" in "Part VIII Setting Values and Send/Receive Values" of this document. Send Sent when a pedal that has a soft function is operated.
Send This message is not sent by this Instrument. Receive Receipt changes the vibrato auto depth of the tone that is currently selected by the applicable part. 9.13 Vibrato Delay (4EH) Format Message Format: BnH 4EH vvH n: MIDI Channel Number vv: Value (Note1) Note 1: For information about the relationship between setting values and send/receive values, see "28.4 -64 - 0 - 63 Setting Value Table" in "Part VIII Setting Values and Send/Receive Values" of this document.
Send This message is sent at initialization, when the panel tone selection is changed, and when a chorus on/off operation is performed. Receive Changes Chorus Send. 9.16 NRPN (62H,63H) Format Message Format: BnH 62H vvH (LSB) BnH 63H vvH (MSB) n: MIDI Channel Number vv: Value Send This message is not sent by this Instrument. Receive This Instrument does not have a corresponding NRPN message. 9.
9.17.2 Fine Tune Format Message Format: BnH 64H 01H 65H 00H 06H mmH 26H llH n: MIDI Channel Number mm: Value MSB ll: Value LSB Send This message is not sent by this Instrument. Receive Receipt changes Channel Fine Tune. 9.17.3 Coarse Tune Format Message Format: BnH 64H 02H 65H 00H 06H mmH 26H 00H n: MIDI Channel Number mm: Value Send This message is not sent by this Instrument. Receive Receipt changes Channel Coarse Tune. 9.17.
Send This message is never sent. Receive Receipt deselects RPN. 9.18 All Sound Off (78H) Format Message Format: BnH 78H 00H n: MIDI Channel Number Send This message is never sent. Receive Receipt stops all voices that are sounding. 9.19 Reset All Controllers (79H) Format Message Format: BnH 79H 00H n: MIDI Channel Number Send This message is sent when the keyboard channel is changed and when the recorder function is used. Receive Receipt initializes each performance controller. 10 Mode Message 10.
10.2 Omni Off (7CH) Format Message Format: BnH 7CH 00H n: MIDI Channel Number Send This message is never sent. Receive Receipt of any of this message releases the currently sounding voice (same as releasing the keyboard key). 10.3 Omni On (7DH) Format Message Format: BnH 7DH 00H n: MIDI Channel Number Send This message is never sent. Receive Receipt of this message releases the currently sounding voice (same as releasing the keyboard key). 10.
11 Program Change Format Message Format: CnH ppH n: MIDI Channel Number pp: Program Number Send Sent when a tone is selected. See the "Tone List" of the Instrument's User's Guide for details about program numbers. 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.
11.2.3 Use of the Same DSP Line by Multiple Parts When multiple parts that select tones that use DSP and all of the following settings are the same, the same DSP line is assigned to all of the parts in order to maximize DSP line availability. • Tone Number • Part Volume • Part Pan • All DSP parameters After the same DSP line is assigned to different parts as described here, Part Volume, Pan, Reverb Send, Chorus Send, Acoustic Resonance Send, and all DSP parameter settings are common to all parts.
Part III System Messages 14 Active Sensing Format Message Format: FEH Send This message is never sent. 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. 15 System Exclusive Message Format Message Format: F0H....
15.1.2 Master Balance Format Message Format: F0H 7FH 7FH 04H 02H llH mmH F7H ll: Value LSB (Note1) mm: Value MSB (Note1) Note 1: For information about the relationship between setting values and send/receive values, see "28.5 Pan Setting Value Table" in "Part VIII Setting Values and Send/Receive Values". Send This message is never sent. Receive Receipt changes the Master Pan parameter. Note that the Master Pan parameter cannot be changed with an Instrument operation. 15.1.
15.1.5 Reverb Parameter Format Message Format: F0H 7FH 7FH 04H 05H 01H 01H 01H 01H 01H ppH vvH F7H pp: Parameter vv: Value Type Format Message Format: F0H 7FH 7FH 04H 05H 01H 01H 01H 01H 01H 00H vvH F7H vv: Value (Note1) Note 1: For information about the relationship between setting values and send/receive values, see "28.7 Reverb Type Setting Value Table" in "Part VIII Setting Values and Send/Receive Values". Send This message is sent when the System Reverb Type setting is changed.
Note 1: For information about the relationship between setting values and send/receive values, see "28.8 Chorus Type Setting Value Table" in "Part VIII Setting Values and Send/Receive Values". Send This message is sent when the System Chorus Type setting is changed. Receive Receipt changes the System Chorus Type parameter. Rate Format Message Format: F0H 7FH 7FH 04H 05H 01H 01H 01H 01H 02H 01H vvH F7H vv: Value (Note1) Note 1: The setting value matches the value that is sent and received.
Send To Reverb Format Message Format: F0H 7FH 7FH 04H 05H 01H 01H 01H 01H 02H 04H vvH F7H vv: Value (Note1) Note 1: The setting value is the same as the value that is sent. Send This message is never sent. Receive Receipt changes the Chorus Send To Reverb parameter. 15.1.7 GM System Message GM System On Format Message Format: F0H 7EH 7FH 09H 01H F7H Send This message is never sent. Receive Receipt puts the sound source into a GM sound source mode.
Receive Receipt performs the same operation as when the GM System On message is received. 15.2 Instrument-Specific System Exclusive Message Format Message Format: F0H 44H 12H 01H....F7H Most Instrument parameters and user data, and some operation commands can be controlled using this message. For more information, see "Part IV Instrument-Specific System Exclusive Messages".
Part IV Instrument-Specific System Exclusive Messages 16 Format 16.1 Message Classifications The SysEx operation of this Instrument is basically a parameter data transfer operation. The following operations can be performed from an external device using this parameter transfer message.
The table below shows the body format for each action of Instrument-specific system exclusive messages. An actual message consists of the items indicated by "Y", from left to right.
16.3.5 act : Action Format: 0aaaaaaaB aaaaaaaB = Action This field indicates the operation of the Instrument-specific System Exclusive Message.
BSY: Busy Indicates a message to convey to the requester that that the Instrument cannot send back data after a parameter set oneway mode or handshake mode send request is received. The cat, mem, and pset fields indicate the value carried by the last received message. RJC: Reject Indicates a message to convey to the other side that an ongoing parameter set one-way mode or handshake mode send or receive session was interrupted.
16.3.7 mem : Memory Area ID Format: 0mmmmmmmB Specifies the memory area that is the object of the parameter transfer. The following are defined for this Instrument. Mem Type 0 User area (rewriting allowed) 1 Preset area (rewriting not allowed) 16.3.8 pset : Parameter Set Number Format: 0nnnnnnnB (LSB) 0mmmmmmmB (MSB) This field is a 2-byte (LSB, MSB) value indicating the number of the parameter set (mmmmmmmnnnnnnnB, Binary) being transferred. 16.3.
16.3.10 pkt : Packet Number Format: 0iiiiiiiB (LSB) 0jjjjjjjB 0kkkkkkkB (MSB) This is the divided packet number kkkkkkkjjjjjjjiiiiiiiB (Binary) for transferring a single parameter set. 16.3.11 prm : Parameter ID Format: 0pppppppB (LSB) 0qqqqqqqB (MSB) The Parameter ID indicates the parameter type. When transferring parameters (see "Part V Parameter List" below) individually (as opposed to bulk transfer), this field is used to identify the parameter being transferred by its parameter ID. 16.3.
7 6 5 4 3 2 1 0 data0: 0 [bit06] [bit05] [bit04] [bit03] [bit02] [bit01] [bit00] data1: 0 [bit13] [bit12] [bit11] [bit10] [bit09] [bit08] [bit07] data2: 0 [bit20] [bit19] [bit18] [bit17] [bit16] [bit15] [bit14] data3: 0 [bit27] [bit26] [bit25] [bit24] [bit23] [bit22] [bit21] data4: 0 0 0 0 [bit31] [bit30] [bit29] [bit28] 16.3.
16.3.17 EOX : End of System Exclusive Message Format: 11110111B (End of System Exclusive message Status = F7H) 17 Individual Parameter Operations There are two parameter unit operations: Individual Parameter Transfer and Individual Parameter Request. For one session, in response to an IPR (Individual Parameter Request) from an external device, this Instrument returns an IPS (Individual Parameter Send) or the session is concluded when the external device or this Instrument spontaneously sends an IPS.
18.1.2 Session and Subsession Subsession One Parameter Set can be transferred per subsession. Subsession transfers one Parameter Set or data that is broken down into multiple packets for transfer, with EOD (End of Data) sent at the end to terminate the send. Data is divided into multiple packets when a single Parameter Set is larger than a certain size. The Packet Number in the packet's index field is used to indicate the sequential position of a packet relative to the other packets.
18.3 Handshake Mode Communication Flow A session starts with the receiving device sending a request using a HBR, or with the sending device sending HBS data. The sending device does not send the next packet until it receives an ACK from the receiving device. The maximum wait time of at least 2000 msec is reserved. Failure of a response to arrive within the wait time (at least 2000 msec) is treated as a timeout error, and data communication is terminated.
RJC is sent to terminate the session in case ACK cannot be recognized. Data Receiver Data Sender HBR → Operation Send Request (Optional) ← HBS : Data Send Fixed amount of time elapses. RJC ← Rejection (Send Canceled) The session can be canceled for any reason by sending an RJC. RJC can be sent by the sending device or the receiving device. The bulk dump session is terminated immediately upon receipt of an RJC.
Data Receiver Data Sender Operation OBS → Data Send ← BSY Busy (Send Canceled) Data Receiver Data Sender Operation HBR → Send Request ← BSY Busy (Send Canceled) Data Receiver Data Sender Operation HBS → Data Send ← BSY Busy (Send Canceled) See "Part VI Parameter Set List" for information about how parameter sets can actually be transferred.
Part V Parameter List How to Read the Tables Number Base Notation "Size" indicates the parameter value bit width as a decimal value. The bit field position of "Block" as a decimal value. Values used in the explanations under "Description" are all decimal values, unless specified otherwise. Values other than those described above are all hexadecimal. R/W Field The R/W field indicates whether an IPR (Individual Parameter Request) read operation or IPS (Individual Parameter Send) write operation is enabled.
20 Setup Parameter Setup Parameters put a device into the setup mode. 20.1 MIDI Parameter Parameter Midi Device Id ID R/W Block 0023 R/W 000000 21 Patch Parameters 21.1 Master Parameter Size Array 7 01 Min-Def-Max Description 00-7F-7F 0 - 127 Patch Parameters mainly set a device's sound source mode. Parameter Master Fine Tune Master Coarse Tune Master Volume Master Pan Acou Reso To Chorus Acou Reso To Reverb Acou Reso Return Chorus To Reverb Chorus Return Reverb Return Dsp Cancel 21.
21.3 System Reverb Parameter Parameter ID R/W Block Size Array Min-Def-Max Description Cancel 003C R/W 000000 1 01 00-00-01 Type Feedback Er Level Damp Tone 003D 003E 003F 0040 0041 R/W R/W R/W R/W R/W 000000 000000 000000 000000 000000 7 7 7 7 7 01 01 01 01 01 00-04-0F 00-40-7F 00-40-7F 00-40-7F 00-7F-7F 0...Normal 1...Cancel 1 - 16 (Note1) 0 - 127 0 - 127 0 - 127 0 - 127 Note 1: Selects the System Reverb preset type. Receipt of GM/GS Reset selects Hall2.
21.6 Part Parameter Parameter ID R/W Block Part Enable 0068 R/W 4-0: Part Number 1 01 Tone Num Fine Tune Coarse Tune Volume Acmp Volume Pan Cho Send Rev Send Acou Reso Send Bend Range 0069 006A 006B 006C 006D 006E 006F 0070 0071 0073 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ 14 7 7 7 7 7 7 7 7 7 01 01 01 01 01 01 01 01 01 01 22 Tone Parameters 22.
22.
23 Music Library Parameter This parameter is a container for Music Library related information.
Part VI Parameter Set List This list shows the parameter sets that can be transferred using System Exclusive Message Bulk Dump. 24 Music Library Parameter Set System Exclusive Format Field Value 01 SYSEX F0 02 MAN 44 03 MOD 15, 01 04 dev 00 - 7F 05 act 04(HDS), 05(HDR), 07(Control) 06 cat Music Library = 21 07 mem 0 = User 08 pset Music Library Number to be transferred 09 pkt See "IV Instrument-Specific System Exclusive Messages".
Part VII DSP Parameter List 25 Tone with DSP List This is a list of tones that use DSP. Tone Number Tone Name Mono/Stereo DSP Algorithm 04 ELEC PIANO 1 Mono Enhancer 05 ELEC PIANO 2 Mono 3Band EQ 06 ELEC PIANO 3 Mono Enhancer 07 HARPSICHORD Mono 3Band EQ 08 VIBRAPHONE Mono Tremolo 10 PERC ORGAN Stereo Rotary 11 STRINGS Mono 3Band EQ 12 ACOUSTIC BASS Mono 3Band EQ 008 DYNO ELEC.PIANO Mono Auto Pan 009 POP ELEC.
26.
27.3 Algorithm 0003 : Mono-Mono Compressor Parameter Parameter Number Parameter7[00] Parameter Name Depth Value 00 - 7F Parameter7[01] Attack 00 - 7F Parameter7[02] Release 00 - 7F Parameter7[03] Level 00 - 7F 27.4 Algorithm 0004 : Mono-Mono Limiter Parameter Parameter Number Parameter Name Value Parameter7[00] Limit 00 - 7F Parameter7[01] Attack 00 - 7F Parameter7[02] Release 00 - 7F Parameter7[03] Level 00 - 7F 27.
27.7 Algorithm 0007 : Mono-Stereo Drive Rotary Parameter Parameter Number Parameter Name Value Notes Parameter7[00] Overdrive Gain 00 - 7F Parameter7[01] Overdrive Level 00 - 7F Parameter7[02] Speed 0-1 Note1 Parameter7[03] Brake 0-1 Note2 Parameter7[04] Fall Accel 00 - 7F Parameter7[05] Rise Accel 00 - 7F Parameter7[06] Slow Rate 00 - 7F Parameter7[07] Fast Rate 00 - 7F Note 1: See "28.2 Slow/Fast Setting Value Table". Note 2: See "28.3 Rotate/Brake Setting Value Table".
27.11 Algorithm 2001 : Stereo-Stereo 3Band EQ Parameter Parameter Number Parameter7[00] Parameter Name Value Low Freq 00 - 7F Notes Note1 Parameter7[01] Low Gain 34 - 4C Note2 Parameter7[02] Mid Freq 00 - 7F Note1 Parameter7[03] Mid Gain 34 - 4C Note2 Parameter7[04] High Freq 00 - 7F Note1 Parameter7[05] High Gain 34 - 4C Note2 Note 1: See "28.9 Equalizer Mid Frequency Setting Value Table". Note 2: See "28.11 DSP Equalizer Gain Setting Value Table". 27.
28.5 Part VIII Setting Values and Send/ Receive Values 28 Pan Setting Value Table Value Transmit/Receive Left 00H : : Center 40H : : Right 7FH Setting Value Tables 28.6 28.1 Off/On Setting Value Table -50 - 0 - 50 Setting Value Table Value Transmit/Receive (MSB-LSB) Value Transmit Receive Off 00H 00H-3FH -50 On 7FH 40H-7FH : : 0 40H-00H : : 50 60H-00H 28.2 Slow/Fast Setting Value Table Value Transmit Receive Slow 00H 00H-3FH Fast 7FH 40H-7FH 28.3 28.
28.8 Chorus Type Setting Value Table 28.
28.11 DSP Equalizer Gain Setting Value Table Value Gain 34H -12 35H -11 36H -10 37H -9 38H -8 39H -7 3AH -6 3BH -5 3CH -4 3DH -3 3EH -2 3FH -1 40H 0 41H +1 42H +2 43H +3 44H +4 45H +5 46H +6 47H +7 48H +8 49H +9 4AH +10 4BH +11 4CH +12 Note: The gain value does note exactly correspond to decibels (dB).
Part IX 28.13 MIDI Implementation Notation 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. 28.12 Hexadecimal Notation MIDI implementation sometimes requires that data be expressed in hexadecimal format. Hexadecimal values are indicated by the letter "H" after the value.
CASIO COMPUTER CO.,LTD.