Ct-s195 Midi Implementation For Casiotone Keyboard User Manual

Ct-s195 Midi Implementation For Casiotone Keyboard User Manual

casio-logo

CT-S195 MIDI Implementation for Casiotone Keyboard

CT-S195-MIDI-Implementation-for-Casiotone-Keyboard-product

MIDI Message Overview

Product Configuration as a MIDI Device

As a MIDI device, this Instrument consists of the Performance Controller Section and Sound Generator Section described below. Each of these sections can send and receive specificMIDIMessages in accordance with its function.

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 the 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 and controller operations by the musician
  • Non-output performance
    • Demo Songs
    • Song playback
    • Auto accompaniment
    • Dance Music Mode playback
    • Lesson function (LK-S250 only)

Sound Generator Section

The Sound Generator Section mainly performs receive of performance information and sound source setting information. It consists of a common part that does not depend on the channel and a musical instrument part that is independent of each channel.

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.

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. 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.

Part NumberPart NameChannelAssigned Function
00A0101Keyboard
01A0202
02A0303
03A0404Dance Music Mode
04A0505Dance Music Mode
05A0606Dance Music Mode
06A0707
07A0808Metronome/Pre-count
08A0909Auto Accompaniment (Percussion)/Dance Music Mode
09A1010Auto Accompaniment (Drum)/Dance Music Mode
10A1111Auto Accompaniment (Bass)/Dance Music Mode
11A1212Auto Accompaniment (Chord 1)/Dance Music Mode
12A1313Auto Accompaniment (Chord 2)/Dance Music Mode
13A1414Auto Accompaniment (Chord 3)/Dance Music Mode
14A1515Auto Accompaniment (Chord 4)/Dance Music Mode
15A1616Auto Accompaniment (Chord 5)/Dance Music Mode
16B0101MIDI/Auto Performance Functions
17B0202MIDI/Auto Performance Functions
18B0303MIDI/Auto Performance Functions
19B0404MIDI/Auto Performance Functions
20B0505MIDI/Auto Performance Functions
21B0606MIDI/Auto Performance Functions
22B0707MIDI/Auto Performance Functions
23B0808MIDI/Auto Performance Functions
24B0909MIDI/Auto Performance Functions
25B1010MIDI/Auto Performance Functions
26B1111MIDI/Auto Performance Functions
27B1212MIDI/Auto Performance Functions
28B1313MIDI/Auto Performance Functions
29B1414MIDI/Auto Performance Functions
30B1515MIDI/Auto Performance Functions
31B1616MIDI/Auto Performance Functions

Timbre Type Specific Operation

The sound source operation performed for a sound generator instrument receive message may depend on the value of the Timbre Type (see “About the Timbre Type” in “10 Program Change”) of each part’s operation mode. For details, see the explanation for each message.

Conditions that Disable Message Send and Receive

The main conditions whenMIDI message send and receive are disabled by the Instrument are thosedescribed below.

  • While the instrument is accessing flash memory.

Channel Message

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”.

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 depends on the MIDI Out Channel setting value.

Note Off

  • Message Format: 8nH kkH vvH
    • 9nH kkH 00H(receive only)
  • n: MIDI Channel Number
  • kk: Key Number
  • vv: Velocity(Send:40H, Receive:Ignored)

Transmit: Sent when the keyboard is played. The key number changes in accordance with on the MIDI Out Octave Shift function. The velocity changes in accordance with on the MIDI Out Velocity function.
Receive: Receipt stops a note being sounded by a note on message.

Note On
  • Message Format: 9nH kkH vvH
  • n: MIDI Channel Number
  • kk: Key Number
  • vv: Velocity

Transmit: Sent when the keyboard is played. The key number changes in accordance with on the MIDI Out Octave Shift function. The velocity changes in accordance with on the MIDI Out Velocity function.

Receive: Receipt sounds a note of the corresponding instrument part.

Control Change
  • Message Format: BnH ccH vvH
  • n: MIDI Channel Number
  • cc: Control Number
  • vv: Value

For details about messages, see each section of this manual that covers them.

