<!--
{
  "documentType" : "article",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/midi-drivers",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "MIDI Drivers"
}
-->

# MIDI Drivers

Create driver plug-ins.

## Topics

### Managing Device Lifecyle

[`MIDIDeviceCreate`](/documentation/CoreMIDI/MIDIDeviceCreate(_:_:_:_:_:))

Creates a new device object that corresponds to the available hardware.

[`MIDIDeviceDispose`](/documentation/CoreMIDI/MIDIDeviceDispose(_:))

Disposes of a MIDI device.

[`MIDIDeviceRef`](/documentation/CoreMIDI/MIDIDeviceRef)

A MIDI device that contains entities.

### Managing Device Lists

[`MIDIDeviceListGetNumberOfDevices`](/documentation/CoreMIDI/MIDIDeviceListGetNumberOfDevices(_:))

Retrieves the number of devices in a device list.

[`MIDIDeviceListGetDevice`](/documentation/CoreMIDI/MIDIDeviceListGetDevice(_:_:))

Retrieves a MIDI device from a device list.

[`MIDIDeviceListAddDevice`](/documentation/CoreMIDI/MIDIDeviceListAddDevice(_:_:))

Adds the specified device to the device list.

[`MIDIDeviceListDispose`](/documentation/CoreMIDI/MIDIDeviceListDispose(_:))

Disposes of a device list, but not its devices.

[`MIDIDeviceListRef`](/documentation/CoreMIDI/MIDIDeviceListRef)

A list of MIDI devices.

### Inspecting a Driver

[`MIDIGetDriverDeviceList`](/documentation/CoreMIDI/MIDIGetDriverDeviceList(_:))

Returns the list of driver-created devices in the current MIDI setup.

[`MIDIDriverEnableMonitoring`](/documentation/CoreMIDI/MIDIDriverEnableMonitoring(_:_:))

Enables monitoring of all outgoing MIDI packets.

[`MIDIGetDriverIORunLoop`](/documentation/CoreMIDI/MIDIGetDriverIORunLoop())

Returns the server’s driver I/O thread.

[`kMIDIDriverPropertyUsesSerial`](/documentation/CoreMIDI/kMIDIDriverPropertyUsesSerial)

A value that indicates whether the driver uses serial ports and is eligible to have serial ports assigned to it.

[`MIDIDriverInterface`](/documentation/CoreMIDI/MIDIDriverInterface)

The interface to a MIDI driver.

[`MIDIDriverRef`](/documentation/CoreMIDI/MIDIDriverRef)

A MIDI driver object.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)