beautypg.com

Midi data format, Midi reception, Midi transmission – Yamaha CBX-K2 User Manual

Page 34: Response of the cbx-k2 during midi errors, Transmit condition

background image

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 <>, All Note Off mes-
sages (<>) <> and <> will not be
merged.

*

When the CBX-K2 is set to send <> messages,
<> messages from an external device will not be
merged.

*

When the CBX-K2 is not set to send <> messages,
<> messages from an external device can be
merged.

*

When Merge is set to ON, and an <> 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 <> and <>
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 (<>)
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

Note on/off

<<9n>>

MIDI

Polyphonic key pressure *

1

<>

OUT

Control change

<>

All sound off

<>

Reset all controller

<>

All note off *

2

<>

Program change

<>

Channel pressure

<>

Pitch change

<>

System exclusive

<>

Timing clock

<>

Start

<>

Continue

<>

Stop

<>

Active sensing

<>

Arbitrary 1byte data

<>

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

When the CBX-K2 is set to send <> mes-

sages, <> messages from the CBX-K2 will be
output. When the CBX-K2 is not set to send <>
messages, <> messages from the CBX-K2 will not
be output, but <> messages from a connected
external device will be merged.

When Merge is set to ON, the incoming data is

merged.

This is Merge On/Off for each channel.