PX-358M/PX-780M/PX-758M/AP-658M MIDI Implementation CASIO COMPUTER CO., LTD. Contents I MIDI Message Overview 1 5 Product Configuration as a MIDI Device 5 1.1 System Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2 Sound Generator Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.3 Performance Controller Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.7 Expression (0BH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.8 General Use Controllers 1 through 8 (10H through 13H, 50H through 53H) . . . . . . . . 13 8.9 Hold1 (40H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 8.10 Portamento Switch (41H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 8.11 Sostenuto (42H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IV Instrument-Specific System Exclusive Messages 15 30 Format 30 15.1 Message Classifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 15.2 Basic Message Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 15.3 Field Formats 31 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameter Transfer 34 16.1 Two-way Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24 DSP Parameter Set Types 43 24.1 Tremolo/Auto Pan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 24.2 EQ 3Band . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 24.3 Compressor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 24.4 Limiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 24.5 Early Reflection . . . . . . . . . .
Part I MIDI Message Overview 1 Product Configuration as a MIDI Device As a MIDI device, the instrument consists of the System Section, Sound Generator Section, and Performance Controller Section described below. Each of these sections sends and receives specific MIDI Messages in accordance with its function.
1.2.2 Parts The settings of the sound generator parts can be changed using Instrument-specific system exclusive messages. This Instrument consists of 32 parts. Of these, channel messages can be used to perform note on operations and to change settings of only the B Group (B01 through B16). The relationships between the channel message receive channel and part number are fixed, as shown in ”1.2.3 Part Assignments”.
1.2.
Note2 : Sent during recorder play only. When there is no data recorded in the applicable recorder track, the MIDI information of the functions of parts with the same send channel (A01 through A16) is sent. 1.3 Performance Controller Section The Performance Controller Section consists of keyboard, pedal and other real-time controllers, as well as blocks that generate auto accompaniment, auto performance, and other performance information.
Part II Channel Message 4 Channel Message Overview 4.1 Send Channel For information about the MIDI channels of the channel messages that are sent when this Instrument is played, see 1.2.3 Part Assignments . Note, however, that the MIDI channel of the performance information that corresponds to the keyboard main part can be changed by the Keyboard Channel setting value. 4.2 Receive Channel For information about the MIDI channel numbers of channel messages received by each part, see 1.2.
Message Format: n: kk: vv: 8nH kkH vvH 9nH kkH 00H(receive only) MIDI Channel Number Key Number velocity Send Sent when a key is released.(Note1) The key number changes in accordance with on the Transpose function and Octave Shift function. : Note1 The PX-358M, PX-780M, and PX-758M do not support Note Off Velocity. For these models, Velocity for send Note Off messages is a fixed value (40H). The High Resolution Velocity Prefix message is not sent for a Note Off message.
7 Polyphonic Key Pressure Format Message Format: n: kk: vv: Send This message is not sent by this Instrument. Receive 8 AnH kkH vvH MIDI Channel Number Key Number Pressure Value This message is not received by this Instrument.
8.2 Modulation (01H) Format Message Format: n: vv: Send BnH 01H vvH MIDI Channel Number Value This message is not sent by this Instrument. Receive Receipt adds, to the voice 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. 8.
Send Sent when layer balance is adjusted. Receive 8.6 Receipt changes the volume of the corresponding part. Pan (0AH) Format Message Format: n: vv: Note1 Value Table Send : in BnH 0AH vvH MIDI Channel Number Value (Note1) For information about the relationship between setting values and send/receive values, see VII Setting Values and Send/Receive Values . 25.6 Pan Setting Sent in the following cases. • When Accomp MIDI Out is on • When Music Library play is stopped Receive 8.
Message Format: Send BnH BnH BnH BnH BnH BnH BnH BnH n: vv: 10H vvH 11H vvH 12H vvH 13H vvH 50H vvH 51H vvH 52H vvH 53H vvH MIDI Channel Number Value DSP DSP DSP DSP DSP DSP DSP DSP Parameter7[0] Parameter7[1] Parameter7[2] Parameter7[3] Parameter7[4] Parameter7[5] Parameter7[6] Parameter7[7] This message is not sent by this Instrument. Receive Receipt change the value of Parameter7 [0-7] (7-Bit Parameter) explained under 20.3 Tone Dsp Parameter .
Timbre Type Specific Operation This operation differs in accordance with the Timbre Type (see 10.1 About Timber Type ) setting. • Timbre Type: Melody Sustain off/on control is performed in accordance with the value of the received message. For information about the relationship between setting values and send/receive values, see the 25.1 Off/On Setting Value Table in VII Setting Values and Send/Receive Values .
Send Sent when a pedal that has a sostenuto function is operated. Receive 8.12 Receipt performs an operation equivalent to a sostenuto pedal operation. Soft (43H) Format Message Format: n: vv: : Note1 For information about the relationship between setting values and send/receive values, see the Setting Value Table Send in 25.1 Off/On VII Setting Values and Send/Receive Values . Sent when a pedal that has a soft function is operated. Receive 8.
8.15 Vibrato Delay (4EH) Format Message Format: n: vv: : Note1 For information about the relationship between setting values and send/receive values, see Setting Value Table Send in VII Setting Values and Send/Receive Values 25.5 -64 - 0 - +63 of this document. This message is not sent by this Instrument. Receive part. 8.
: Note1 The PX-358M, PX-780M, and PX-758M do not support Note Off Velocity. For these models, Velocity for send Note Off messages is a fixed value (40H). Velocity for receive Note Off messages is ignored. The High Resolution Velocity Prefix message is not sent or received for a Note Off message. 8.18 Reverb Send (5BH) Format Message Format: n: vv: Send Sent when a GM tone is selected. Receive 8.19 BnH 5BH vvH MIDI Channel Number Value Receipt changes Reverb Send.
8.21 RPN (64H,65H) Format Message Format: n: vv: BnH 64H vvH (LSB) BnH 65H vvH (MSB) MIDI Channel Number Value The following are the parameters assigned to RPN by this Instrument. 8.21.1 Pitch Bend Sensitivity Format Message Format: n: mm: ll: Send BnH 64H 00H 65H 00H 06H mmH 26H llH MIDI Channel Number Value 0 - 24 Send:00H,Receive:Ignored Sent when the pitch bend range is changed.(PX-350M) Receive 8.21.2 Receipt changes Pitch Bend Sensitivity.
8.21.4 Modulation Depth Format Message Format: n: mm: Send BnH 64H 05H 65H 00H 06H mmH 26H 00H MIDI Channel Number Value This message is never sent. Receive Receipt changes the Vibrato Modulation Depth for the tone that is currently selected by the applicable part. 8.21.5 Null Format Message Format: n: Send This message is never sent. Receive 9 BnH 64H 7FH 65H 7F MIDI Channel Number Receipt deselects RPN. Mode Message 9.
Send Mainly sent in the following cases. • When the keyboard channel is changed • When a recorder function is used • When another mode is entered from the rhythm mode • When the Duet mode is entered or exited • When the Duet octave shift changed • When the DEMO mode is entered or exited • When USB memory is mounted Receive 9.3 Receipt initializes each performance controller. All Notes Off (7BH) Format Message Format: n: Send BnH 7BH 00H MIDI Channel Number Mainly sent in the following cases.
9.5 Omni On (7DH) Format Message Format: n: Send This message is never sent. Receive key). 9.6 BnH 7DH 00H MIDI Channel Number Receipt of this message releases the currently sounding voice (same as releasing the keyboard Mono (7EH) Format Message Format: n: Send This message is never sent. Receive 9.7 BnH 7EH 00H MIDI Channel Number Receipt of this message stops the currently sounding voice. Poly (7FH) Format Message Format: n: Send This message is never sent.
Receive Receipt changes the tone. The selected tone is determined by the program value of this message and the Bank Select message value received prior to this message. For information about the program number of the actually selected tone, see the Tone List in the User s Guide. Also note that receipt of this message may also change the Timbre Type parameter at the same time. For more information, see 10.1 About Timbre Type below. 10.
Note1 ID 0000 0001 2002 2003 : Selecting the algorithms below add Part Volume and Part Pan to the above items. DSP Algorithm Rotary Drive Rotary Compressor Limitter After the same DSP line is assigned to different parts as described here, Reverb Send, Chorus Send, and all DSP parameter settings are common to all parts. Note that changing the settings on any part will also affect all of the other parts that are sharing the DSP line.
Part III System Message 13 Active Sensing Format Message Format: Send FEH 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. 14 System Exclusive Message Format Message Format: F0H....
14.1.2 Master Fine Tuning Format Message Format: ll: mm: : Note1 For information about the relationship between setting values and send/receive values, see Tuning Setting Value Table Send F0H 7FH 7FH 04H 03H llH mmH F7H Value LSB (Note1) Value MSB (Note1) in VII Setting Values and Send/Receive Values 25.7Master Fine of this document. This message is sent when the tuning setting is changed. Receive 14.1.3 Receipt changes the Master Fine Tune8 parameter of Patch.
Time Format Message Format: vv: Send F0H 7FH 7FH 04H 05H 01H 01H 01H 01H 01H 01H vvH F7H Value This message is never sent. Receive 14.1.5 Receipt changes the Reverb Time parameter.
Feedback Format Message Format: vv: Send F0H 7FH 7FH 04H 05H 01H 01H 01H 01H 02H 03H vvH F7H Value This message is never sent. Receive Receipt changes the System Chorus Feedback parameter. Send To Reverb Format Message Format: vv: Send F0H 7FH 7FH 04H 05H 01H 01H 01H 01H 02H 04H vvH F7H Value This message is never sent. Receive 14.1.6 Receipt changes the Chorus Send To Reverb parameter.
14.1.7 GS Message Message Format: Note: Send This message is never sent. Receive 14.2 F0H 41H ddH 42H 12H 40H 00H 7FH 00H 41H F7H dd(Device ID)is ignored Receipt performs the same operation as when the GM System On message is received. Instrument-Specific System Exclusive Messages Format Message Format: F0H 44H 17H 01H....F7H Most Instrument parameters and user data, and some operation commands can be controlled using this message.
Part IV Instrument-Specific System Exclusive Messages 15 Format This section explains the format of the Instrument-specific System Exclusive Messages. See V Parameter List for information about what type of data can actually be sent. 15.1 Message Classifications Basically, the operation that corresponds to Instrument-specific system exclusive messages is parameter data transfer. The following operations can be performed from an external device using this parameter transfer message.
SX Y Y IPR IPS 15.3 15.3.1 MAN Y Y dev Y Y MOD Y Y act Y Y data Y EOX Y Y Field Formats SX : System Exclusive message Status Format: 11110000B (F0H) This is the System Exclusive Message status byte established by the MIDI standard. 15.3.2 MAN : Manufacturer’s ID Format: 01000100B (CASIO = 44H) Indicates this Instrument s manufacturer ID. 15.3.
IPS:Individual Parameter Send Individual Parameter Send Indicates an individual parameter value send message. When the Instrument receives this action, it rewrites the value specified by the data field with the specified parameter value. 15.3.6 cat : Category Format: 0cccccccB 0cccccccB = Category (7bit) The category indicates the categories of data handled by the System Exclusive Message.
When there are multiple parameters with the same ID inside the same category, as with the mixer channel volume setting for example, the block number required to specify to which block data belongs is specified as:kkkkkkkjjjjjjjiiiiiiiB (Binary). 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.
The value of this field specifies the size of the parameter value stored in the data field. Data length indicates the length of the array being transferred minus 1 when the parameter contains a character string or other similar array structure. 15.3.
A single session is concluded only when this Instrument returns an IPS (Individual Parameter Send) in response to an IPR (Individual Parameter Request) from an external device, or when an external device or this Instrument spontaneously sends an IPS. If this Instrument received an IPS, the value of the applicable parameter is changed.
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.
19 Patch Parameters The main function of patch parameters is to configure the settings of the sound source of a device. 19.1 Master Tune Parameters These parameters configure the Master Tuning Settings. Parameter Master Fine Tune8 ID 0001 R/W R/W Block 000000 Size 10 Array 01 Min-Def-Max 0000-0200-03FF Master Coarse Tune Stretch Tune Enable 0002 0003 R/W R/W ↑ ↑ 7 1 01 01 00-40-7F 00-01-01 19.2 Description -100 - 0 +99.8(cent)(1unit=100/512cents) -24 - 0 - +24(semitone) 0...Disable 1...
19.4 System Reverb Parameters Parameter Cancel ID 0080 R/W R/W Block 000000 Size 1 Array 01 Min-Def-Max 00-00-01 Type Feedback Er Level Damp Tone 0081 0082 0083 0084 0085 R/W R/W R/W R/W R/W ↑ ↑ ↑ ↑ ↑ 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 Note1 : Description 0...Normal 1...Cancel 1-16 (Note1) 0-127 0-127 0-127 0-127 Selects the System Reverb preset type. Receipt of GM/GS Reset selects Hall2.
20 20.
20.
21 Music Library Parameters This parameter is a container for Music Library related information.
Part VI DSP Parameter List 22 Tone with DSP List This is a list of tones that use DSP. Tone Name GRAND PIANO CONCERT GRAND PIANO STUDIO GRAND PIANO MODERN GRAND PIANO BRIGHT GRAND PIANO MELLOW GRAND PIANO DOLCE DANCE PIANO 60’S E.PIANO DYNO ELEC.PIANO VIBRAPHONE CLAVI WAH CLAVI ROCK ORGAN 1 JAZZ ORGAN DRAWBAR ORGAN ROTARY DRAWBAR ROTARY ORGAN PERC.
23.
24.5 Early Reflection Parameter Number Parameter7[00] Parameter7[01] Parameter7[02] 24.6 24.7 : See : See 24.8 Parameter Name Speed Brake Fall Accel Rise Accel Slow Rate Fast Rate Value 0-1 0-1 00 - 7F 00 - 7F 00 - 7F 00 - 7F Notes Note1 Note2 Drive Rotary : See : See Parameter Name Overdrive Gain Overdrive Level Speed Brake Fall Accel Rise Accel Slow Rate Fast Rate Value 00 - 7F 00 - 7F 0-1 0-1 00 - 7F 00 - 7F 00 - 7F 00 - 7F Notes Note1 Note2 25.3 Slow/Fast Setting Value Table . 25.
Part VII Setting Values and Send/ Receive Values 25 Setting Value Tables 25.1 Off/On Setting Value Table Transmit Value 00H 7FH 25.2 25.2.1 AP-658M 25.3 Receive Value 00H : : : 7FH Parameter Off (continuous, receive only) Half(Note1) (continuous, receive only) Full Slow/Fast Setting Value Table Receive Value 00H - 3FH 40H - 7FH Parameter Slow Fast Rotate/Brake Setting Value Table Transmit Value 00H 7FH 25.5 Parameter Off (continuous) Full : vvH = 00H - 7FH Transmit Value 00H 7FH 25.
25.6 Pan Setting Value Table Transmit/Receive Value 00H : 40H : 7FH 25.7 Parameter Left : Center : Right Master Fine Tuning Setting Value Table Transmit Value(LSB, MSB) (43H, 00H) (65H, 00H) (07H, 01H) (29H, 01H) : (40H, 3FH) (60H, 3FH) (00H, 40H) (20H, 40H) (40H, 40H) : (54H, 7EH) (73H, 7EH) (11H, 7FH) (30H, 7FH) 25.
25.9 Chorus Type Setting Value Table Transmit/Receive Value 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 25.
25.11 Brilliance Gain Setting Value Table Parameter Value 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H 11H 12H 13H 14H 15H 16H 17H 18H Gain -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 Note: The gain value does not exactly correspond to decibels (dB).
25.12 DSP Equalizer Gain Setting Value Table Parameter Value 34H 35H 36H 37H 38H 39H 3AH 3BH 3CH 3DH 3EH 3FH 40H 41H 42H 43H 44H 45H 46H 47H 48H 49H 4AH 4BH 4CH Gain -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 Note: The gain value does not exactly correspond to decibels (dB).
Part VIII MIDI Implementation Notation 26 Value Notation 26.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.
Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 : 125 126 127 Hexadecimal 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H : 7DH 7EH 7FH Binary 00000000B 00000001B 00000010B 00000011B 00000100B 00000101B 00000110B 00000111B 00001000B 00001001B 00001010B 00001011B 00001100B 00001101B 00001110B 00001111B 00010000B 01111101B 01111110B 01111111B 51