Android.media.midi
lastmod 2023-03-29created 2023-03-293 edits
Overview
The AMidi API is available in Android NDK r20b and later. It lets app developers send and receive MIDI data in C/C++ code.
Android MIDI apps usually use the midi API to communicate with the Android MIDI service. MIDI apps mainly use MidiManager to discover, open, and close one or more MidiDevice objects, and pass data to and from each device through the device's MIDI input and output ports.
Classes
- MidiDevice - This class is used for sending and receiving data to and from a MIDI device Instances of this class are created by MidiManager#openDevice.
- MidiDeviceInfo - This class contains information to describe a MIDI device.
- MidiDeviceService - A service that implements a virtual MIDI device.
- MidiDeviceStatus - This is an immutable class that describes the current status of a MIDI device's ports.
- MidiInputPort - This class is used for sending data to a port on a MIDI device
- MidiManager - This class is the public application interface to the MIDI service.
- MidiOutputPort - This class is used for receiving data from a port on a MIDI device
- MidiReceiver - Interface for sending and receiving data to and from a MIDI device.
- MidiSender - Interface provided by a device to allow attaching MidiReceivers to a MIDI device.
Projects
- android-midisuite
- https://github.com/philburk/android-midisuite
- Android USB MIDI Driver
- https://github.com/kshoji/USB-MIDI-Driver