Bank Select (00H,20H)

  • Message Format: BnH 00H mmH (MSB)
    • BnH 20H llH (LSB)
  • n: MIDI Channel Number
  • mm: MSB Value(Note1)
  • ll: LSB Value(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.

Transmit: Sent when a tone is selected.
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 “10 Program Change”.

Modulation (01H)

  • Message Format: BnH 01H vvH
  • n: MIDI Channel Number
  • vv: Value

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.

Portamento Time(05H)

  • Message Format: BnH 05H vvH
  • n: MIDI Channel Number
  • vv: Value

Receive: Receipt changes the portamento application time.

Data Entry (06H,26H)

  • Message Format: BnH 06H mmH (MSB)
    • BnH 26H llH (LSB)
  • n: MIDI Channel Number
  • mm: MSB Value
  • ll: LSB Value

Transmit: Sent when there is a change to the parameter assigned to RPN.
Receive: Receipt changes the parameter assigned to RPN.

Volume (07H)

  • Message Format: BnH 07H vvH
  • n: MIDI Channel Number
  • vv: Value

Receive: Receipt changes the volume of the corresponding part.

Pan (0AH)

  • 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 “15.3 Pan Setting Value Table” in “IV Setting Values and Send/Receive Values”.

Receive: Receipt changes the pan of the corresponding part.

Expression (0BH)

  • Message Format: BnH 0BH vvH
  • n: MIDI Channel Number
  • vv: Value

Receive: Receipt changes the Expression value of the corresponding part.

Damper Pedal (Sustain) (40H)

  • Message Format: BnH 40H vvH
  • n: MIDI Channel Number
  • vv: Value (Note1)

Note 1: For information about the relationship between setting values and send/receive values, see the “15.1 Off/On Setting Value Table” in “IV Setting Values and Send/Receive Values” of this document.

Transmit: Sent when a pedal that has a sustain (damper) function is operated.
Receive: Receipt performs an operation equivalent to a sustain pedal operation.

Timbre Type Specific Operation: This operation differs in accordance with the Timbre Type (see “About the Timbre Type” in “10 Program Change”) 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.

Portamento On/Off(41H)

  • Message Format: BnH 41H vvH
  • n: MIDI Channel Number
  • vv: Value (Note1)

Note 1: For information about the relationship between setting values and send/receive values, see the “15.1 Off/On Setting Value Table” in “IV Setting Values and Send/Receive Values” of this document.

Receive: Receipt changes the portamento on/off setting.

Sostenuto (42H)

  • Message Format: BnH 42H vvH
  • n: MIDI Channel Number
  • vv: Value (Note1)

Note 1: For information about the relationship between setting values and send/receive values, see the “15.1 Off/On Setting Value Table” in “IV Setting Values and Send/Receive Values” of this document.

Transmit: Sent when a pedal that has a sostenuto function is operated.
Receive: Receipt performs an operation equivalent to a sostenuto pedal operation.

Soft (43H)

  • 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 “15.1 Off/On Setting Value Table” in “IV Setting Values and Send/Receive Values” of this document.

Transmit: Sent when a pedal that has a soft function is operated.
Receive: Receipt performs an operation equivalent to a soft pedal operation.

Filter Resonance(47H)

  • Message Format: BnH 47H vvH
  • n: MIDI Channel Number
  • vv: Value

Receive: Receipt changes the filter resonance intensity.

Release Time (48H)

  • Message Format: BnH 48H vvH
  • n: MIDI Channel Number
  • vv: Value (Note1)

Note 1: For information about the relationship between setting values and send/receive values, see the “15.2 –64 – 0 – +63 Setting Value Table” in “IV Setting Values and Send/Receive Values” of this document.

Transmit: Sent when Sustain function of the instrument is operated.
Receive Receipt makes a relative change in the time it takes for a note to decay to zero after a key is released.

Attack Time (49H)

  • Message Format: BnH 49H vvH
  • n: MIDI Channel Number
  • vv: Value (Note1)

Note 1: For information about the relationship between setting values and send/receive values, see the “15.2 –64 – 0 – +63 Setting Value Table” in “IV Setting Values and Send/Receive Values” of this document.

Receive: Receipt makes a relative change in the time it takes for a note to rise to its maximum level.

Filter Cutoff (4AH)

  • Message Format: BnH 4AH vvH
  • n: MIDI Channel Number
  • vv: Value (Note1)

Note 1: For information about the relationship between setting values and send/receive values, see the “15.2 –64 – 0 – +63 Setting Value Table” in “IV Setting Values and Send/Receive Values” of this document.

Receive: Receipt changes the filter cut-off frequency.

Portamento Control(54H)

  • Message Format: BnH 54H vvH
  • n: MIDI Channel Number
  • vv: Source Key Number

Receive: Receipt of this message first stores the Source Note Number for the next note. When the next Note On is received, the portamento effect is applied to the note using this Source Note Number as the pitch start point and the Note On event key number as the end point. If there already is a note being sounded by Source Note Number at this time, the new note on is not performed and the portamento effect is applied to the pitch of the note being sounded. That is to say that legato play is performed.

Reverb Send Level (5BH)

  • Message Format: BnH 5BH vvH
  • n: MIDI Channel Number
  • vv: Value

Receive: Receipt changes the reverb send of the corresponding part.

RPN (Registered Parameter Number) LSB/MSB (64H,65H)

  • Message Format: BnH 64H llH (LSB)
    • BnH 65H mmH (MSB)
  • n: MIDI Channel Number
  • ll: LSB Value
  • mm: MSB Value

Pitch Bend Sensitivity

  • Message Format: BnH 64H 00H
    • BnH 65H 00H
    • BnH 06H mmH
    • BnH 26H llH
  • n: MIDI Channel Number
  • mm: MSB Value(00H – 0CH)
  • ll: LSB Value(Send:00H, Receive:Ignored)

Transmit: Sent when Pitch Bend Range is changed. (CT-S300)
Receive: Receipt changes Bend Range of the corresponding part.

Channel Fine Tuning

  • Message Format: BnH 64H 01H
    • BnH 65H 00H
    • BnH 06H mmH
    • BnH 26H llH
  • n: MIDI Channel Number
  • mm: MSB Value
  • ll: LSB Value

Receive: Receipt changes the fine tune of the corresponding part.

Channel Coarse Tuning

  • Message Format: BnH 64H 02H
    • BnH 65H 00H
    • BnH 06H mmH
    • BnH 26H llH
  • n: MIDI Channel Number
  • mm: MSB Value
  • ll: LSB Value

Receive: Receipt changes the coarse tune of the corresponding part. Does not affect sound source operation when the Timbre Type (see “About the Timbre Type” in “10 Program Change”) is Drum.

RPN Null

  • Message Format: BnH 64H 7FH
    • BnH 65H 7FH
  • n: MIDI Channel Number
  • Transmit: Sent when an RPN message send operation is performed.
  • Receive: Receipt de-selects RPN.

Mode Message

All Sound Off (78H)
  • Message Format: BnH 78H 00H
  • n: MIDI Channel Number

Transmit: Sent when MIDI send related settings are changed.
Receive: Receipt stops all voices that are sounding.

Reset All Controllers (79H)

  • Message Format: BnH 79H 00H
  • n: MIDI Channel Number

Transmit: Sent when MIDI send related settings are changed.
Receive: Receipt initializes each performance controller.

All Notes Off (7BH)

  • Message Format: BnH 7BH 00H
  • n: MIDI Channel Number

Receive: Receipt releases (key release) all voices that are sounding.

Omni Mode Off (All Notes Off) (7CH)

  • Message Format: BnH 7CH 00H
  • n: MIDI Channel Number

Receive: Receipt performs the same operation as when All Notes Off is received.

Omni Mode On (All Notes Off) (7DH)

  • Message Format: BnH 7DH 00H
  • n: MIDI Channel Number

Receive: Receipt performs the same operation as when All Notes Off is received.

Mono Mode On (Poly Mode Off) (All Notes Off) (7EH)

  • Message Format: BnH 7EH 00H
  • n: MIDI Channel Number

Receive: Receipt performs the same operation as when All Notes Off is received.

Poly Mode On (Mono Mode Off) (All Notes Off) (7FH)

  • Message Format: BnH 7FH 00H
  • n: MIDI Channel Number

Receive: Receipt performs the same operation as when All Notes Off is received.

Program Change

  • Message Format: CnH ppH
  • n: MIDI Channel Number
  • pp: Program Number (Note1)

Note 1: For details about the relationship between the program number and the tone, see the Tone List that comes with the Instrument.

Transmit: Sent when a tone is selected.
Receive: Receipt changes the tone of the corresponding part. 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 “About the Timbre Type” below.

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.
Channel Pressure (Aftertouch)
  • Message Format: DnH vvH
  • n: MIDI Channel Number
  • vv: Value

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.

Pitch Bend Change
  • Message Format: EnH llH mmH
  • n: MIDI Channel Number
  • ll: Value LSB
  • mm: Value MSB

Transmit: Sent when the pitch bend wheel is operated. (CT-S300)
Receive: Receipt changes the pitch of the currently sounding note. The range of the pitch change depends on the Pitch Bend Range value setting.

System Message

Active Sensing
  • Message Format: FEH
    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 this Instrument’s sound source are released, the controller is reset, and the Active Sensing mode is exited.
System Exclusive Message

Message Format: F0H….F7H

  • The Instrument sends and receives universal system exclusive messages.

Universal Real Time System Exclusive Message

  • Message Format: F0H 7FH….F7H

Master Volume

  • Message Format: F0H 7FH 7FH 04H 01H llH mmH F7H
  • ll: LSB Value(Send:00H, Receive:Ignored)
  • mm: MSB Value

Receive: Receipt changes the Master Volume.

Master Fine Tuning

  • Message Format: F0H 7FH 7FH 04H 03H llH mmH F7H
  • ll: LSB Value(Note1)
  • mm: MSB Value(Note1)

Note 1: For information about the relationship between setting values and send/receive values, see “15.4 Fine Tune Setting Value Table” in “IV Setting Values and Send/Receive Values” of this document.

Transmit: This message is sent when the Tuning setting is changed.
Receive: Receipt changes the Tuning setting.

Master Coarse Tuning

  • Message Format: F0H 7FH 7FH 04H 04H llH mmH F7H
  • ll: LSB Value(Send:00H, Receive:Ignored)
  • mm: MSB Value

Transmit: Sent when Transpose is changed.
Receive: Receipt changes the Transpose parameter. Does not affect sound source operation when the Timbre Type (see “About the Timbre Type” in “10 Program Change”) is Drum.

Reverb Type
  • 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 “15.5 Reverb Type Setting Value Table” in “IV Setting Values and Send/Receive Values” of this document.

Transmit: Sent when Reverb Type is changed.
Receive: Receipt changes the Reverb Type.

GM System On

Message Format: F0H 7EH 7FH 09H 01H F7H

  • Receive: Receipt puts the sound source into a GM sound source mode.

GM System Off

  • Message Format: F0H 7EH 7FH 09H 02H F7H
  • Receive: Receipt changes the sound source setting to the Instrument presetting.

GM2 System On

  • Message Format: F0H 7EH 7FH 09H 03H F7H

Receive: Though the Instrument does not support GM2, receipt of the GM2 System On message has the same result as receipt of the GM System On message.

Setting Values and Send/ Receive Values

Setting Value Tables

Off/On Setting Value Table

Transmit ValueReceive ValueParameter
00H00H – 3FHOff
7FH40H – 7FHOn

64 – 0 – +63 Setting Value Table

Transmit ValueReceive ValueParameter
00H00H-64
:::
40H40H0
:::
7FH7FH+63

Fine Tune Setting Value Table

Transmit Value /Receive Value /Parameter

(LSB,MSB)(LSB,MSB)– (LSB,MSB) 
(43H,00H)(00H,00H)– (5FH,00H)415.5  Hz
(65H,00H)(60H,00H)– (7FH,00H)415.6  Hz
(07H,01H)(00H,01H)– (1FH,01H)415.7  Hz
(29H,01H)(20H,01H)– (3FH,01H)415.8  Hz
: :   :
(40H,3FH)(30H,3FH)– (4FH,3FH)439.8  Hz
(60H,3FH)(50H,3FH)– (6FH,3FH)439.9  Hz
(00H,40H)(70H,3FH)– (1FH,40H)440.0  Hz
(20H,40H)(20H,40H)– (3FH,40H)440.1  Hz
(40H,40H)(40H,40H)– (5FH,40H)440.2  Hz
: :   :
(54H,7EH)(50H,7EH)– (6FH,7EH)465.6  Hz
(73H,7EH)(70H,7EH)– (0FH,7FH)465.7  Hz
(11H,7FH)(10H,7FH)– (2FH,7FH)465.8  Hz
(30H,7FH)(30H,7FH)– (7FH,7FH)465.9  Hz

Reverb Type Setting Value Table

Transmit ValueReceive ValueParameter
00H00HOff
01H01HRoom 1
02H02HRoom 2
03H03HRoom 3
04H04HRoom 4
05H05HHall  1
06H06HHall  2
07H07HHall  3
08H08HHall  4
09H09HStadium 1
0AH0AHStadium 2

MIDI Implementation Notation

Value Notation

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.

DecimalHexadecimalDecimalHexadecimalDecimalHexadecimalDecimalHexadecimal
000H3220H6440H9660H
101H3321H6541H9761H
202H3422H6642H9862H
303H3523H6743H9963H
404H3624H6844H10064H
505H3725H6945H10165H
606H3826H7046H10266H
707H3927H7147H10367H
808H4028H7248H10468H
909H4129H7349H10569H
100AH422AH744AH1066AH
110BH432BH754BH1076BH
120CH442CH764CH1086CH
130DH452DH774DH1096DH
140EH462EH784EH1106EH
150FH472FH794FH1116FH
1610H4830H8050H11270H
1711H4931H8151H11371H
1812H5032H8252H11472H
1913H5133H8353H11573H
2014H5234H8454H11674H
2115H5335H8555H11775H
2216H5436H8656H11876H
2317H5537H8757H11977H
2418H5638H8858H12078H
2519H5739H8959H12179H
261AH583AH905AH1227AH
271BH593BH915BH1237BH
281CH603CH925CH1247CH
291DH613DH935DH1257DH
301EH623EH945EH1267EH
311FH633FH955FH1277FH

Binary 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.

DecimalHexadecimalBinary
000H00000000B
101H00000001B
202H00000010B
303H00000011B
404H00000100B
505H00000101B
606H00000110B
707H00000111B
808H00001000B
909H00001001B
100AH00001010B
110BH00001011B
120CH00001100B
130DH00001101B
140EH00001110B
150FH00001111B
1610H00010000B
:: 
1257DH01111101B
1267EH01111110B
1277FH01111111B

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals