One Logo Pool Ball
Media · IOS API REFERENCE

CoreMIDI

Communicate with MIDI devices such as hardware keyboards and synthesizers.

163 types

762 callable entries

64 skipped

92% entry coverage

Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.

Types

MIDI2DeviceInfo

class · iOS 18.0+

MIDI2DeviceManufacturer

struct

MIDI2DeviceRevisionLevel

struct

MIDIChannelNumber

typealias

MIDICICategoryOptions

struct

MIDICIDevice

class · iOS 18.0+

MIDICIDeviceID

typealias

MIDICIDeviceIdentification

struct

MIDICIDeviceInfo

class · iOS 12.0+ · Deprecated in iOS 18.0

MIDICIDeviceManager

class · iOS 18.0+

MIDICIDeviceManager.DictionaryKey

struct

MIDICIDeviceType

enum

MIDICIDiscoveredNode

class · iOS 14.0+ · Deprecated in iOS 18.0

MIDICIDiscoveryManager

class · iOS 14.0+ · Deprecated in iOS 18.0

MIDICIDiscoveryResponseBlock

typealias · iOS 14.0+ · Deprecated in iOS 18.0

MIDICIInitiatiorMUID

typealias

MIDICIManagementMessageType

enum

MIDICIMUID

typealias

MIDICIProcessInquiryMessageType

enum

MIDICIProfile

class · iOS 12.0+

MIDICIProfileChangedBlock

typealias · iOS 14.0+ · Deprecated in iOS 18.0

MIDICIProfileID

struct

MIDICIProfileIDManufacturerSpecific

struct

MIDICIProfileIDStandard

struct

MIDICIProfileMessageType

enum

MIDICIProfileResponderDelegate

protocol · iOS 14.0+ · Deprecated in iOS 18.0

MIDICIProfileSpecificDataBlock

typealias · iOS 14.0+ · Deprecated in iOS 18.0

MIDICIProfileState

class · iOS 12.0+

MIDICIProfileType

enum

MIDICIPropertyExchangeMessageType

enum

MIDICIPropertyExchangeRequestID

struct

MIDICIResponder

class · iOS 14.0+ · Deprecated in iOS 18.0

MIDICISession

class · iOS 12.0+ · Deprecated in iOS 18.0

MIDICISessionDisconnectBlock

typealias · iOS 14.0+ · Deprecated in iOS 18.0

MIDIClientRef

typealias

MIDICompletionProc

typealias

MIDICompletionProcUMP

typealias

MIDIControlTransform

struct

MIDICVStatus

enum

MIDIDeviceListRef

typealias

MIDIDeviceRef

typealias

MIDIDriverInterface

struct

MIDIDriverRef

typealias

MIDIEndpointRef

typealias

MIDIEntityRef

typealias

MIDIEventList

struct

MIDIEventList.Builder

class · iOS 14.0+

MIDIEventList.UnsafeSequence

struct · iOS 14.0+

MIDIEventList.UnsafeSequence.Element

typealias · iOS 14.0+

MIDIEventList.UnsafeSequence.Iterator

struct · iOS 14.0+

MIDIEventList.UnsafeSequence.Iterator.Element

typealias · iOS 14.0+

MIDIEventPacket

struct

MIDIEventPacket.Builder

class · iOS 14.0+

MIDIEventPacket.WordCollection

struct · iOS 14.0+

MIDIEventPacket.WordCollection.Element

typealias · iOS 14.0+

MIDIEventPacket.WordCollection.Index

typealias · iOS 14.0+

MIDIEventPacket.WordCollection.Indices

typealias · iOS 14.0+

MIDIEventPacket.WordCollection.Iterator

typealias · iOS 14.0+

MIDIEventPacket.WordCollection.SubSequence

typealias · iOS 14.0+

MIDIEventPacket.WordSequence

struct · iOS 14.0+

MIDIEventPacket.WordSequence.Element

typealias · iOS 14.0+

MIDIEventPacket.WordSequence.Iterator

struct · iOS 14.0+

MIDIEventPacket.WordSequence.Iterator.Element

typealias · iOS 14.0+

MIDIEventVisitor

typealias

MIDIIOErrorNotification

struct

MIDIMessage_128

struct

MIDIMessage_32

typealias

MIDIMessage_64

struct

MIDIMessage_96

struct

MIDIMessageType

enum

MIDINetworkConnection

class · iOS 4.2+

MIDINetworkConnectionPolicy

enum

MIDINetworkHost

class · iOS 4.2+

MIDINetworkSession

class · iOS 4.2+

MIDINoteAttribute

enum

MIDINotification

struct

MIDINotificationMessageID

enum

MIDINotifyBlock

typealias

MIDINotifyProc

typealias

MIDIObjectAddRemoveNotification

struct

MIDIObjectPropertyChangeNotification

struct

MIDIObjectRef

typealias

MIDIObjectType

enum

MIDIPacket

struct

MIDIPacket.Builder

class · iOS 13.0+

MIDIPacket.ByteCollection

struct · iOS 13.0+

MIDIPacket.ByteCollection.Element

typealias · iOS 13.0+

MIDIPacket.ByteCollection.Index

typealias · iOS 13.0+

MIDIPacket.ByteCollection.Indices

typealias · iOS 13.0+

MIDIPacket.ByteCollection.Iterator

typealias · iOS 13.0+

MIDIPacket.ByteCollection.SubSequence

typealias · iOS 13.0+

MIDIPacket.ByteSequence

struct · iOS 13.0+

MIDIPacket.ByteSequence.Element

typealias · iOS 13.0+

MIDIPacket.ByteSequence.Iterator

struct · iOS 13.0+

MIDIPacket.ByteSequence.Iterator.Element

typealias · iOS 13.0+

MIDIPacketList

struct

MIDIPacketList.Builder

class · iOS 13.0+

MIDIPacketList.UnsafeSequence

struct · iOS 13.0+

MIDIPacketList.UnsafeSequence.Element

typealias · iOS 13.0+

MIDIPacketList.UnsafeSequence.Iterator

struct · iOS 13.0+

MIDIPacketList.UnsafeSequence.Iterator.Element

typealias · iOS 13.0+

MIDIPerNoteManagementOptions

struct

MIDIPortRef

typealias

MIDIProgramChangeOptions

struct

MIDIProtocolID

enum

MIDIReadBlock

typealias · iOS 9.0+ · Deprecated in iOS 100000.0

MIDIReadProc

typealias · iOS 4.2+ · Deprecated in iOS 100000.0

MIDIReceiveBlock

typealias

MIDISetupRef

typealias

MIDISysexSendRequest

struct

MIDISysexSendRequestUMP

struct

MIDISysExStatus

enum

MIDISystemStatus

enum

MIDIThruConnectionEndpoint

struct

MIDIThruConnectionParams

struct

MIDIThruConnectionRef

typealias

MIDITimeStamp

typealias

MIDITransform

struct

MIDITransformControlType

enum

MIDITransformType

enum

MIDIUInteger14

typealias

MIDIUInteger2

typealias

MIDIUInteger28

typealias

MIDIUInteger4

typealias

MIDIUInteger7

typealias

MIDIUMPCIObjectBackingType

enum

MIDIUMPCIProfile

class · iOS 18.0+

MIDIUMPEndpoint

class · iOS 18.0+

MIDIUMPEndpointManager

class · iOS 18.0+

MIDIUMPEndpointManager.DictionaryKey

struct

MIDIUMPFunctionBlock

class · iOS 18.0+

MIDIUMPFunctionBlockDirection

enum

MIDIUMPFunctionBlockID

typealias

MIDIUMPFunctionBlockMIDI1Info

enum

MIDIUMPFunctionBlockUIHint

enum

MIDIUMPGroupNumber

typealias

MIDIUMPMutableEndpoint

class · iOS 18.0+

MIDIUMPMutableFunctionBlock

class · iOS 18.0+

MIDIUMPProtocolOptions

struct

MIDIUniqueID

typealias

MIDIUniversalMessage

struct

MIDIUtilityStatus

enum

MIDIValueMap

struct

UMPStreamMessageFormat

enum

UMPStreamMessageStatus

enum

UnsafeMutableMIDIEventListPointer

struct · iOS 14.0+

UnsafeMutableMIDIEventListPointer.Element

typealias · iOS 14.0+

UnsafeMutableMIDIEventListPointer.Iterator

typealias · iOS 14.0+

UnsafeMutableMIDIEventPacketPointer

struct · iOS 14.0+

UnsafeMutableMIDIEventPacketPointer.Element

typealias · iOS 14.0+

UnsafeMutableMIDIEventPacketPointer.Index

typealias · iOS 14.0+

