KTV1 MIDI IMPLEMENTATION
1.TRANSMITTED DATA |
|
|
| |||
[H]:Hex, [D]:Decimal | ||||||
+ | ||||||
Status Second Third Description | ENA | |||||
[Hex] [H] [D] [H] [D] | ||||||
+ | ||||||
8n | kk (kk) | 40 (64) Note Off | A | |||
9n | kk (kk) | 40 (64) Note On | A | |||
Bn | cc (cc) | dd (dd) Control Change | C | |||
Cn | pp (pp) | P | ||||
En | bb (bb) | bb (bb) Bender Change | C | |||
+ |
ENA = A : Transmit when Note On/Off Enable.
C : Transmit when Control Change Enable.
P : Transmit when Program Change Enable.
nn: MIDI Channel No,(0~15) Usually Global Channel. kk : Note Number (48~71)
cc : Control Number (1~31,64~95)
dd : Control Data (0~127)
pp: Program Number (0~99)
bb : Pitch Bender Data (0~16383)
|
|
| ||
+ | ||||
Status[Hex] Description ( Transmitted when ... | ) | |||
+ | ||||
F8 | Timing Clock ( Clock Out ) | |||
FE | Active Sensing ( Always ) | |||
+ | ||||
+ | ||||
Byte [Hex] Description |
| |||
+ | ||||
F0 | Exclusive Status |
| ||
7E | Non Realtime Message |
| ||
0n | MIDI Channel Number | (Device ID) | ||
06 | Inquiry Message | (Sub ID 1) | ||
02 | Identity Reply | (Sub ID 2) | ||
42 | KORG ID | (Manufactures ID) | ||
77 | KTV1 ID | (Family ID (LSB)) | ||
00 | ( | (MSB)) | ||
00 | (Member ID (LSB)) | |||
00 | ( | (MSB)) | ||
** | ROM No, 1~ | (Minor Ver.(LSB)) | ||
00 | ( | (MSB)) | ||
** | Soft Version | (Major Ver.(LSB)) | ||
00 | ( | (MSB)) | ||
F7 | EOX |
| ||
+ |
This message is transmitted whenever a INQUIRY MESSAGE REQUEST is received.
OF SYSTEM EXCLUSIVE MESSAGES |
|
| ||||
+- |
|
|
|
|
| |
1st Byte = | 1111 0000 | (F0) | : Exclucive Status | |||
2nd Byte = | 0100 0010 | (42) | : KORG ID | Ex.Header | ||
3rd Byte = | 0011 | nnnn (3n) : Format ID n:MIDI Channel | ||||
4th Byte = | 0111 0111 | (77) | : KTV1 ID | |||
5th Byte = | 0fff ffff (ff) : Function Code |
| ||||
6th Byte = | 0ddd dddd (dd) : Data |
| ||||
| : |
| : : |
| ||
LastByte = | 1111 0111 | (F7) | : End of Exclusive |
| ||
+- |
|
|
|
|
|
1-5 SYSTEM EXCLUSIVE MESSAGES FUNCTION CODE LIST (TRANSMIT)
+ | |||||
Function ID [Hex] Description | R E | ||||
+ | |||||
51 | Global Data Dump | o | |||
65 | All Style Data Dump | o | |||
79 | 1 Motion Sequence Data Dump | o | |||
7B | 10 Motion Sequence Data Dump | o | |||
23 | Data Process(Load) Completed | o | |||
24 | Data Process(Load) Error | o | |||
+ |
Transmitted when
R : Request message is received and data dump from MIDI dump page.
E : Exclusive message received.
2.RECOGNIZED RECEIVE DATA |
|
| ||||
|
|
| ||||
+ | ||||||
Status Second | Third Description | ENA | ||||
[Hex] [H] [D] [H] [D] | ||||||
+ | ||||||
8n | kk (kk) | vv (vv) Note Off | A | |||
9n | kk (kk) | 00 (00) Note off | A | |||
9n | kk (kk) | vv (vv) Note On | A | |||
Bn | cc (cc) | dd (dd) Control Change | C | |||
Cn | pp (pp) | P | ||||
En | bb (bb) | bb (bb) Bender Change | C | |||
+ | ||||||
| ENA = A : Recognized when Note On/Off Enable |
|
| |||
|
| C : Recognized when Control Change Enable |
| |||
|
| P : Recognized when Program Change Enable |
|
nn: MIDI Channel No,(0~15) Usually Global Channel. kk : Note Number (48~71)
vv : Verocity will be ignored
cc : Control Number (1~31,64~95)
dd : Control Data (0~127)
pp : Program Number (0~99)
bb : Pitch Bender Data (0~16383)
|
| |||
+ | ||||
Status[Hex] Description ( Recognized when ... | ) | |||
+ | ||||
F8 | Timing Clock ( Clock Ext.In ) | |||
FE | Active Sensing ( Always ) | |||
+ | ||||
+ | ||||
Byte [Hex] Description |
| |||
+ | ||||
F0 | Exclusive Status |
| ||
7E | Non Realtime Message |
| ||
nn | MIDI Channel Number | (Device ID) | ||
06 | Inquiry Message | (Sub ID 1) | ||
01 | Identity Request | (Sub ID 2) | ||
F7 | EOX |
| ||
+ |
When receive this message and transmits Inquiry Reply Message.
nn= 00~0F : Receive if same Chammel 7F : Receive any Channel
| |||
+ | |||
Function ID [Hex] Description | |||
+ | |||
0E | Global Data Dump Request | ||
31 | All Style Data Dump Request | ||
78 | 1 Motion Sequence Data Dump Request | ||
7A | 10 Motion Sequence Data Dump Request | ||
51 | Global Data Dump | ||
65 | All Style Data Dump | ||
79 | 1 Motion Sequence Data Dump | ||
7B | 10 Motion Sequence Data Dump | ||
+ |
Recognized only on the MIDI dump page. |
|
| |
3.MIDI EXCLUSIVE FORMAT (R:Receive, T:Transmit) |
|
| |
(1) GLOBAL DATA DUMP REQUEST |
| R | |
+ | |||
Byte [Hex] | Description |
| |
+ | |||
F0,42,3n,77 | Exclusive Header KTV1 |
| |
0000 1110 (0E) Global Data Dump Request | 0Eh | ||
1111 0111 (F7) EOX |
| ||
+ |
When this message is received at the MIDI dump page, the GLOBAL DATA DUMP(Function:51h) message will be transmitted.
The DATA PROCESS(LOAD) ERROR(Function:24h) message will be transmitted in other cases.
(2) ALL STYLE DATA DUMP REQUEST |
| R | |
+ | |||
Byte [Hex] | Description |
| |
+ | |||
F0,42,3n,77 | Exclusive Header KTV1 |
| |
0011 0001 (31) All Style Data Dump Request | 31h | ||
1111 0111 (F7) EOX |
| ||
+ |
When this message is received at the MIDI dump page, the GLOBAL DATA DUMP(Function:65h) message will be transmitted.
The DATA PROCESS(LOAD) ERROR(Function:24h) message will be transmitted in other cases.
MIDI Implementation
97