Casio AP-500 Implementation Manual

Midi implementation
Hide thumbs

Advertisement

Table of Contents
PX-200/PX-800/AP-500 MIDI Implementation
Contents
1
Product Configuration as a MIDI Device.......................................................................................... 5
1.1
System Section.................................................................................................................................... 5
1.2
Performance Controller Section .......................................................................................................... 5
1.3
Auto Accompaniment and Auto Performance MIDI Send ................................................................... 5
1.4
Sound Generator Section .................................................................................................................... 6
1.4.1
Sound Generator Common Block ..........................................................................................................6
1.4.2
Part Block...............................................................................................................................................6
2
Conditions that Disable Message Send and Receive ...................................................................... 7
3
Timbre Type Specific Operation ...................................................................................................... 7
Part II
4
Receive Channel ............................................................................................................................. 8
5
Send Channel .................................................................................................................................. 8
6
Note Off ........................................................................................................................................... 8
7
Note On ........................................................................................................................................... 8
8
Polyphonic Key Pressure................................................................................................................. 9
9
Control Change................................................................................................................................ 9
9.1
Bank Select (00H) ............................................................................................................................... 9
9.2
Modulation (01H) ............................................................................................................................... 10
9.3
Data Entry (06H,26H) ........................................................................................................................ 10
9.4
Volume (07H) .................................................................................................................................... 10
9.5
Pan (0AH).......................................................................................................................................... 11
9.6
Expression (0BH) .............................................................................................................................. 11
9.7
9.8
Hold1 (40H) ....................................................................................................................................... 12
9.9
Sostenuto (42H) ................................................................................................................................ 12
9.10
Soft (43H) .......................................................................................................................................... 13
9.11
Vibrato Rate (4CH) ............................................................................................................................ 13
9.12
Vibrato Depth (4DH) .......................................................................................................................... 13
9.13
Vibrato Delay (4EH)........................................................................................................................... 14
9.14
Reverb Send (5BH) ........................................................................................................................... 14
9.15
Chorus Send (5DH) ........................................................................................................................... 14
CASIO COMPUTER CO., LTD.
1

Advertisement