UnsafeMutableMIDIEventPacketPointer.Indices

typealias · iOS 14.0+

UnsafeMutableMIDIEventPacketPointer.Iterator

typealias · iOS 14.0+

UnsafeMutableMIDIEventPacketPointer.SubSequence

typealias · iOS 14.0+

UnsafeMutableMIDIPacketListPointer

struct · iOS 13.0+

UnsafeMutableMIDIPacketListPointer.Element

typealias · iOS 13.0+

UnsafeMutableMIDIPacketListPointer.Iterator

typealias · iOS 13.0+

UnsafeMutableMIDIPacketPointer

struct · iOS 13.0+

UnsafeMutableMIDIPacketPointer.Element

typealias · iOS 13.0+

UnsafeMutableMIDIPacketPointer.Index

typealias · iOS 13.0+

UnsafeMutableMIDIPacketPointer.Indices

typealias · iOS 13.0+

UnsafeMutableMIDIPacketPointer.Iterator

typealias · iOS 13.0+

UnsafeMutableMIDIPacketPointer.SubSequence

typealias · iOS 13.0+

Functions and constants

get

kMIDIIDNotUnique

TypeScript
const kMIDIIDNotUnique: number
Swift declaration
var kMIDIIDNotUnique: OSStatus { get }
get

kMIDIInvalidClient

TypeScript
const kMIDIInvalidClient: number
Swift declaration
var kMIDIInvalidClient: OSStatus { get }
get

kMIDIInvalidPort

TypeScript
const kMIDIInvalidPort: number
Swift declaration
var kMIDIInvalidPort: OSStatus { get }
get

kMIDIMessageSendErr

TypeScript
const kMIDIMessageSendErr: number
Swift declaration
var kMIDIMessageSendErr: OSStatus { get }
get

kMIDINoConnection

TypeScript
const kMIDINoConnection: number
Swift declaration
var kMIDINoConnection: OSStatus { get }
get

kMIDINoCurrentSetup

TypeScript
const kMIDINoCurrentSetup: number
Swift declaration
var kMIDINoCurrentSetup: OSStatus { get }
get

kMIDINotPermitted

TypeScript
const kMIDINotPermitted: number
Swift declaration
var kMIDINotPermitted: OSStatus { get }
get

kMIDIObjectNotFound

TypeScript
const kMIDIObjectNotFound: number
Swift declaration
var kMIDIObjectNotFound: OSStatus { get }
get

kMIDIServerStartErr

TypeScript
const kMIDIServerStartErr: number
Swift declaration
var kMIDIServerStartErr: OSStatus { get }
get

kMIDISetupFormatErr

TypeScript
const kMIDISetupFormatErr: number
Swift declaration
var kMIDISetupFormatErr: OSStatus { get }
get

kMIDIUnknownEndpoint

TypeScript
const kMIDIUnknownEndpoint: number
Swift declaration
var kMIDIUnknownEndpoint: OSStatus { get }
get

kMIDIUnknownError

TypeScript
const kMIDIUnknownError: number
Swift declaration
var kMIDIUnknownError: OSStatus { get }
get

kMIDIUnknownProperty

TypeScript
const kMIDIUnknownProperty: number
Swift declaration
var kMIDIUnknownProperty: OSStatus { get }
get

kMIDIWrongEndpointType

TypeScript
const kMIDIWrongEndpointType: number
Swift declaration
var kMIDIWrongEndpointType: OSStatus { get }
get

kMIDIWrongPropertyType

TypeScript
const kMIDIWrongPropertyType: number
Swift declaration
var kMIDIWrongPropertyType: OSStatus { get }
get

kMIDIWrongThread

TypeScript
const kMIDIWrongThread: number
Swift declaration
var kMIDIWrongThread: OSStatus { get }
get

kMIDIInvalidUniqueID

TypeScript
const kMIDIInvalidUniqueID: number
Swift declaration
var kMIDIInvalidUniqueID: MIDIUniqueID { get }
get

kMIDIThruConnection_MaxEndpoints

TypeScript
const kMIDIThruConnection_MaxEndpoints: number
Swift declaration
var kMIDIThruConnection_MaxEndpoints: Int { get }
function

MIDI1UPChannelPressure

TypeScript
MIDI1UPChannelPressure(group: number, channel: number, value: number): number
Swift declaration
func MIDI1UPChannelPressure(_ group: UInt8, _ channel: UInt8, _ value: UInt8) -> MIDIMessage_32
function

MIDI1UPChannelVoiceMessage

TypeScript
MIDI1UPChannelVoiceMessage(group: number, status: number, channel: number, data1: number, data2: number): number
Swift declaration
func MIDI1UPChannelVoiceMessage(_ group: UInt8, _ status: UInt8, _ channel: UInt8, _ data1: UInt8, _ data2: UInt8) -> MIDIMessage_32
function

MIDI1UPControlChange

TypeScript
MIDI1UPControlChange(group: number, channel: number, index: number, data: number): number
Swift declaration
func MIDI1UPControlChange(_ group: UInt8, _ channel: UInt8, _ index: UInt8, _ data: UInt8) -> MIDIMessage_32
function

MIDI1UPNoteOff

TypeScript
MIDI1UPNoteOff(group: number, channel: number, noteNumber: number, velocity: number): number
Swift declaration
func MIDI1UPNoteOff(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ velocity: UInt8) -> MIDIMessage_32
function

MIDI1UPNoteOn

TypeScript
MIDI1UPNoteOn(group: number, channel: number, noteNumber: number, velocity: number): number
Swift declaration
func MIDI1UPNoteOn(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ velocity: UInt8) -> MIDIMessage_32
function

MIDI1UPPitchBend

TypeScript
MIDI1UPPitchBend(group: number, channel: number, lsb: number, msb: number): number
Swift declaration
func MIDI1UPPitchBend(_ group: UInt8, _ channel: UInt8, _ lsb: UInt8, _ msb: UInt8) -> MIDIMessage_32
function

MIDI1UPPolyPressure

TypeScript
MIDI1UPPolyPressure(group: number, channel: number, noteNumber: number, pressure: number): number
Swift declaration
func MIDI1UPPolyPressure(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ pressure: UInt8) -> MIDIMessage_32
function

MIDI1UPProgramChange

TypeScript
MIDI1UPProgramChange(group: number, channel: number, program: number): number
Swift declaration
func MIDI1UPProgramChange(_ group: UInt8, _ channel: UInt8, _ program: UInt8) -> MIDIMessage_32
function

MIDI1UPSysEx

TypeScript
MIDI1UPSysEx(group: number, status: number, bytesUsed: number, byte1: number, byte2: number, byte3: number, byte4: number, byte5: number, byte6: number): MIDIMessage_64
Swift declaration
func MIDI1UPSysEx(_ group: UInt8, _ status: UInt8, _ bytesUsed: UInt8, _ byte1: UInt8, _ byte2: UInt8, _ byte3: UInt8, _ byte4: UInt8, _ byte5: UInt8, _ byte6: UInt8) -> MIDIMessage_64
function

MIDI1UPSysExArray

TypeScript
MIDI1UPSysExArray(group: number, status: number, begin?: (SDKHandle) | null, end?: (SDKHandle) | null): MIDIMessage_64
Swift declaration
func MIDI1UPSysExArray(_ group: UInt8, _ status: UInt8, _ begin: UnsafePointer<UInt8>!, _ end: UnsafePointer<UInt8>!) -> MIDIMessage_64
function

MIDI1UPSystemCommon

TypeScript
MIDI1UPSystemCommon(group: number, status: number, byte1: number, byte2: number): number
Swift declaration
func MIDI1UPSystemCommon(_ group: UInt8, _ status: UInt8, _ byte1: UInt8, _ byte2: UInt8) -> MIDIMessage_32
function

MIDI2AssignableControl

