CTS Verifier MIDI tests

The following tests verify that the Musical Instrument Digital Interface (MIDI) system and the associated C or C++ API (for the Native MIDI Test) and the Java language API (for the JAVA MIDI Test) function as expected. This test has the following requirements:

  • Required peripherals: A MIDI peripheral with associated loopback cables.

Examples of MIDI peripherals with associated loopback cables are shown in the following figures:

USB with MIDI front

Figure 1. The front of a USB audio interface with MIDI I/O ports

USB with MIDI rear

Figure 2. The back of a USB audio interface with MIDI I/O ports

Standard 5-pin DIN MIDI cable

Figure 3. A standard 5-pin DIN MIDI cable

Bluetooth MIDI interface

Figure 4. A Bluetooth MIDI interface, such as a Yamaha MD-BT01 or a Roland WM-1

Loopback tests

All the loopback tests send a set of MIDI messages out through the test peripheral, loop back that data, and then monitor the input of that device to check that the data received matches the data that was sent.

All of the following tests must pass before you mark them as passed in the app.

Test USB MIDI loopback

  1. On the USB Audio/MIDI interface peripheral, connect the MIDI input to the MIDI output with a standard, 5-pin DIN MIDI cable.
  2. Connect the USB Audio/MIDI interface peripheral to the device under test DUT. When the DUT recognizes the connected peripheral, the test screen displays the device names (input and output) and makes the Test USB MIDI Interface button available.
  3. Tap Test USB MIDI Interface.
  4. Wait for the test to complete, then view the reported results on the test screen.

Test virtual MIDI loopback

No external hardware is required for this test.

  1. Tap Test Virtual MIDI Interface.
  2. Wait for the test to complete, then view the reported results on the test screen.

Test Bluetooth MIDI loopback

  1. Download and install the MIDI BLE Connect app from the Play Store.
  2. On the USB Audio/MIDI interface peripheral, connect the Bluetooth MIDI interface to the MIDI input and output connectors on the back of the USB Audio/MIDI interface. The connectors on the Bluetooth MIDI interface have specific directionality:
    • The INPUT plug on the Bluetooth MIDI interface must connect to the INPUT jack on the USB Audio/MIDI interface.
    • The OUTPUT plug on the Bluetooth MIDI interface must connect to the OUTPUT jack on the USB Audio/MIDI interface.
  3. Connect the USB Audio/MIDI interface peripheral to the DUT.
  4. Run the MIDI BLE Connect app. Scan for the Bluetooth MIDI device connected to the USB peripheral. Select this Bluetooth MIDI device.
  5. When the DUT recognizes the connected peripheral, the test screen displays the device names (input and output) and makes the Bluetooth USB MIDI Interface button available.
  6. Tap Bluetooth USB MIDI Interface.
  7. Wait for the test to complete, then view the reported results in the test screen.