Table of Contents
loading

  Also See for Casio AP-500

  Summary of Contents for Casio AP-500

  • Page 1: Table Of Contents

    PX-200/PX-800/AP-500 MIDI Implementation CASIO COMPUTER CO., LTD. Contents Part I MIDI Message Overview Product Configuration as a MIDI Device..................5 System Section............................ 5 Performance Controller Section ......................5 Auto Accompaniment and Auto Performance MIDI Send ..............5 Sound Generator Section ........................6 1.4.1...
  • Page 2 9.16 NRPN (62H,63H)..........................15 9.17 RPN (64H,65H) ..........................15 9.17.1 Pitch Bend Sensitivity ..........................15 9.17.2 Fine Tune..............................16 9.17.3 Coarse Tune............................16 9.17.4 Modulation Depth ..........................16 9.17.5 Null...............................16 9.18 All Sound Off (78H) ........................... 17 9.19 Reset All Controllers (79H)........................ 17 10 Mode Message ..........................17 10.1 All Notes Off (7BH) ..........................
  • Page 3 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..........................28 16.3.4 dev : MIDI Device ID 00H-7FH ......................28 16.3.5 act : Action ............................29 16.3.6 cat : Category ............................30 16.3.7...
  • Page 4 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 Monaural Tone DSP .......................... 46 26.2 Stereo Tone DSP ..........................47 27 DSP Parameter Table........................
  • Page 5: Part I

    Part I MIDI Message Overview 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. •...
  • Page 6: Sound Generator Section

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

    MIDI/Music Library Channel14 MIDI/Music Library Channel15 MIDI/Music Library Channel16 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 card format in progress •...
  • 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.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.
  • Page 9: Polyphonic Key Pressure

    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. Control Change Format Message Format: BnH ccH vvH n: MIDI Channel Number...
  • Page 10: Modulation (01H)

    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.
  • Page 11: Pan (0Ah)

    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.
  • Page 12: Hold1 (40H)

    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.
  • Page 13: Soft (43H)

    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"...
  • Page 14: Vibrato Delay (4Eh)

    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...
  • Page 15: Nrpn (62H,63H)

    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...
  • Page 16: Fine Tune

    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...
  • Page 17: All Sound Off (78H)

    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...
  • Page 18: Omni Off (7Ch)

    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...
  • Page 19: Program Change

    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.
  • Page 20: Use Of The Same Dsp Line By Multiple Parts

    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. •...
  • Page 21: System Messages

    Part III System Messages 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.
  • Page 22: Master Balance

    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".
  • Page 23: Reverb Parameter

    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...
  • Page 24 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.
  • Page 25: Gm System Message

    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.
  • Page 26: Instrument-Specific System Exclusive Message

    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".
  • Page 27: Instrument-Specific System Exclusive Messages

    Part IV Instrument-Specific System Exclusive Messages 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. • Change of a specific Instrument parameter value •...
  • Page 28: Format Of Each Field

    Format: 11110000B System Exclusive message Status = F0H 16.3.2 MAN : Manufacturer's ID Format: 01000100B Manufacturer's ID = 44H (CASIO) 16.3.3 MOD : Model ID Format: 00011001B (MSB) 00000001B (LSB) The Model ID of the series to which the Instrument belongs is shown by two consecutive bytes (MSB, LSB).
  • Page 29: Act : Action

    16.3.5 act : Action Format: 0aaaaaaaB aaaaaaaB = Action This field indicates the operation of the Instrument-specific System Exclusive Message. aaaaaaaB Action Function 00H NOP No Operation 01H IPR Individual Parameter Request 02H IPS Individual Parameter Send 03H OBR Oneway Bulk Parameter Set Request 04H OBS Oneway Bulk Parameter Set Send 05H HBR...
  • Page 30: Cat : Category

    BSY: Busy Indicates a message to convey to the requester that that the Instrument cannot send back data after a parameter set one- way mode or handshake mode send request is received. The cat, mem, and pset fields indicate the value carried by the last received message.
  • Page 31: Mem : Memory Area Id

    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. Type User area (rewriting allowed) 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)
  • Page 32: Pkt : Packet Number

    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.
  • Page 33: Img : Parameter Set Image

    data0: [bit06] [bit05] [bit04] [bit03] [bit02] [bit01] [bit00] data1: [bit13] [bit12] [bit11] [bit10] [bit09] [bit08] [bit07] data2: [bit20] [bit19] [bit18] [bit17] [bit16] [bit15] [bit14] data3: [bit27] [bit26] [bit25] [bit24] [bit23] [bit22] [bit21] data4: [bit31] [bit30] [bit29] [bit28] 16.3.15 img : Parameter Set Image Format: 0dddddddB 0cccccccB 000000abB...
  • Page 34: Eox : End Of System Exclusive Message

    16.3.17 EOX : End of System Exclusive Message Format: 11110111B (End of System Exclusive message Status = F7H) 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.
  • Page 35: Session And Subsession

    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.
  • Page 36: Handshake Mode Communication Flow

    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.
  • Page 37 RJC is sent to terminate the session in case ACK cannot be recognized. Data Receiver Data Sender Operation HBR → 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.
  • Page 38 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"...
  • Page 39: Parameter List

    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.
  • Page 40: Setup Parameter

    Setup Parameter Setup Parameters put a device into the setup mode. 20.1 MIDI Parameter Parameter Block Size Array Min-Def-Max Description Midi Device Id 0023 R/W 000000 00-7F-7F 0 - 127 Patch Parameters 21.1 Master Parameter Patch Parameters mainly set a device's sound source mode. Parameter Block Size Array Min-Def-Max Description...
  • Page 41: System Reverb Parameter

    21.3 System Reverb Parameter Parameter Block Size Array Min-Def-Max Description Cancel 003C 000000 00-00-01 0...Normal 1...Cancel Type 003D 000000 00-04-0F 1 - 16 (Note1) Feedback 003E 000000 00-40-7F 0 - 127 Er Level 003F 000000 00-40-7F 0 - 127 Damp 0040 000000 00-40-7F...
  • Page 42: Part Parameter

    21.6 Part Parameter Parameter Block Size Array Min-Def-Max Description Part Enable 0068 4-0: Part Number 00-01-01 0...Off 1...On ↑ Tone Num 0069 0000-0000-3FFF 0 - 16383 ↑ Fine Tune 006A 00-40-7F -100 - 0 - +99(cent) ↑ Coarse Tune 006B 28-40-58 -24 - 0 - +24(cent) ↑...
  • Page 43: Lfo Parameter

    22.2 LFO Parameter Parameter Block Size Array Min-Def-Max Description Vib Wave 000C 000000 00-00-0F 0...Sin 1...Tri 2...Saw Up 3...Saw Down 4...Pulse 1:3 5...Pulse 2:2 6...Pulse 3:1 15..Depends on original Vib Rate 000D 000000 00-40-7F -64 - 0 - +63 (Note1) Vib Auto Delay 000E 000000...
  • Page 44: Music Library Parameter

    Music Library Parameter This parameter is a container for Music Library related information. Parameter Block Size Array Min-Def-Max Description Name 0000 000000 20-20-7F Ascii Character Address 0001 000000 00000000-00000000-00FFFFFF 0 - 0xFFFFFFFF Size 0002 000000 00000000-00000000-00FFFFFF 0 - 0xFFFFFFFF...
  • Page 45: Parameter Set List

    Part VI Parameter Set List This list shows the parameter sets that can be transferred using System Exclusive Message Bulk Dump. Music Library Parameter Set System Exclusive Format Field Value SYSEX 15, 01 00 - 7F 04(HDS), 05(HDR), 07(Control) Music Library = 21 0 = User pset Music Library Number to be transferred...
  • Page 46: Part Vii Dsp Parameter List

    Part VII DSP Parameter List Tone with DSP List This is a list of tones that use DSP. Tone Number Tone Name Mono/Stereo DSP Algorithm ELEC PIANO 1 Mono Enhancer ELEC PIANO 2 Mono 3Band EQ ELEC PIANO 3 Mono Enhancer HARPSICHORD Mono...
  • Page 47: Stereo Tone Dsp

    26.2 Stereo Tone DSP Algorithm Input Output 2000 Thru Stereo Stereo 2001 3Band EQ Stereo Stereo 2002 Compressor Stereo Stereo 2003 Limiter Stereo Stereo 2004 Enhancer Stereo Stereo 2007 Tremolo Stereo Stereo 2008 3Band EQ Stereo 2009 Compressor Stereo 200A Limiter Stereo 200B...
  • Page 48: Algorithm 0003 : Mono-Mono Compressor Parameter

    27.3 Algorithm 0003 : Mono-Mono Compressor Parameter Parameter Number Parameter Name Value Notes Parameter7[00] Depth 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...
  • Page 49: Algorithm 0007 : Mono-Stereo Drive Rotary Parameter

    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...
  • Page 50: Algorithm 2001 : Stereo-Stereo 3Band Eq Parameter

    27.11 Algorithm 2001 : Stereo-Stereo 3Band EQ Parameter Parameter Number Parameter Name Value Notes Parameter7[00] Low Freq 00 - 7F 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...
  • Page 51: Part Viii Setting Values And Send/Receive Values

    Part VIII 28.5 Pan Setting Value Table Value Transmit/Receive Setting Values and Send/ Left Receive Values Center Right Setting Value Tables 28.6 -50 - 0 - 50 Setting Value Table 28.1 Off/On Setting Value Table Value Transmit/Receive (MSB-LSB) Value Transmit Receive 20H-00H 00H-3FH...
  • Page 52: Chorus Type Setting Value Table

    28.8 Chorus Type Setting Value Table 28.10 Brilliance Gain Setting Value Table Value Transmit/Receive Value Gain Chorus1 Chorus2 Chorus3 Chorus4 Feedback Chorus Flanger1 Short Delay Short Delay FB Soft Chorus Bright Chorus Deep Chorus Flanger2 Flanger3 Flanger4 Short Delay Modulation Short Delay Modulation FB 28.9 Equalizer Mid Frequency Setting...
  • Page 53: Dsp Equalizer Gain Setting Value Table

    28.11 DSP Equalizer Gain Setting Value Table Value Gain Note: The gain value does note exactly correspond to decibels (dB).
  • Page 54: Midi Implementation Notation

    Part IX 28.13 Binary Notation When a MIDI implementation data value is expressed in MIDI Implementation 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 Notation settings.
  • Page 55 CASIO COMPUTER CO.,LTD. 6-2, Hon-machi 1-chome Shibuya-ku, Tokyo 151-8543, Japan MA0701-A...

This manual is also suitable for:

Px-200Px-800

Table of Contents