TypeScript
MIDI2AssignableControl(group: number, channel: number, bank: number, index: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2AssignableControl(_ group: UInt8, _ channel: UInt8, _ bank: UInt8, _ index: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2AssignablePNC

TypeScript
MIDI2AssignablePNC(group: number, channel: number, noteNumber: number, index: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2AssignablePNC(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ index: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2ChannelPressure

TypeScript
MIDI2ChannelPressure(group: number, channel: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2ChannelPressure(_ group: UInt8, _ channel: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2ChannelVoiceMessage

TypeScript
MIDI2ChannelVoiceMessage(group: number, status: number, channel: number, index: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2ChannelVoiceMessage(_ group: UInt8, _ status: UInt8, _ channel: UInt8, _ index: UInt16, _ value: UInt32) -> MIDIMessage_64
function

MIDI2ControlChange

TypeScript
MIDI2ControlChange(group: number, channel: number, index: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2ControlChange(_ group: UInt8, _ channel: UInt8, _ index: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2EndOfClipMessage

TypeScript
MIDI2EndOfClipMessage(): MIDIMessage_128
Swift declaration
func MIDI2EndOfClipMessage() -> MIDIMessage_128
function

MIDI2EndpointDeviceIdentityNotificationMessage

TypeScript
MIDI2EndpointDeviceIdentityNotificationMessage(deviceManufacturer1: number, deviceManufacturer2: number, deviceManufacturer3: number, deviceFamily: number, deviceFamilyModel: number, revisionLevel: number): MIDIMessage_128
Swift declaration
func MIDI2EndpointDeviceIdentityNotificationMessage(_ deviceManufacturer1: MIDIUInteger7, _ deviceManufacturer2: MIDIUInteger7, _ deviceManufacturer3: MIDIUInteger7, _ deviceFamily: MIDIUInteger14, _ deviceFamilyModel: MIDIUInteger14, _ revisionLevel: MIDIUInteger28) -> MIDIMessage_128
function

MIDI2EndpointDiscoveryMessage

TypeScript
MIDI2EndpointDiscoveryMessage(versionMajor: number, versionMinor: number, endpointInfoRequest: boolean, deviceIdentityRequest: boolean, endpointNameRequest: boolean, productInstanceIDRequest: boolean, streamConfigurationRequest: boolean): MIDIMessage_128
Swift declaration
func MIDI2EndpointDiscoveryMessage(_ versionMajor: UInt8, _ versionMinor: UInt8, _ endpointInfoRequest: Bool, _ deviceIdentityRequest: Bool, _ endpointNameRequest: Bool, _ productInstanceIDRequest: Bool, _ streamConfigurationRequest: Bool) -> MIDIMessage_128
function

MIDI2EndpointInfoNotificationMessage

TypeScript
MIDI2EndpointInfoNotificationMessage(versionMajor: number, versionMinor: number, staticFunctionBlocks: boolean, numberOfFunctionBlocks: number, m1: boolean, m2: boolean, receiveJRTimestamp: boolean, transmitJRTimestamp: boolean): MIDIMessage_128
Swift declaration
func MIDI2EndpointInfoNotificationMessage(_ versionMajor: UInt8, _ versionMinor: UInt8, _ staticFunctionBlocks: Bool, _ numberOfFunctionBlocks: UInt8, _ m1: Bool, _ m2: Bool, _ receiveJRTimestamp: Bool, _ transmitJRTimestamp: Bool) -> MIDIMessage_128
function

MIDI2EndpointNameNotificationMessage

TypeScript
MIDI2EndpointNameNotificationMessage(format: UMPStreamMessageFormat, data: (SDKHandle) | null, length: number): MIDIMessage_128
Swift declaration
func MIDI2EndpointNameNotificationMessage(_ format: UMPStreamMessageFormat, _ data: UnsafePointer<CChar>!, _ length: Int) -> MIDIMessage_128
function

MIDI2EndpointProductInstanceIDNotificationMessage

TypeScript
MIDI2EndpointProductInstanceIDNotificationMessage(format: UMPStreamMessageFormat, data: (SDKHandle) | null, length: number): MIDIMessage_128
Swift declaration
func MIDI2EndpointProductInstanceIDNotificationMessage(_ format: UMPStreamMessageFormat, _ data: UnsafePointer<CChar>!, _ length: Int) -> MIDIMessage_128
function

MIDI2FlexDataMessage

TypeScript
MIDI2FlexDataMessage(group: number, format: number, address: number, channel: number, statusBank: number, status: number, data1: number, data2: number, data3: number): MIDIMessage_128
Swift declaration
func MIDI2FlexDataMessage(_ group: MIDIUInteger4, _ format: MIDIUInteger2, _ address: MIDIUInteger2, _ channel: MIDIUInteger4, _ statusBank: UInt8, _ status: UInt8, _ data1: UInt32, _ data2: UInt32, _ data3: UInt32) -> MIDIMessage_128
function

MIDI2FunctionBlockDiscoveryMessage

TypeScript
MIDI2FunctionBlockDiscoveryMessage(functionBlockNumber: number, infoRequest: boolean, nameRequest: boolean): MIDIMessage_128
Swift declaration
func MIDI2FunctionBlockDiscoveryMessage(_ functionBlockNumber: UInt8, _ infoRequest: Bool, _ nameRequest: Bool) -> MIDIMessage_128
function

MIDI2FunctionBlockInfoNotificationMessage

TypeScript
MIDI2FunctionBlockInfoNotificationMessage(active: boolean, blockNumber: number, UIHint: MIDIUMPFunctionBlockUIHint, MIDI1: MIDIUMPFunctionBlockMIDI1Info, direction: MIDIUMPFunctionBlockDirection, firstGroup: number, numberOfGroupsSpanned: number, CIVersion: number, maxSysex8Streams: number): MIDIMessage_128
Swift declaration
func MIDI2FunctionBlockInfoNotificationMessage(_ active: Bool, _ blockNumber: MIDIUInteger7, _ UIHint: MIDIUMPFunctionBlockUIHint, _ MIDI1: MIDIUMPFunctionBlockMIDI1Info, _ direction: MIDIUMPFunctionBlockDirection, _ firstGroup: UInt8, _ numberOfGroupsSpanned: UInt8, _ CIVersion: UInt8, _ maxSysex8Streams: UInt8) -> MIDIMessage_128
function

MIDI2FunctionBlockNameNotificationMessage

TypeScript
MIDI2FunctionBlockNameNotificationMessage(format: UMPStreamMessageFormat, blockNumber: number, data: (SDKHandle) | null, length: number): MIDIMessage_128
Swift declaration
func MIDI2FunctionBlockNameNotificationMessage(_ format: UMPStreamMessageFormat, _ blockNumber: UInt8, _ data: UnsafePointer<CChar>!, _ length: Int) -> MIDIMessage_128
function

MIDI2NoteOff

TypeScript
MIDI2NoteOff(group: number, channel: number, noteNumber: number, attributeType: number, attributeData: number, velocity: number): MIDIMessage_64
Swift declaration
func MIDI2NoteOff(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ attributeType: UInt8, _ attributeData: UInt16, _ velocity: UInt16) -> MIDIMessage_64
function

MIDI2NoteOn

TypeScript
MIDI2NoteOn(group: number, channel: number, noteNumber: number, attributeType: number, attributeData: number, velocity: number): MIDIMessage_64
Swift declaration
func MIDI2NoteOn(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ attributeType: UInt8, _ attributeData: UInt16, _ velocity: UInt16) -> MIDIMessage_64
function

MIDI2PerNoteManagment

TypeScript
MIDI2PerNoteManagment(group: number, channel: number, noteNumber: number, detachPNCs: boolean, resetPNCsToDefault: boolean): MIDIMessage_64
Swift declaration
func MIDI2PerNoteManagment(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ detachPNCs: Bool, _ resetPNCsToDefault: Bool) -> MIDIMessage_64
function

MIDI2PerNotePitchBend

TypeScript
MIDI2PerNotePitchBend(group: number, channel: number, noteNumber: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2PerNotePitchBend(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2PitchBend

TypeScript
MIDI2PitchBend(group: number, channel: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2PitchBend(_ group: UInt8, _ channel: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2PolyPressure

TypeScript
MIDI2PolyPressure(group: number, channel: number, noteNumber: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2PolyPressure(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2ProgramChange

TypeScript
MIDI2ProgramChange(group: number, channel: number, bankIsValid: boolean, program: number, bank_msb: number, bank_lsb: number): MIDIMessage_64
Swift declaration
func MIDI2ProgramChange(_ group: UInt8, _ channel: UInt8, _ bankIsValid: Bool, _ program: UInt8, _ bank_msb: UInt8, _ bank_lsb: UInt8) -> MIDIMessage_64
function

MIDI2RegisteredControl

TypeScript
MIDI2RegisteredControl(group: number, channel: number, bank: number, index: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2RegisteredControl(_ group: UInt8, _ channel: UInt8, _ bank: UInt8, _ index: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2RegisteredPNC

TypeScript
MIDI2RegisteredPNC(group: number, channel: number, noteNumber: number, index: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2RegisteredPNC(_ group: UInt8, _ channel: UInt8, _ noteNumber: UInt8, _ index: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2RelAssignableControl

TypeScript
MIDI2RelAssignableControl(group: number, channel: number, bank: number, index: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2RelAssignableControl(_ group: UInt8, _ channel: UInt8, _ bank: UInt8, _ index: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2RelRegisteredControl

TypeScript
MIDI2RelRegisteredControl(group: number, channel: number, bank: number, index: number, value: number): MIDIMessage_64
Swift declaration
func MIDI2RelRegisteredControl(_ group: UInt8, _ channel: UInt8, _ bank: UInt8, _ index: UInt8, _ value: UInt32) -> MIDIMessage_64
function

MIDI2StartOfClipMessage

TypeScript
MIDI2StartOfClipMessage(): MIDIMessage_128
Swift declaration
func MIDI2StartOfClipMessage() -> MIDIMessage_128
function

MIDI2StreamConfigurationNotificationMessage

TypeScript
MIDI2StreamConfigurationNotificationMessage(protocol: number, receiveJRTimestamp: boolean, transmitJRTimestamp: boolean): MIDIMessage_128
Swift declaration
func MIDI2StreamConfigurationNotificationMessage(_ protocol: UInt8, _ receiveJRTimestamp: Bool, _ transmitJRTimestamp: Bool) -> MIDIMessage_128
function

MIDI2StreamConfigurationRequestMessage

TypeScript
MIDI2StreamConfigurationRequestMessage(protocol: number, receiveJRTimestamp: boolean, transmitJRTimestamp: boolean): MIDIMessage_128
Swift declaration
func MIDI2StreamConfigurationRequestMessage(_ protocol: UInt8, _ receiveJRTimestamp: Bool, _ transmitJRTimestamp: Bool) -> MIDIMessage_128
function

MIDI2StreamMessage

TypeScript
MIDI2StreamMessage(format: UMPStreamMessageFormat, status: UMPStreamMessageStatus, data1: number, data2: number, data3: number, data4: number): MIDIMessage_128
Swift declaration
func MIDI2StreamMessage(_ format: UMPStreamMessageFormat, _ status: UMPStreamMessageStatus, _ data1: UInt16, _ data2: UInt32, _ data3: UInt32, _ data4: UInt32) -> MIDIMessage_128
function

MIDI2StreamMessageFromData

TypeScript
MIDI2StreamMessageFromData(format: UMPStreamMessageFormat, status: UMPStreamMessageStatus, data: (SDKHandle) | null, length: number): MIDIMessage_128
Swift declaration
func MIDI2StreamMessageFromData(_ format: UMPStreamMessageFormat, _ status: UMPStreamMessageStatus, _ data: UnsafePointer<UInt8>!, _ length: Int) -> MIDIMessage_128
function · iOS 16.0+

MIDIBluetoothDriverActivateAllConnections

TypeScript
MIDIBluetoothDriverActivateAllConnections(): number
Swift declaration
func MIDIBluetoothDriverActivateAllConnections() -> OSStatus
function · iOS 16.0+

MIDIBluetoothDriverDisconnect

TypeScript
MIDIBluetoothDriverDisconnect(uuid: _CoreFoundation_CFString): number
Swift declaration
func MIDIBluetoothDriverDisconnect(_ uuid: CFString) -> OSStatus
function · iOS 9.0+

MIDIClientCreateWithBlock

TypeScript
MIDIClientCreateWithBlock(name: _CoreFoundation_CFString, outClient: SDKHandle, notifyBlock?: (((arg0: SDKHandle) => void)) | null): number
Swift declaration
func MIDIClientCreateWithBlock(_ name: CFString, _ outClient: UnsafeMutablePointer<MIDIClientRef>, _ notifyBlock: MIDINotifyBlock?) -> OSStatus
function · iOS 4.2+

MIDIClientDispose

TypeScript
MIDIClientDispose(client: number): number
Swift declaration
func MIDIClientDispose(_ client: MIDIClientRef) -> OSStatus
function

MIDIDeltaClockstampTicksPerQuarterNoteMessage

TypeScript
MIDIDeltaClockstampTicksPerQuarterNoteMessage(ticksPerQuarterNote: number): number
Swift declaration
func MIDIDeltaClockstampTicksPerQuarterNoteMessage(_ ticksPerQuarterNote: UInt16) -> MIDIMessage_32
function · iOS 9.0+ · Deprecated in iOS 100000.0

MIDIDestinationCreateWithBlock

TypeScript
MIDIDestinationCreateWithBlock(client: number, name: _CoreFoundation_CFString, outDest: SDKHandle, readBlock: ((arg0: SDKHandle, arg1: (SDKHandle) | null) => void)): number
Swift declaration
func MIDIDestinationCreateWithBlock(_ client: MIDIClientRef, _ name: CFString, _ outDest: UnsafeMutablePointer<MIDIEndpointRef>, _ readBlock: @escaping MIDIReadBlock) -> OSStatus
function · iOS 14.0+

MIDIDestinationCreateWithProtocol

TypeScript
MIDIDestinationCreateWithProtocol(client: number, name: _CoreFoundation_CFString, protocol: MIDIProtocolID, outDest: SDKHandle, readBlock: ((arg0: SDKHandle, arg1: (SDKHandle) | null) => void)): number
Swift declaration
func MIDIDestinationCreateWithProtocol(_ client: MIDIClientRef, _ name: CFString, _ protocol: MIDIProtocolID, _ outDest: UnsafeMutablePointer<MIDIEndpointRef>, _ readBlock: @escaping MIDIReceiveBlock) -> OSStatus
function · iOS 4.2+ · Deprecated in iOS 100000.0

MIDIDeviceAddEntity

TypeScript
MIDIDeviceAddEntity(device: number, name: _CoreFoundation_CFString, embedded: boolean, numSourceEndpoints: number, numDestinationEndpoints: number, newEntity: SDKHandle): number
Swift declaration
func MIDIDeviceAddEntity(_ device: MIDIDeviceRef, _ name: CFString, _ embedded: Bool, _ numSourceEndpoints: Int, _ numDestinationEndpoints: Int, _ newEntity: UnsafeMutablePointer<MIDIEntityRef>) -> OSStatus
function · iOS 4.2+

MIDIDeviceDispose

TypeScript
MIDIDeviceDispose(device: number): number
Swift declaration
func MIDIDeviceDispose(_ device: MIDIDeviceRef) -> OSStatus
function · iOS 4.2+

MIDIDeviceGetEntity

TypeScript
MIDIDeviceGetEntity(device: number, entityIndex0: number): number
Swift declaration
func MIDIDeviceGetEntity(_ device: MIDIDeviceRef, _ entityIndex0: Int) -> MIDIEntityRef
function · iOS 4.2+

MIDIDeviceGetNumberOfEntities

TypeScript
MIDIDeviceGetNumberOfEntities(device: number): number
Swift declaration
func MIDIDeviceGetNumberOfEntities(_ device: MIDIDeviceRef) -> Int
function · iOS 4.2+

MIDIDeviceListAddDevice

TypeScript
MIDIDeviceListAddDevice(devList: number, dev: number): number
Swift declaration
func MIDIDeviceListAddDevice(_ devList: MIDIDeviceListRef, _ dev: MIDIDeviceRef) -> OSStatus
function · iOS 4.2+

MIDIDeviceListDispose

TypeScript
MIDIDeviceListDispose(devList: number): number
Swift declaration
func MIDIDeviceListDispose(_ devList: MIDIDeviceListRef) -> OSStatus
function · iOS 4.2+

MIDIDeviceListGetDevice

TypeScript
MIDIDeviceListGetDevice(devList: number, index0: number): number
Swift declaration
func MIDIDeviceListGetDevice(_ devList: MIDIDeviceListRef, _ index0: Int) -> MIDIDeviceRef
function · iOS 4.2+

MIDIDeviceListGetNumberOfDevices

TypeScript
MIDIDeviceListGetNumberOfDevices(devList: number): number
Swift declaration
func MIDIDeviceListGetNumberOfDevices(_ devList: MIDIDeviceListRef) -> Int
function · iOS 14.0+

MIDIDeviceNewEntity

TypeScript
MIDIDeviceNewEntity(device: number, name: _CoreFoundation_CFString, protocol: MIDIProtocolID, embedded: boolean, numSourceEndpoints: number, numDestinationEndpoints: number, newEntity: SDKHandle): number
Swift declaration
func MIDIDeviceNewEntity(_ device: MIDIDeviceRef, _ name: CFString, _ protocol: MIDIProtocolID, _ embedded: Bool, _ numSourceEndpoints: Int, _ numDestinationEndpoints: Int, _ newEntity: UnsafeMutablePointer<MIDIEntityRef>) -> OSStatus
function · iOS 4.2+

MIDIDeviceRemoveEntity

TypeScript
MIDIDeviceRemoveEntity(device: number, entity: number): number
Swift declaration
func MIDIDeviceRemoveEntity(_ device: MIDIDeviceRef, _ entity: MIDIEntityRef) -> OSStatus
function · iOS 4.2+

MIDIEndpointDispose

TypeScript
MIDIEndpointDispose(endpt: number): number
Swift declaration
func MIDIEndpointDispose(_ endpt: MIDIEndpointRef) -> OSStatus
function · iOS 4.2+

MIDIEndpointGetEntity

TypeScript
MIDIEndpointGetEntity(inEndpoint: number, outEntity?: (SDKHandle) | null): number
Swift declaration
func MIDIEndpointGetEntity(_ inEndpoint: MIDIEndpointRef, _ outEntity: UnsafeMutablePointer<MIDIEntityRef>?) -> OSStatus
function · iOS 4.2+

MIDIEndpointSetRefCons

TypeScript
MIDIEndpointSetRefCons(endpt: number, ref1?: (SDKHandle) | null, ref2?: (SDKHandle) | null): number
Swift declaration
func MIDIEndpointSetRefCons(_ endpt: MIDIEndpointRef, _ ref1: UnsafeMutableRawPointer?, _ ref2: UnsafeMutableRawPointer?) -> OSStatus
function · iOS 4.2+

MIDIEntityAddOrRemoveEndpoints

TypeScript
MIDIEntityAddOrRemoveEndpoints(entity: number, numSourceEndpoints: number, numDestinationEndpoints: number): number
Swift declaration
func MIDIEntityAddOrRemoveEndpoints(_ entity: MIDIEntityRef, _ numSourceEndpoints: Int, _ numDestinationEndpoints: Int) -> OSStatus
function · iOS 4.2+

MIDIEntityGetDestination

TypeScript
MIDIEntityGetDestination(entity: number, destIndex0: number): number
Swift declaration
func MIDIEntityGetDestination(_ entity: MIDIEntityRef, _ destIndex0: Int) -> MIDIEndpointRef
function · iOS 4.2+

MIDIEntityGetDevice

TypeScript
MIDIEntityGetDevice(inEntity: number, outDevice?: (SDKHandle) | null): number
Swift declaration
func MIDIEntityGetDevice(_ inEntity: MIDIEntityRef, _ outDevice: UnsafeMutablePointer<MIDIDeviceRef>?) -> OSStatus
function · iOS 4.2+

MIDIEntityGetNumberOfDestinations

TypeScript
MIDIEntityGetNumberOfDestinations(entity: number): number
Swift declaration
func MIDIEntityGetNumberOfDestinations(_ entity: MIDIEntityRef) -> Int
function · iOS 4.2+

MIDIEntityGetNumberOfSources

TypeScript
MIDIEntityGetNumberOfSources(entity: number): number
Swift declaration
func MIDIEntityGetNumberOfSources(_ entity: MIDIEntityRef) -> Int
function · iOS 4.2+

MIDIEntityGetSource

TypeScript
MIDIEntityGetSource(entity: number, sourceIndex0: number): number
Swift declaration
func MIDIEntityGetSource(_ entity: MIDIEntityRef, _ sourceIndex0: Int) -> MIDIEndpointRef
function · iOS 14.0+

MIDIEventListAdd

TypeScript
MIDIEventListAdd(evtlist: SDKHandle, listSize: number, curPacket: SDKHandle, time: number, wordCount: number, words: SDKHandle): SDKHandle
Swift declaration
func MIDIEventListAdd(_ evtlist: UnsafeMutablePointer<MIDIEventList>, _ listSize: Int, _ curPacket: UnsafeMutablePointer<MIDIEventPacket>, _ time: MIDITimeStamp, _ wordCount: Int, _ words: UnsafePointer<UInt32>) -> UnsafeMutablePointer<MIDIEventPacket>
function · iOS 14.0+

MIDIEventListInit

TypeScript
MIDIEventListInit(evtlist: SDKHandle, protocol: MIDIProtocolID): SDKHandle
Swift declaration
func MIDIEventListInit(_ evtlist: UnsafeMutablePointer<MIDIEventList>, _ protocol: MIDIProtocolID) -> UnsafeMutablePointer<MIDIEventPacket>
function

MIDIEventPacketNext

TypeScript
MIDIEventPacketNext(pkt: SDKHandle): SDKHandle
Swift declaration
func MIDIEventPacketNext(_ pkt: UnsafePointer<MIDIEventPacket>) -> UnsafeMutablePointer<MIDIEventPacket>
function · iOS 4.2+

MIDIExternalDeviceCreate

TypeScript
MIDIExternalDeviceCreate(name: _CoreFoundation_CFString, manufacturer: _CoreFoundation_CFString, model: _CoreFoundation_CFString, outDevice: SDKHandle): number
Swift declaration
func MIDIExternalDeviceCreate(_ name: CFString, _ manufacturer: CFString, _ model: CFString, _ outDevice: UnsafeMutablePointer<MIDIDeviceRef>) -> OSStatus
function · iOS 4.2+

MIDIFlushOutput

TypeScript
MIDIFlushOutput(dest: number): number
Swift declaration
func MIDIFlushOutput(_ dest: MIDIEndpointRef) -> OSStatus
function · iOS 4.2+

MIDIGetDestination

TypeScript
MIDIGetDestination(destIndex0: number): number
Swift declaration
func MIDIGetDestination(_ destIndex0: Int) -> MIDIEndpointRef
function · iOS 4.2+

MIDIGetDevice

TypeScript
MIDIGetDevice(deviceIndex0: number): number
Swift declaration
func MIDIGetDevice(_ deviceIndex0: Int) -> MIDIDeviceRef
function · iOS 4.2+

MIDIGetDriverIORunLoop

TypeScript
MIDIGetDriverIORunLoop(): _CoreFoundation_CFRunLoop
Swift declaration
func MIDIGetDriverIORunLoop() -> Unmanaged<CFRunLoop>
function · iOS 4.2+

MIDIGetExternalDevice

TypeScript
MIDIGetExternalDevice(deviceIndex0: number): number
Swift declaration
func MIDIGetExternalDevice(_ deviceIndex0: Int) -> MIDIDeviceRef
function · iOS 4.2+

MIDIGetNumberOfDestinations

TypeScript
MIDIGetNumberOfDestinations(): number
Swift declaration
func MIDIGetNumberOfDestinations() -> Int
function · iOS 4.2+

MIDIGetNumberOfDevices

TypeScript
MIDIGetNumberOfDevices(): number
Swift declaration
func MIDIGetNumberOfDevices() -> Int
function · iOS 4.2+

MIDIGetNumberOfExternalDevices

TypeScript
MIDIGetNumberOfExternalDevices(): number
Swift declaration
func MIDIGetNumberOfExternalDevices() -> Int
function · iOS 4.2+

MIDIGetNumberOfSources

TypeScript
MIDIGetNumberOfSources(): number
Swift declaration
func MIDIGetNumberOfSources() -> Int
function · iOS 4.2+

MIDIGetSource

TypeScript
MIDIGetSource(sourceIndex0: number): number
Swift declaration
func MIDIGetSource(_ sourceIndex0: Int) -> MIDIEndpointRef
function · iOS 9.0+ · Deprecated in iOS 100000.0

MIDIInputPortCreateWithBlock

TypeScript
MIDIInputPortCreateWithBlock(client: number, portName: _CoreFoundation_CFString, outPort: SDKHandle, readBlock: ((arg0: SDKHandle, arg1: (SDKHandle) | null) => void)): number
Swift declaration
func MIDIInputPortCreateWithBlock(_ client: MIDIClientRef, _ portName: CFString, _ outPort: UnsafeMutablePointer<MIDIPortRef>, _ readBlock: @escaping MIDIReadBlock) -> OSStatus
function · iOS 14.0+

MIDIInputPortCreateWithProtocol

TypeScript
MIDIInputPortCreateWithProtocol(client: number, portName: _CoreFoundation_CFString, protocol: MIDIProtocolID, outPort: SDKHandle, receiveBlock: ((arg0: SDKHandle, arg1: (SDKHandle) | null) => void)): number
Swift declaration
func MIDIInputPortCreateWithProtocol(_ client: MIDIClientRef, _ portName: CFString, _ protocol: MIDIProtocolID, _ outPort: UnsafeMutablePointer<MIDIPortRef>, _ receiveBlock: @escaping MIDIReceiveBlock) -> OSStatus
function

MIDIJitterReductionClockMessage

TypeScript
MIDIJitterReductionClockMessage(senderClockTime: number): number
Swift declaration
func MIDIJitterReductionClockMessage(_ senderClockTime: UInt16) -> MIDIMessage_32
function

MIDIJitterReductionTimestampMessage

TypeScript
MIDIJitterReductionTimestampMessage(senderClockTimestamp: number): number
Swift declaration
func MIDIJitterReductionTimestampMessage(_ senderClockTimestamp: UInt16) -> MIDIMessage_32
function

MIDIMessageTypeForUPWord

TypeScript
MIDIMessageTypeForUPWord(word: number): MIDIMessageType
Swift declaration
func MIDIMessageTypeForUPWord(_ word: UInt32) -> MIDIMessageType
function

MIDINoOpMessage

TypeScript
MIDINoOpMessage(): number
Swift declaration
func MIDINoOpMessage() -> MIDIMessage_32
function · iOS 4.2+

MIDIObjectFindByUniqueID

TypeScript
MIDIObjectFindByUniqueID(inUniqueID: number, outObject?: (SDKHandle) | null, outObjectType?: (SDKHandle) | null): number
Swift declaration
func MIDIObjectFindByUniqueID(_ inUniqueID: MIDIUniqueID, _ outObject: UnsafeMutablePointer<MIDIObjectRef>?, _ outObjectType: UnsafeMutablePointer<MIDIObjectType>?) -> OSStatus
function · iOS 4.2+

MIDIObjectGetIntegerProperty

TypeScript
MIDIObjectGetIntegerProperty(obj: number, propertyID: _CoreFoundation_CFString, outValue: SDKHandle): number
Swift declaration
func MIDIObjectGetIntegerProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ outValue: UnsafeMutablePointer<Int32>) -> OSStatus
function · iOS 4.2+

MIDIObjectRemoveProperty

TypeScript
MIDIObjectRemoveProperty(obj: number, propertyID: _CoreFoundation_CFString): number
Swift declaration
func MIDIObjectRemoveProperty(_ obj: MIDIObjectRef, _ propertyID: CFString) -> OSStatus
function · iOS 4.2+

MIDIObjectSetDataProperty

TypeScript
MIDIObjectSetDataProperty(obj: number, propertyID: _CoreFoundation_CFString, data: _CoreFoundation_CFData): number
Swift declaration
func MIDIObjectSetDataProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ data: CFData) -> OSStatus
function · iOS 4.2+

MIDIObjectSetDictionaryProperty

TypeScript
MIDIObjectSetDictionaryProperty(obj: number, propertyID: _CoreFoundation_CFString, dict: _CoreFoundation_CFDictionary): number
Swift declaration
func MIDIObjectSetDictionaryProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ dict: CFDictionary) -> OSStatus
function · iOS 4.2+

MIDIObjectSetIntegerProperty

TypeScript
MIDIObjectSetIntegerProperty(obj: number, propertyID: _CoreFoundation_CFString, value: number): number
Swift declaration
func MIDIObjectSetIntegerProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ value: Int32) -> OSStatus
function · iOS 4.2+

MIDIObjectSetStringProperty

TypeScript
MIDIObjectSetStringProperty(obj: number, propertyID: _CoreFoundation_CFString, str: _CoreFoundation_CFString): number
Swift declaration
func MIDIObjectSetStringProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ str: CFString) -> OSStatus
function · iOS 4.2+

MIDIOutputPortCreate

TypeScript
MIDIOutputPortCreate(client: number, portName: _CoreFoundation_CFString, outPort: SDKHandle): number
Swift declaration
func MIDIOutputPortCreate(_ client: MIDIClientRef, _ portName: CFString, _ outPort: UnsafeMutablePointer<MIDIPortRef>) -> OSStatus
function · iOS 4.2+ · Deprecated in iOS 100000.0

MIDIPacketListAdd

TypeScript
MIDIPacketListAdd(pktlist: SDKHandle, listSize: number, curPacket: SDKHandle, time: number, nData: number, data: SDKHandle): SDKHandle
Swift declaration
func MIDIPacketListAdd(_ pktlist: UnsafeMutablePointer<MIDIPacketList>, _ listSize: Int, _ curPacket: UnsafeMutablePointer<MIDIPacket>, _ time: MIDITimeStamp, _ nData: Int, _ data: UnsafePointer<UInt8>) -> UnsafeMutablePointer<MIDIPacket>
function · iOS 4.2+ · Deprecated in iOS 100000.0

MIDIPacketListInit

TypeScript
MIDIPacketListInit(pktlist: SDKHandle): SDKHandle
Swift declaration
func MIDIPacketListInit(_ pktlist: UnsafeMutablePointer<MIDIPacketList>) -> UnsafeMutablePointer<MIDIPacket>
function

MIDIPacketNext

TypeScript
MIDIPacketNext(pkt: SDKHandle): SDKHandle
Swift declaration
func MIDIPacketNext(_ pkt: UnsafePointer<MIDIPacket>) -> UnsafeMutablePointer<MIDIPacket>
function · iOS 4.2+

MIDIPortConnectSource

TypeScript
MIDIPortConnectSource(port: number, source: number, connRefCon?: (SDKHandle) | null): number
Swift declaration
func MIDIPortConnectSource(_ port: MIDIPortRef, _ source: MIDIEndpointRef, _ connRefCon: UnsafeMutableRawPointer?) -> OSStatus
function · iOS 4.2+

MIDIPortDisconnectSource

TypeScript
MIDIPortDisconnectSource(port: number, source: number): number
Swift declaration
func MIDIPortDisconnectSource(_ port: MIDIPortRef, _ source: MIDIEndpointRef) -> OSStatus
function · iOS 4.2+

MIDIPortDispose

TypeScript
MIDIPortDispose(port: number): number
Swift declaration
func MIDIPortDispose(_ port: MIDIPortRef) -> OSStatus
function · iOS 4.2+ · Deprecated in iOS 100000.0

MIDIReceived

TypeScript
MIDIReceived(src: number, pktlist: SDKHandle): number
Swift declaration
func MIDIReceived(_ src: MIDIEndpointRef, _ pktlist: UnsafePointer<MIDIPacketList>) -> OSStatus
function · iOS 14.0+

MIDIReceivedEventList

TypeScript
MIDIReceivedEventList(src: number, evtlist: SDKHandle): number
Swift declaration
func MIDIReceivedEventList(_ src: MIDIEndpointRef, _ evtlist: UnsafePointer<MIDIEventList>) -> OSStatus
function · iOS 4.2+

MIDIRestart

TypeScript
MIDIRestart(): number
Swift declaration
func MIDIRestart() -> OSStatus
function · iOS 4.2+ · Deprecated in iOS 100000.0

MIDISend

TypeScript
MIDISend(port: number, dest: number, pktlist: SDKHandle): number
Swift declaration
func MIDISend(_ port: MIDIPortRef, _ dest: MIDIEndpointRef, _ pktlist: UnsafePointer<MIDIPacketList>) -> OSStatus
function · iOS 14.0+

MIDISendEventList

TypeScript
MIDISendEventList(port: number, dest: number, evtlist: SDKHandle): number
Swift declaration
func MIDISendEventList(_ port: MIDIPortRef, _ dest: MIDIEndpointRef, _ evtlist: UnsafePointer<MIDIEventList>) -> OSStatus
function · iOS 4.2+

MIDISendSysex

TypeScript
MIDISendSysex(request: SDKHandle): number
Swift declaration
func MIDISendSysex(_ request: UnsafeMutablePointer<MIDISysexSendRequest>) -> OSStatus
function · iOS 17.0+

MIDISendUMPSysex

TypeScript
MIDISendUMPSysex(umpRequest: SDKHandle): number
Swift declaration
func MIDISendUMPSysex(_ umpRequest: UnsafeMutablePointer<MIDISysexSendRequestUMP>) -> OSStatus
function · iOS 17.0+

MIDISendUMPSysex8

TypeScript
MIDISendUMPSysex8(umpRequest: SDKHandle): number
Swift declaration
func MIDISendUMPSysex8(_ umpRequest: UnsafeMutablePointer<MIDISysexSendRequestUMP>) -> OSStatus
function · iOS 4.2+

MIDISetupAddDevice

TypeScript
MIDISetupAddDevice(device: number): number
Swift declaration
func MIDISetupAddDevice(_ device: MIDIDeviceRef) -> OSStatus
function · iOS 4.2+

MIDISetupAddExternalDevice

TypeScript
MIDISetupAddExternalDevice(device: number): number
Swift declaration
func MIDISetupAddExternalDevice(_ device: MIDIDeviceRef) -> OSStatus
function · iOS 4.2+

MIDISetupRemoveDevice

TypeScript
MIDISetupRemoveDevice(device: number): number
Swift declaration
func MIDISetupRemoveDevice(_ device: MIDIDeviceRef) -> OSStatus
function · iOS 4.2+

MIDISetupRemoveExternalDevice

TypeScript
MIDISetupRemoveExternalDevice(device: number): number
Swift declaration
func MIDISetupRemoveExternalDevice(_ device: MIDIDeviceRef) -> OSStatus
function · iOS 4.2+ · Deprecated in iOS 100000.0

MIDISourceCreate

TypeScript
MIDISourceCreate(client: number, name: _CoreFoundation_CFString, outSrc: SDKHandle): number
Swift declaration
func MIDISourceCreate(_ client: MIDIClientRef, _ name: CFString, _ outSrc: UnsafeMutablePointer<MIDIEndpointRef>) -> OSStatus
function · iOS 14.0+

MIDISourceCreateWithProtocol

TypeScript
MIDISourceCreateWithProtocol(client: number, name: _CoreFoundation_CFString, protocol: MIDIProtocolID, outSrc: SDKHandle): number
Swift declaration
func MIDISourceCreateWithProtocol(_ client: MIDIClientRef, _ name: CFString, _ protocol: MIDIProtocolID, _ outSrc: UnsafeMutablePointer<MIDIEndpointRef>) -> OSStatus
function · iOS 4.2+

MIDIThruConnectionCreate

TypeScript
MIDIThruConnectionCreate(inPersistentOwnerID: (_CoreFoundation_CFString) | null, inConnectionParams: _CoreFoundation_CFData, outConnection: SDKHandle): number
Swift declaration
func MIDIThruConnectionCreate(_ inPersistentOwnerID: CFString?, _ inConnectionParams: CFData, _ outConnection: UnsafeMutablePointer<MIDIThruConnectionRef>) -> OSStatus
function · iOS 4.2+

MIDIThruConnectionDispose

TypeScript
MIDIThruConnectionDispose(connection: number): number
Swift declaration
func MIDIThruConnectionDispose(_ connection: MIDIThruConnectionRef) -> OSStatus
function · iOS 4.2+

MIDIThruConnectionParamsInitialize

TypeScript
MIDIThruConnectionParamsInitialize(inConnectionParams: SDKHandle): void
Swift declaration
func MIDIThruConnectionParamsInitialize(_ inConnectionParams: UnsafeMutablePointer<MIDIThruConnectionParams>)
function

MIDIThruConnectionParamsSize

TypeScript
MIDIThruConnectionParamsSize(ptr: SDKHandle): number
Swift declaration
func MIDIThruConnectionParamsSize(_ ptr: UnsafePointer<MIDIThruConnectionParams>) -> Int
function · iOS 4.2+

MIDIThruConnectionSetParams

TypeScript
MIDIThruConnectionSetParams(connection: number, inConnectionParams: _CoreFoundation_CFData): number
Swift declaration
func MIDIThruConnectionSetParams(_ connection: MIDIThruConnectionRef, _ inConnectionParams: CFData) -> OSStatus
function

MIDITicksSinceLastEventMessage

TypeScript
MIDITicksSinceLastEventMessage(ticksSinceLastEvent: number): number
Swift declaration
func MIDITicksSinceLastEventMessage(_ ticksSinceLastEvent: UInt32) -> MIDIMessage_32
get

MIDIChannelsWholePort

TypeScript
const MIDIChannelsWholePort: number
Swift declaration
var MIDIChannelsWholePort: MIDIChannelNumber { get }
get · iOS 4.2+

MIDINetworkBonjourServiceType

TypeScript
const MIDINetworkBonjourServiceType: string
Swift declaration
let MIDINetworkBonjourServiceType: String
get · iOS 4.2+

MIDINetworkNotificationContactsDidChange

TypeScript
const MIDINetworkNotificationContactsDidChange: string
Swift declaration
let MIDINetworkNotificationContactsDidChange: String
get · iOS 4.2+

MIDINetworkNotificationSessionDidChange

TypeScript
const MIDINetworkNotificationSessionDidChange: string
Swift declaration
let MIDINetworkNotificationSessionDidChange: String
get

kMIDI1UPMaxSysexSize

TypeScript
const kMIDI1UPMaxSysexSize: number
Swift declaration
var kMIDI1UPMaxSysexSize: UInt8 { get }
get

kMIDIDeviceIDFunctionBlock

TypeScript
const kMIDIDeviceIDFunctionBlock: number
Swift declaration
var kMIDIDeviceIDFunctionBlock: MIDICIDeviceID { get }
get

kMIDIDeviceIDUMPGroup

TypeScript
const kMIDIDeviceIDUMPGroup: number
Swift declaration
var kMIDIDeviceIDUMPGroup: MIDICIDeviceID { get }
get

kMIDIObjectType_ExternalMask

TypeScript
const kMIDIObjectType_ExternalMask: MIDIObjectType
Swift declaration
var kMIDIObjectType_ExternalMask: MIDIObjectType { get }
get · iOS 4.2+

kMIDIPropertyAdvanceScheduleTimeMuSec

TypeScript
const kMIDIPropertyAdvanceScheduleTimeMuSec: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyAdvanceScheduleTimeMuSec: CFString
get · iOS 18.0+

kMIDIPropertyAssociatedEndpoint

TypeScript
const kMIDIPropertyAssociatedEndpoint: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyAssociatedEndpoint: CFString
get · iOS 4.2+

kMIDIPropertyCanRoute

TypeScript
const kMIDIPropertyCanRoute: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyCanRoute: CFString
get · iOS 4.2+

kMIDIPropertyConnectionUniqueID

TypeScript
const kMIDIPropertyConnectionUniqueID: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyConnectionUniqueID: CFString
get · iOS 4.2+

kMIDIPropertyDeviceID

TypeScript
const kMIDIPropertyDeviceID: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyDeviceID: CFString
get · iOS 4.2+

kMIDIPropertyDisplayName

TypeScript
const kMIDIPropertyDisplayName: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyDisplayName: CFString
get · iOS 4.2+

kMIDIPropertyDriverDeviceEditorApp

TypeScript
const kMIDIPropertyDriverDeviceEditorApp: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyDriverDeviceEditorApp: CFString
get · iOS 4.2+

kMIDIPropertyDriverOwner

TypeScript
const kMIDIPropertyDriverOwner: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyDriverOwner: CFString
get · iOS 4.2+

kMIDIPropertyDriverVersion

TypeScript
const kMIDIPropertyDriverVersion: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyDriverVersion: CFString
get · iOS 4.2+

kMIDIPropertyImage

TypeScript
const kMIDIPropertyImage: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyImage: CFString
get · iOS 4.2+

kMIDIPropertyIsBroadcast

TypeScript
const kMIDIPropertyIsBroadcast: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyIsBroadcast: CFString
get · iOS 4.2+

kMIDIPropertyIsDrumMachine

TypeScript
const kMIDIPropertyIsDrumMachine: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyIsDrumMachine: CFString
get · iOS 4.2+

kMIDIPropertyIsEffectUnit

TypeScript
const kMIDIPropertyIsEffectUnit: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyIsEffectUnit: CFString
get · iOS 4.2+

kMIDIPropertyIsEmbeddedEntity

TypeScript
const kMIDIPropertyIsEmbeddedEntity: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyIsEmbeddedEntity: CFString
get · iOS 4.2+

kMIDIPropertyIsMixer

TypeScript
const kMIDIPropertyIsMixer: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyIsMixer: CFString
get · iOS 4.2+

kMIDIPropertyIsSampler

TypeScript
const kMIDIPropertyIsSampler: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyIsSampler: CFString
get · iOS 4.2+

kMIDIPropertyManufacturer

TypeScript
const kMIDIPropertyManufacturer: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyManufacturer: CFString
get · iOS 4.2+

kMIDIPropertyMaxReceiveChannels

TypeScript
const kMIDIPropertyMaxReceiveChannels: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyMaxReceiveChannels: CFString
get · iOS 4.2+

kMIDIPropertyMaxSysExSpeed

TypeScript
const kMIDIPropertyMaxSysExSpeed: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyMaxSysExSpeed: CFString
get · iOS 4.2+

kMIDIPropertyMaxTransmitChannels

TypeScript
const kMIDIPropertyMaxTransmitChannels: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyMaxTransmitChannels: CFString
get · iOS 4.2+

kMIDIPropertyModel

TypeScript
const kMIDIPropertyModel: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyModel: CFString
get · iOS 4.2+

kMIDIPropertyName

TypeScript
const kMIDIPropertyName: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyName: CFString
get · iOS 4.2+ · Deprecated in iOS 13.0

kMIDIPropertyNameConfiguration

TypeScript
const kMIDIPropertyNameConfiguration: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyNameConfiguration: CFString
get · iOS 13.0+

kMIDIPropertyNameConfigurationDictionary

TypeScript
const kMIDIPropertyNameConfigurationDictionary: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyNameConfigurationDictionary: CFString
get · iOS 4.2+

kMIDIPropertyOffline

TypeScript
const kMIDIPropertyOffline: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyOffline: CFString
get · iOS 4.2+

kMIDIPropertyPanDisruptsStereo

TypeScript
const kMIDIPropertyPanDisruptsStereo: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyPanDisruptsStereo: CFString
get · iOS 4.2+

kMIDIPropertyPrivate

TypeScript
const kMIDIPropertyPrivate: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyPrivate: CFString
get · iOS 14.0+

kMIDIPropertyProtocolID

TypeScript
const kMIDIPropertyProtocolID: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyProtocolID: CFString
get · iOS 4.2+

kMIDIPropertyReceiveChannels

TypeScript
const kMIDIPropertyReceiveChannels: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyReceiveChannels: CFString
get · iOS 4.2+

kMIDIPropertyReceivesBankSelectLSB

TypeScript
const kMIDIPropertyReceivesBankSelectLSB: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyReceivesBankSelectLSB: CFString
get · iOS 4.2+

kMIDIPropertyReceivesBankSelectMSB

TypeScript
const kMIDIPropertyReceivesBankSelectMSB: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyReceivesBankSelectMSB: CFString
get · iOS 4.2+

kMIDIPropertyReceivesClock

TypeScript
const kMIDIPropertyReceivesClock: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyReceivesClock: CFString
get · iOS 4.2+

kMIDIPropertyReceivesMTC

TypeScript
const kMIDIPropertyReceivesMTC: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyReceivesMTC: CFString
get · iOS 4.2+

kMIDIPropertyReceivesNotes

TypeScript
const kMIDIPropertyReceivesNotes: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyReceivesNotes: CFString
get · iOS 4.2+

kMIDIPropertyReceivesProgramChanges

TypeScript
const kMIDIPropertyReceivesProgramChanges: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyReceivesProgramChanges: CFString
get · iOS 4.2+

kMIDIPropertySingleRealtimeEntity

TypeScript
const kMIDIPropertySingleRealtimeEntity: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertySingleRealtimeEntity: CFString
get · iOS 4.2+

kMIDIPropertySupportsGeneralMIDI

TypeScript
const kMIDIPropertySupportsGeneralMIDI: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertySupportsGeneralMIDI: CFString
get · iOS 4.2+

kMIDIPropertySupportsMMC

TypeScript
const kMIDIPropertySupportsMMC: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertySupportsMMC: CFString
get · iOS 4.2+

kMIDIPropertySupportsShowControl

TypeScript
const kMIDIPropertySupportsShowControl: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertySupportsShowControl: CFString
get · iOS 4.2+

kMIDIPropertyTransmitChannels

TypeScript
const kMIDIPropertyTransmitChannels: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyTransmitChannels: CFString
get · iOS 4.2+

kMIDIPropertyTransmitsBankSelectLSB

TypeScript
const kMIDIPropertyTransmitsBankSelectLSB: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyTransmitsBankSelectLSB: CFString
get · iOS 4.2+

kMIDIPropertyTransmitsBankSelectMSB

TypeScript
const kMIDIPropertyTransmitsBankSelectMSB: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyTransmitsBankSelectMSB: CFString
get · iOS 4.2+

kMIDIPropertyTransmitsClock

TypeScript
const kMIDIPropertyTransmitsClock: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyTransmitsClock: CFString
get · iOS 4.2+

kMIDIPropertyTransmitsMTC

TypeScript
const kMIDIPropertyTransmitsMTC: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyTransmitsMTC: CFString
get · iOS 4.2+

kMIDIPropertyTransmitsNotes

TypeScript
const kMIDIPropertyTransmitsNotes: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyTransmitsNotes: CFString
get · iOS 4.2+

kMIDIPropertyTransmitsProgramChanges

TypeScript
const kMIDIPropertyTransmitsProgramChanges: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyTransmitsProgramChanges: CFString
get · iOS 17.0+

kMIDIPropertyUMPActiveGroupBitmap

TypeScript
const kMIDIPropertyUMPActiveGroupBitmap: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyUMPActiveGroupBitmap: CFString
get · iOS 17.0+

kMIDIPropertyUMPCanTransmitGroupless

TypeScript
const kMIDIPropertyUMPCanTransmitGroupless: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyUMPCanTransmitGroupless: CFString
get · iOS 4.2+

kMIDIPropertyUniqueID

TypeScript
const kMIDIPropertyUniqueID: _CoreFoundation_CFString
Swift declaration
let kMIDIPropertyUniqueID: CFString
get

kMIDIUInteger14Max

TypeScript
const kMIDIUInteger14Max: number
Swift declaration
var kMIDIUInteger14Max: MIDIUInteger14 { get }
get

kMIDIUInteger28Max

TypeScript
const kMIDIUInteger28Max: number
Swift declaration
var kMIDIUInteger28Max: MIDIUInteger28 { get }
get

kMIDIUInteger2Max

TypeScript
const kMIDIUInteger2Max: number
Swift declaration
var kMIDIUInteger2Max: MIDIUInteger2 { get }
get

kMIDIUInteger4Max

TypeScript
const kMIDIUInteger4Max: number
Swift declaration
var kMIDIUInteger4Max: MIDIUInteger4 { get }
get

kMIDIUInteger7Max

TypeScript
const kMIDIUInteger7Max: number
Swift declaration
var kMIDIUInteger7Max: MIDIUInteger7 { get }
get

kMIDINoteAttributeNone

TypeScript
const kMIDINoteAttributeNone: number
Swift declaration
var kMIDINoteAttributeNone: Int { get }
get

kMIDINoteAttributePitch

TypeScript
const kMIDINoteAttributePitch: number
Swift declaration
var kMIDINoteAttributePitch: Int { get }
get

kMIDINoteAttributeProfileSpecific

TypeScript
const kMIDINoteAttributeProfileSpecific: number
Swift declaration
var kMIDINoteAttributeProfileSpecific: Int { get }
get

kMIDINoteAttributeManufacturerSpecific

TypeScript
const kMIDINoteAttributeManufacturerSpecific: number
Swift declaration
var kMIDINoteAttributeManufacturerSpecific: Int { get }

Skipped declarations

64 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MIDIEventPacket.Builder.append(_:)

A variable number of Swift arguments is not supported.

MIDIEventPacket.Builder.withUnsafePointer(_:)

callback cannot propagate synchronous failure

MIDIEventPacket.Builder.withUnsafeMutableMIDIEventPacketPointer(_:)

callback cannot propagate synchronous failure

MIDIEventList.Builder.withUnsafePointer(_:)

callback cannot propagate synchronous failure

MIDIEventList.Builder.withUnsafeMutableMIDIEventListPointer(_:)

callback cannot propagate synchronous failure

MIDIPacket.Builder.append(_:)

A variable number of Swift arguments is not supported.

MIDIPacket.Builder.withUnsafePointer(_:)

callback cannot propagate synchronous failure

MIDIPacket.Builder.withUnsafeMutableMIDIPacketPointer(_:)

callback cannot propagate synchronous failure

MIDIPacketList.Builder.withUnsafePointer(_:)

callback cannot propagate synchronous failure

MIDIPacketList.Builder.withUnsafeMutableMIDIPacketListPointer(_:)

callback cannot propagate synchronous failure

MIDIEventListForEachEvent(_:_:_:)

The iOS SDK compiler rejected this binding: a C function pointer cannot be formed from a closure that captures context

MIDIDeviceCreate(_:_:_:_:_:)

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.QueryInterface

closure property answers its caller

MIDIDriverInterface.AddRef

closure property answers its caller

MIDIDriverInterface.Release

closure property answers its caller

MIDIDriverInterface.FindDevices

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.Start

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.Stop

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.Configure

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.Send

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.EnableSource

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.Flush

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.Monitor

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.SendPackets

Nested memory pointers cannot cross the bridge.

MIDIDriverInterface.MonitorEvents

Nested memory pointers cannot cross the bridge.

MIDIEndpointGetRefCons(_:_:_:)

Nested memory pointers cannot cross the bridge.

MIDIGetDriverDeviceList(_:)

Nested memory pointers cannot cross the bridge.

MIDIThruConnectionFind(_:_:)

This output pointer cannot safely be represented by the bridge.

MIDIThruConnectionGetParams(_:_:)

This output pointer cannot safely be represented by the bridge.

MIDIClientCreate(_:_:_:_:)

The iOS SDK compiler rejected this binding: a C function pointer cannot be formed from a closure that captures context