34
MIDI Data Format

MIDI Reception

Merge-related Notes

When Merge is set to ON, MIDI messages received from an
external device at MIDI IN can be merged with the data
generated by the CBX-K2, and are transmitted as is from
MIDI OUT. However, there are some exceptions, as listed
below:
* Active sensing messages <<FE>>, All Note Off mes-
sages (<<Bn 7B 00>>) <<F4>> and <<F5>> will not be
merged.
* When the CBX-K2 is set to send <<F8>> messages,
<<F8>> messages from an external device will not be
merged.
* When the CBX-K2 is not set to send <<F8>> messages,
<<F8>> messages from an external device can be
merged.
* When Merge is set to ON, and an <<FE>> message has
not been received for over approximately 300 ms, an
Active Sensing error occurs.
* With the exception of System Exclusive data, messages
not conforming to the legal byte format will not be
merged. System Exclusive data that doesn’t conform to
the legal byte format can be merged.
* If during transmission of System Exclusive messages,
the messages are cut off or interrupted (for over ap-
proximately 400 ms), a MIDI error occurs.
* When Merge is set to on, and RPN/NRPN messages are
sent from both the CBX-K2 and an external device
connected to MIDI IN, the resulting messages may be
mixed and corrupted.
* When Merge is turned off while a key is held, a stuck
note results. This is because the CBX-K2 simply turns
Merge off, without changing the Note On status.
During merging of System Exclusive data, all operations
from the CBX-K2 are ignored, and <<FE>> and <<F8>>
messages from the CBX-K2 will be stopped. This may
cause some problems, as listed below:
* Any operations executed from the CBX-K2, in the
middle of a System Exclusive message (<<F0- F7>>)
sent from an external device, are ignored.
* CBX-K2 operations that start before or end after the
System Exclusive message will be incomplete.
To avoid these problems:
* Turn Merge off or disconnect the MIDI cable (if the
Merge function is not needed).
* Do not operate the CBX-K2 during reception of large
System Exclusive messages, such as bulk dumps.
* When receiving many short System Exclusive messages,
operate the CBX-K2 slowly, or avoid operating it at all.

Response of the CBX-K2 During MIDI Errors

When a MIDI reception error occurs (such as buffer full,
Active Sensing, interruption of System Exclusive, etc.), the
CBX-K2 responds as follows:
1. Merge is set to OFF.
2. Damper Off, All Note Off, All Sound Off messages are
transmitted over all channels.
3. The M lamp flashes and the relevant
error number appears in the LED display.
To set Merge to ON again, hold down C and press
P.

MIDI Transmission

1. Transmit Condition

MIDI IN <SW1> <SW2> <Filter>
Note on/off <<9n>> MIDI
Polyphonic key pressure *1<<An>> OUT
Control change <<Bn>>
All sound off <<Bn 78 00>>
Reset all controller <<Bn 79 00>>
All note off *2<<Bn 7B 00>>
Program change <<Cn>>
Channel pressure <<Dn>>
Pitch change <<En>>
System exclusive <<F0....F7>>
Timing clock <<F8>> <SW1>
Start <<FA>>
Continue <<FB>>
Stop <<FC>>
Active sensing <<FE>>
Arbitrary 1byte data <<xx>>
*1 This applies only to the highest note played.
*2 This is output only when a MIDI error (such as Active
Sensing or buffer full) occurs.
<SW1> When the CBX-K2 is set to send <<F8>> mes-
sages, <<F8>> messages from the CBX-K2 will be
output. When the CBX-K2 is not set to send <<F8>>
messages, <<F8>> messages from the CBX-K2 will not
be output, but <<F8>> messages from a connected
external device will be merged.
<SW2> When Merge is set to ON, the incoming data is
merged.
<Filter> This is Merge On/Off for each channel.