|
fengrun2005
| 来自北京
木有人回答啊,在Android官网找到一些介绍:
https://source.android.com/devices/audio/midi_test.html
USB test: peripheral mode(这种模式下USB从设备是作为一个MIDI键盘!!)
Hardware needed: USB cable, OTG adapter
Android-to-Android
Apps needed: MidiKeyboard on Android device under test, MidiScope on another Android device.
Use Android devices as a peripheral controller for another Android device. To help test this mode, use another Android device running in host mode. Note that you could modify the test to work with a desktop computer running Digital Audio Workstation (DAW) software such as GarageBand.
- Connect the USB cable to the Android device under test (Android device A).
- Use an OTG adapter to connect the other end of the cable to a second Android device B that operates in host mode.
- On Android device A:
- Drag finger down from top of screen.
- Select USB for Charging icon.
- Select MIDI.
- Launch MidiKeyboard app.
- Select Android USB Peripheral Port from Receiver for Keys menu at top.
- On Android device B:
- Launch MidiScope app.
- Select the other Android device as the source.
- On Android device A:
- Play notes on the keyboard and look for NoteOn and NoteOff on Android device B.
另外文章里还介绍了 MIDI 可以走 USB Host Mode/USB Peripheral Mode/BLE, 以及相应的测试方法. |
|