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:
Figure 1. The front of a USB audio interface with MIDI I/O ports
Figure 2. The back of a USB audio interface with MIDI I/O ports
Figure 3. A standard 5-pin DIN MIDI cable
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
- On the USB Audio/MIDI interface peripheral, connect the MIDI input to the MIDI output with a standard, 5-pin DIN MIDI cable.
- 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.
- Tap Test USB MIDI Interface.
- 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.
- Tap Test Virtual MIDI Interface.
- Wait for the test to complete, then view the reported results on the test screen.
Test Bluetooth MIDI loopback
- Download and install the MIDI BLE Connect app from the Play Store.
- 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.
- Connect the USB Audio/MIDI interface peripheral to the DUT.
- Run the MIDI BLE Connect app. Scan for the Bluetooth MIDI device connected to the USB peripheral. Select this Bluetooth MIDI device.
- 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.
- Tap Bluetooth USB MIDI Interface.
- Wait for the test to complete, then view the reported results in the test screen.