[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# CTS Verifier MIDI tests\n\nThe following tests verify that the Musical Instrument Digital Interface (MIDI)\nsystem and the associated C or C++ API (for the Native MIDI Test) and the Java\nlanguage API (for the JAVA MIDI Test) function as expected.\n| **Warning:** This page has separate \"Required peripherals\" and \"Test Bluetooth MIDI loopback\" sections (one section each for Android 16 or higher and Android 15 or lower).\n\nFollow the steps in the section for your specific Android version.\n\nRequired peripherals (Android 16 or higher)\n-------------------------------------------\n\nBefore running the CTS-V MIDI tests, you must have these peripherals:\n\n- A USB MIDI with associated loopback cables, such as [Presonus Audio Box 96](https://www.presonus.com/en-US/interfaces/usb-audio-interfaces/audiobox-series/2777700105.html) with a standard 5-pin DIN MIDI cable\n- A Bluetooth MIDI with associated cables, such as [CME WIDI Jack](https://www.cme-pro.com/product/widi-jack/?srsltid=AfmBOorhxPmDHZbqJBDJ47HcMfoAoKYyDGp2wmtFSz3Fm3qA5DfkLHlw) with a [2.5 mm MIDI TRS cable](https://www.cme-pro.com/product/widi-accessory-25trs25-cable/?srsltid=AfmBOoqXgnzXs3QjWkf8gF-vOWbs00xv33LUlNu4VzDAqxRbzaAJh8S-)\n\nExamples of MIDI peripherals with associated loopback cables are shown in the\nfollowing figures:\n\n**Figure 1.** The front of a USB audio interface with MIDI I/O ports.\n\n**Figure 2.** The back of a USB audio interface with MIDI I/O ports.\n\n**Figure 3.** A standard 5-pin DIN MIDI cable.\n\n**Figure 4.** A Bluetooth MIDI interface with 5-pin DIN.\n\n**Figure 5.** A Bluetooth MIDI interface with loopback.\n\nRequired peripherals (Android 15 or lower)\n------------------------------------------\n\nBefore running the CTS-V MIDI tests, you must have a MIDI peripheral with\nassociated loopback cables. Examples of MIDI peripherals with associated\nloopback cables are shown in the following figures:\n\n**Figure 6.** The front of a USB audio interface with MIDI I/O ports.\n\n**Figure 7.** The back of a USB audio interface with MIDI I/O ports.\n\n**Figure 8.** A standard 5-pin DIN MIDI cable.\n\n**Figure 9.** A Bluetooth MIDI interface, such as a Yamaha MD-BT01 or a Roland WM-1.\n\nLoopback tests\n--------------\n\nAll the loopback tests send a set of MIDI messages out through the test\nperipheral, loop back that data, and then monitor the input of that device to\ncheck that the data received matches the data that was sent.\n\nAll of the following tests must pass before you mark them as passed in the app.\n\n### Test USB MIDI loopback\n\n1. On the USB Audio/MIDI interface peripheral, connect the MIDI input to the MIDI output with a standard, 5-pin DIN MIDI cable.\n2. 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.\n3. Tap **Test USB MIDI Interface**.\n4. Wait for the test to complete, then view the reported results on the test screen.\n\n### Test virtual MIDI loopback\n\nNo external hardware is required for this test.\n\n1. Tap **Test Virtual MIDI Interface**.\n2. Wait for the test to complete, then view the reported results on the test screen.\n\nTest Bluetooth MIDI loopback (Android 16 or higher)\n---------------------------------------------------\n\nThe following steps describe how to test Bluetooth MIDI loopback on\nAndroid 16 or higher:\n\n1. Download and install the [MIDI BLE Connect](https://play.google.com/store/apps/details?id=com.mobileer.example.midibtlepairing) app from Google Play.\n2. (optional) If your Bluetooth peripheral supports loopback, for example, the CME WIDI Jack in Figure 5, skip this step. Otherwise, follow these steps:\n 1. 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 5-pin DIN connectors on the Bluetooth MIDI interface have specific directionality:\n - The INPUT plug on the Bluetooth MIDI interface must connect to the INPUT jack on the USB Audio/MIDI interface.\n - The OUTPUT plug on the Bluetooth MIDI interface must connect to the OUTPUT jack on the USB Audio/MIDI interface.\n 2. Connect the USB Audio/MIDI interface peripheral to the DUT.\n3. Run the MIDI BLE Connect app. Scan for the Bluetooth MIDI device. Select this Bluetooth MIDI device.\n4. When the DUT recognizes the connected peripheral, the test screen displays the device names (input and output) and makes the **Test Bluetooth MIDI\n Interface** button available.\n5. Tap **Test Bluetooth MIDI Interface**.\n6. Wait for the test to complete, then view the reported results in the test.\n\nTest Bluetooth MIDI loopback (Android 15 or lower)\n--------------------------------------------------\n\nThe following steps describe how to test Bluetooth MIDI loopback on\nAndroid 15 or lower:\n\n1. Download and install the [MIDI BLE Connect](https://play.google.com/store/apps/details?id=com.mobileer.example.midibtlepairing) app from Google Play.\n2. 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:\n - The INPUT plug on the Bluetooth MIDI interface must connect to the INPUT jack on the USB Audio/MIDI interface.\n - The OUTPUT plug on the Bluetooth MIDI interface must connect to the OUTPUT jack on the USB Audio/MIDI interface.\n3. Connect the USB Audio/MIDI interface peripheral to the DUT.\n4. Run the MIDI BLE Connect app. Scan for the Bluetooth MIDI device connected to the USB peripheral. Select this Bluetooth MIDI device.\n5. When the DUT recognizes the connected peripheral, the test screen displays the device names (input and output) and makes the **Bluetooth USB MIDI\n Interface** button available.\n6. Tap **Bluetooth USB MIDI Interface**.\n7. Wait for the test to complete, then view the reported results in the test screen."]]