Expand description
§Bindings to the CoreMIDI framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- MIDI2
Device Info MIDIUMPEndpointandobjc2 - An NSObject containing basic information about a MIDI 2.0 device. Used by MIDIUMPEndpointPair and MIDICIDevice.
- MIDI2
Device Manufacturer MIDIUMPCI - Apple’s documentation
- MIDI2
Device Revision Level MIDIUMPCI - Apple’s documentation
- MIDICI
Category Options MIDIMessagesandMIDIUMPCI - MIDI Capability category supported (bitmap: D6 D5 D4 D3 D2 D1 D0) Bit Category Sub-ID Range Description D0 0x00~0x0F Reserved - No Messages Defined Yet D1 0x10~0x1F Protocol Negotiation (Deprecated) D2 0x20~0x2F Profile Configuration Supported D3 0x30~0x3F Property Exchange Supported D4 0x40~0x4F Process Inquiry Supported D5 0x50~0x5F Reserved - No Messages Defined Yet D6 0x60~0x6F Reserved - No Messages Defined Yet
- MIDICI
Device MIDICIDeviceandobjc2 - An object representing a MIDI-CI Device.
- MIDICI
Device Identification MIDICapabilityInquiry - Apple’s documentation
- MIDICI
Device Info Deprecated MIDICapabilityInquiryandobjc2 - Apple’s documentation
- MIDICI
Device Manager MIDICIDeviceManagerandobjc2 - A singleton object that performs system-wide MIDI-CI Device bookkeeping.
- MIDICI
Device Type MIDIUMPCI - Apple’s documentation
- MIDICI
Discovered Node Deprecated MIDICapabilityInquiryandobjc2 - Apple’s documentation
- MIDICI
Discovery Manager Deprecated MIDICapabilityInquiryandobjc2 - Apple’s documentation
- MIDICI
Management Message Type MIDIMessagesandMIDIUMPCI - MIDI-CI Management sub-ID values.
- MIDICI
Process Inquiry Message Type MIDIMessagesandMIDIUMPCI - MIDI-CI Process Inquiry sub-ID values.
- MIDICI
Profile MIDICapabilityInquiryandobjc2 - An NSObject representing Capability Inquiry profile. MIDI-CI profiles describe a mapping of MIDI messages to specific sounds and synthesis behaviors, e.g. General MIDI, a drawbar organ, etc. A MIDI-CI profile may be a standard registered profile or vendor-specific.
- MIDICI
ProfileID Manufacturer Specific MIDIMessagesandMIDIUMPCI - A C-style struct containing a Manufacturer Specific profile ID.
- MIDICI
ProfileID Standard MIDIMessagesandMIDIUMPCI - A C-style struct containing a standard profile ID.
- MIDICI
Profile Message Type MIDIMessagesandMIDIUMPCI - MIDI-CI Profile message sub-ID values.
- MIDICI
Profile State MIDICapabilityInquiryandobjc2 - Apple’s documentation
- MIDICI
Profile Type MIDIUMPCI - MIDI-CI Profile variants.
- MIDICI
Property Exchange Message Type MIDIMessagesandMIDIUMPCI - MIDI-CI Property Exchange Message sub-ID values.
- MIDICI
Responder Deprecated MIDICapabilityInquiryandobjc2 - Apple’s documentation
- MIDICI
Session Deprecated MIDICapabilityInquiryandobjc2 - Apple’s documentation
- MIDICV
Status MIDIMessages - Apple’s documentation
- MIDI
Control Transform MIDIThruConnection - Describes a transformation of MIDI control change events.
- MIDI
Driver Interface MIDIDriverandMIDIServicesandobjc2-core-foundation - The COM-style interface to a MIDI driver.
- MIDI
Event List MIDIServices - A variable-length list of MIDIEventPackets.
- MIDI
Event Packet MIDIServices - A series of simultaneous MIDI events in UMP format.
- MIDIIO
Error Notification MIDIServices - Apple’s documentation
- MIDI
Message Type MIDIMessages - Apple’s documentation
- MIDI
Message_ 64 MIDIMessages - Apple’s documentation
- MIDI
Message_ 96 MIDIMessages - Apple’s documentation
- MIDI
Message_ 128 MIDIMessages - Apple’s documentation
- MIDI
Network Connection MIDINetworkSessionandobjc2 - Apple’s documentation
- MIDI
Network Connection Policy MIDINetworkSessionandobjc2 - Apple’s documentation
- MIDI
Network Host MIDINetworkSessionandobjc2 - Apple’s documentation
- MIDI
Network Session MIDINetworkSessionandobjc2 - Apple’s documentation
- MIDI
Note Attribute MIDIMessages - Apple’s documentation
- MIDI
Notification MIDIServices - A message describing a system state change.
- MIDI
Notification MessageID MIDIServices - Signifies the type of a MIDINotification.
- MIDI
Object AddRemove Notification MIDIServices - A message describing the addition or removal of an object.
- MIDI
Object Property Change Notification MIDIServicesandobjc2-core-foundation - A message describing the addition or removal of an object.
- MIDI
Object Type MIDIServices - Signifies the type of a MIDIObject.
- MIDI
Packet MIDIServices - A collection of simultaneous MIDI events.
- MIDI
Packet List MIDIServices - A list of MIDI events being received from, or being sent to, one endpoint.
- MIDI
PerNote Management Options MIDIMessages - Apple’s documentation
- MIDI
Program Change Options MIDIMessages - Apple’s documentation
- MIDI
ProtocolID MIDIServices - Specifies a MIDI protocol variant.
- MIDI
SysEx Status MIDIMessages - Apple’s documentation
- MIDI
Sysex Send Request MIDIServices - A request to transmit a system-exclusive event.
- MIDI
Sysex Send RequestUMP MIDIServices - A request to transmit a UMP system-exclusive event.
- MIDI
System Status MIDIMessages - Apple’s documentation
- MIDI
Thru Connection Endpoint MIDIServicesandMIDIThruConnection - Describes a source or destination in a MIDIThruConnection.
- MIDI
Thru Connection Params MIDIServicesandMIDIThruConnection - Describes a set of MIDI routings and transformations.
- MIDI
Transform MIDIThruConnection - Describes how a single type of MIDI event is transformed.
- MIDI
Transform Control Type MIDIThruConnection - Specifies how control numbers are interpreted.
- MIDI
Transform Type MIDIThruConnection - Values specifying a type of MIDI transformation, as found in the transform member of MIDITransform.
- MIDIUMPCI
Object Backing Type MIDIUMPCI - The underlying transport / backing device type variants.
- MIDIUMPCI
Profile MIDIUMPCIProfileandobjc2 - An object representing Capability Inquiry Profile on a MIDICIDevice.
- MIDIUMP
Endpoint MIDIUMPEndpointandobjc2 - An object representating a UMP Endpoint.
- MIDIUMP
Endpoint Manager MIDIUMPEndpointManagerandobjc2 - A singleton object that performs system-wide UMP Endpoint bookkeeping.
- MIDIUMP
Function Block MIDIUMPFunctionBlockandobjc2 - An object representing a Function Block.
- MIDIUMP
Function Block Direction MIDIMessages - Function Block direction types
- MIDIUMP
Function BlockMID I1Info MIDIMessages - MIDI 1.0 speed information for Function Blocks
- MIDIUMP
Function BlockUI Hint MIDIMessages - UI hint types for Function Blocks
- MIDIUMP
Mutable Endpoint MIDIUMPEndpointandMIDIUMPMutableEndpointandobjc2 - A mutable MIDIUMPEndpoint object.
- MIDIUMP
Mutable Function Block MIDIUMPFunctionBlockandMIDIUMPMutableFunctionBlockandobjc2 - A mutable Function Block object created by the client process.
- MIDIUMP
Protocol Options MIDIMessagesandMIDIUMPEndpoint - The UMP protocols that can be supported by a UMP endpoint.
- MIDI
Universal Message MIDIMessages - A representation of all possible messages stored in a Universal MIDI packet.
- MIDI
Utility Status MIDIMessages - Apple’s documentation
- MIDI
Value Map MIDIThruConnection - A custom mapping function to transform MIDI 7-bit values, as contained in note numbers, velocities, control values, etc. y = value[x], where x is the input MIDI value, y the output.
- UMPStream
Message Format MIDIMessages - Stream Message Format
- UMPStream
Message Status MIDIMessages - Apple’s documentation
Constants§
- kMIDIID
NotUnique MIDIServices - Apple’s documentation
- kMIDI
Invalid Client MIDIServices - Apple’s documentation
- kMIDI
Invalid Port MIDIServices - Apple’s documentation
- kMIDI
Invalid UniqueID MIDIServices - Apple’s documentation
- kMIDI
Message Send Err MIDIServices - Apple’s documentation
- kMIDI
NoConnection MIDIServices - Apple’s documentation
- kMIDI
NoCurrent Setup MIDIServices - Apple’s documentation
- kMIDI
NotPermitted MIDIServices - Apple’s documentation
- kMIDI
Object NotFound MIDIServices - Apple’s documentation
- kMIDI
Server Start Err MIDIServices - Apple’s documentation
- kMIDI
Setup Format Err MIDIServices - Apple’s documentation
- kMIDI
Thru Connection_ MaxEndpoints MIDIThruConnection - Apple’s documentation
- kMIDI
Unknown Endpoint MIDIServices - Apple’s documentation
- kMIDI
Unknown Error MIDIServices - Apple’s documentation
- kMIDI
Unknown Property MIDIServices - Apple’s documentation
- kMIDI
Wrong Endpoint Type MIDIServices - Apple’s documentation
- kMIDI
Wrong Property Type MIDIServices - Apple’s documentation
- kMIDI
Wrong Thread MIDIServices - Apple’s documentation
Statics§
- MIDICI
Device ⚠Object Key MIDICIDeviceManagerandobjc2-foundation - Value is an MIDIUMPEndpoint.
- MIDICI
Device ⚠WasAdded Notification MIDICIDeviceManagerandobjc2-foundation - A notification posted when a MIDI-CI Device has been added to the subsystem.
- MIDICI
Device ⚠WasRemoved Notification MIDICIDeviceManagerandobjc2-foundation - A notification posted when a MIDI-CI Device has been removed or has had its MUID invalidated.
- MIDICI
Profile ⚠Object Key MIDICIDeviceManagerandobjc2-foundation - Value is an MIDIUMPCIProfile
- MIDICI
Profile ⚠WasRemoved Notification MIDICIDeviceManagerandobjc2-foundation - A notification posted when a MIDI-CI Device has been removed.
- MIDICI
Profile ⚠WasUpdated Notification MIDICIDeviceManagerandobjc2-foundation - A notification posted when a MIDI-CI Device has been enabled/disabled or updated.
- MIDI
Channels Whole Port MIDICapabilityInquiryandMIDIMessages - An outdated MIDI-CI constant indicating “the whole port”, i.e. all channels.
- MIDI
Network ⚠Bonjour Service Type MIDINetworkSessionandobjc2-foundation - Apple’s documentation
- MIDI
Network ⚠Notification Contacts DidChange MIDINetworkSessionandobjc2-foundation - Apple’s documentation
- MIDI
Network ⚠Notification Session DidChange MIDINetworkSessionandobjc2-foundation - Apple’s documentation
- MIDIUMP
Endpoint ⚠Object Key MIDIUMPEndpointManagerandobjc2-foundation - Value is a MIDIUMPEndpoint
- MIDIUMP
Endpoint ⚠WasAdded Notification MIDIUMPEndpointManagerandobjc2-foundation - A notification posted when a MIDI UMP Endpoint has been added to the subsystem.
- MIDIUMP
Endpoint ⚠WasRemoved Notification MIDIUMPEndpointManagerandobjc2-foundation - A notification posted when a MIDI UMP Endpoint has been removed from the subsystem.
- MIDIUMP
Endpoint ⚠WasUpdated Notification MIDIUMPEndpointManagerandobjc2-foundation - A notification posted when an UMP endpoint updates its stream configuration or changes the state of one of its Function Blocks.
- MIDIUMP
Function ⚠Block Object Key MIDIUMPEndpointManagerandobjc2-foundation - Value is a MIDIUMPFunctionBlock
- MIDIUMP
Function ⚠Block WasUpdated Notification MIDIUMPEndpointManagerandobjc2-foundation - A notification posted when a Function Block is updated.
- kMID
I1UP MaxSysex Size MIDIMessages - Apple’s documentation
- kMIDICI
Property Exchange BadRequestID MIDIUMPCI - Returned when MIDI-CI Property Messages were not dispatched due to an error.
- kMIDI
DeviceID Function Block MIDIMessages - Device ID used for to/from Function Block; also used when Function Blocks are not supported.
- kMIDI
DeviceIDUMP Group MIDIMessages - Device ID value used to specify that a message is to/from a UMP group.
- kMIDI
Driver ⚠Property Uses Serial MIDIDriverandobjc2-core-foundation - This constant, “MIDIDriverUsesSerial”, when defined to “YES” in a driver’s bundle, tells MIDIServer that the driver uses serial ports and is eligible to have serial ports assigned to it.
- kMIDI
Object Type_ External Mask MIDIServices - Apple’s documentation
- kMIDI
Property ⚠Advance Schedule Time MuSec MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, integer
- kMIDI
Property ⚠Associated Endpoint MIDIServicesandobjc2-core-foundation - constant kMIDIPropertyAssociatedEndpoint
- kMIDI
Property ⚠CanRoute MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity can route MIDI messages to or from other external MIDI devices (as with MIDI patch bays). This should NOT be set on devices which are controlled by drivers.
- kMIDI
Property ⚠Connection UniqueID MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, integer or CFDataRef
- kMIDI
Property ⚠DeviceID MIDIServicesandobjc2-core-foundation - device/entity property, integer
- kMIDI
Property ⚠Display Name MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, string.
- kMIDI
Property ⚠Driver Device Editor App MIDIServicesandobjc2-core-foundation - device property, string, contains the full path to an application which knows how to configure this driver-owned devices. Drivers may set this property on their owned devices. Applications must not write to it.
- kMIDI
Property ⚠Driver Owner MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, string
- kMIDI
Property ⚠Driver Version MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, integer, returns the driver version API of the owning driver (only for driver- owned devices). Drivers need not set this property; applications should not write to it.
- kMIDI
Property ⚠Factory Patch Name File Deprecated MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, CFData containing AliasHandle.
- kMIDI
Property ⚠Image MIDIServicesandobjc2-core-foundation - device property, CFStringRef which is a full POSIX path to a device or external device’s icon, stored in any standard graphic file format such as JPEG, GIF, PNG and TIFF are all acceptable. (See CFURL for functions to convert between POSIX paths and other ways of specifying files.) The image’s maximum size should be 128x128.
- kMIDI
Property ⚠IsBroadcast MIDIServicesandobjc2-core-foundation - entity/endpoint property, integer
- kMIDI
Property ⚠IsDrum Machine MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity’s sound presets tend to be collections of non-transposable samples (e.g. drum kits).
- kMIDI
Property ⚠IsEffect Unit MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity is primarily a MIDI-controlled audio effect unit (i.e. does not generate sound on its own).
- kMIDI
Property ⚠IsEmbedded Entity MIDIServicesandobjc2-core-foundation - entity/endpoint property, integer
- kMIDI
Property ⚠IsMixer MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity mixes external audio signals, controlled by MIDI messages.
- kMIDI
Property ⚠IsSampler MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity plays audio samples in response to MIDI note messages.
- kMIDI
Property ⚠Manufacturer MIDIServicesandobjc2-core-foundation - device/endpoint property, string
- kMIDI
Property ⚠MaxReceive Channels MIDIServicesandobjc2-core-foundation - device/entity property, integer (0-16). Indicates the maximum number of MIDI channels on which a device may simultaneously receive MIDI Channel Messages. Common values are 0 (devices which only respond to System Messages), 1 (non-multitimbral devices), and 16 (fully multitimbral devices). Other values are possible, for example devices which are multi-timbral but have fewer than 16 “parts”.
- kMIDI
Property ⚠MaxSys ExSpeed MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, integer
- kMIDI
Property ⚠MaxTransmit Channels MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates the maximum number of MIDI channels on which a device may simultaneously transmit MIDI Channel Messages. Common values are 0, 1 and 16.
- kMIDI
Property ⚠Model MIDIServicesandobjc2-core-foundation - device/endpoint property, string
- kMIDI
Property ⚠Name MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, string
- kMIDI
Property ⚠Name Configuration Deprecated MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, CFDictionary
- kMIDI
Property ⚠Name Configuration Dictionary MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, CFDictionary
- kMIDI
Property ⚠Offline MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, integer
- kMIDI
Property ⚠PanDisrupts Stereo MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the MIDI pan messages (control 10), when sent to the device or entity, cause undesirable effects when playing stereo sounds (e.g. converting the signal to mono).
- kMIDI
Property ⚠Private MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, integer
- kMIDI
Property ⚠ProtocolID MIDIServicesandobjc2-core-foundation - constant kMIDIPropertyProtocolID
- kMIDI
Property ⚠Receive Channels MIDIServicesandobjc2-core-foundation - endpoint property, integer
- kMIDI
Property ⚠Receives Bank SelectLSB MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI bank select LSB messages (control 32).
- kMIDI
Property ⚠Receives Bank SelectMSB MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI bank select MSB messages (control 0).
- kMIDI
Property ⚠Receives Clock MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI beat clock messages.
- kMIDI
Property ⚠ReceivesMTC MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI Time Code messages.
- kMIDI
Property ⚠Receives Notes MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI Note On messages.
- kMIDI
Property ⚠Receives Program Changes MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI program change messages.
- kMIDI
Property ⚠Single Realtime Entity MIDIServicesandobjc2-core-foundation - device property, integer
- kMIDI
Property ⚠Supports GeneralMIDI MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity implements the General MIDI specification.
- kMIDI
Property ⚠SupportsMMC MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity implements the MIDI Machine Control portion of the MIDI specification.
- kMIDI
Property ⚠Supports Show Control MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device implements the MIDI Show Control specification.
- kMIDI
Property ⚠Transmit Channels MIDIServicesandobjc2-core-foundation - endpoint property, integer
- kMIDI
Property ⚠Transmits Bank SelectLSB MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI bank select LSB messages (control 32).
- kMIDI
Property ⚠Transmits Bank SelectMSB MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI bank select MSB messages (control 0).
- kMIDI
Property ⚠Transmits Clock MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI beat clock messages.
- kMIDI
Property ⚠TransmitsMTC MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI Time Code messages.
- kMIDI
Property ⚠Transmits Notes MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI note messages.
- kMIDI
Property ⚠Transmits Program Changes MIDIServicesandobjc2-core-foundation - device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI program change messages.
- kMIDI
PropertyUMP ⚠Active Group Bitmap MIDIServicesandobjc2-core-foundation - constant kMIDIPropertyUMPActiveGroupBitmap
- kMIDI
PropertyUMP ⚠CanTransmit Groupless MIDIServicesandobjc2-core-foundation - constant kMIDIPropertyUMPCanTransmitGroupless
- kMIDI
Property ⚠UniqueID MIDIServicesandobjc2-core-foundation - devices, entities, endpoints all have unique ID’s, integer
- kMIDI
Property ⚠User Patch Name File Deprecated MIDIServicesandobjc2-core-foundation - device/entity/endpoint property, CFData containing AliasHandle
- kMIDIU
Integer2 Max MIDIMessages - 28 bits usable; allowed values 0x0~0xFFFFFFF;
- kMIDIU
Integer4 Max MIDIMessages - Apple’s documentation
- kMIDIU
Integer7 Max MIDIMessages - Apple’s documentation
- kMIDIU
Integer14 Max MIDIMessages - Apple’s documentation
- kMIDIU
Integer28 Max MIDIMessages - Apple’s documentation
Traits§
- MIDICI
Profile Responder Delegate Deprecated MIDICapabilityInquiryandobjc2 - Apple’s documentation
Functions§
- MIDI
Bluetooth ⚠Driver Activate AllConnections MIDIBluetoothConnection - Promotes all active CoreBluetooth connections to peripherals’ Bluetooth LE MIDI service into online MIDI devices capable of I/O.
- MIDI
Bluetooth ⚠Driver Disconnect MIDIBluetoothConnectionandobjc2-core-foundation - Disconnects the Bluetooth MIDI driver from a BLE MIDI peripheral.
- MIDI
Client ⚠Create MIDIServicesandobjc2-core-foundation - Creates a MIDIClient object.
- MIDI
Client ⚠Create With Block MIDIServicesandblock2andobjc2-core-foundation - Creates a MIDIClient object.
- MIDI
Client ⚠Dispose MIDIServices - Disposes a MIDIClient object.
- MIDI
Destination ⚠Create Deprecated MIDIServicesandobjc2-core-foundation - Creates a virtual destination in a client.
- MIDI
Destination ⚠Create With Block Deprecated MIDIServicesandblock2andobjc2-core-foundation - Creates a virtual destination in a client.
- MIDI
Destination ⚠Create With Protocol MIDIServicesandblock2andobjc2-core-foundation - Creates a virtual destination in a client.
- MIDI
Device ⚠AddEntity Deprecated MIDIServicesandMIDISetupandobjc2-core-foundation - Drivers call this function to specify one of the entities that comprise a device.
- MIDI
Device ⚠Create MIDIDriverandMIDIServicesandobjc2-core-foundation - Drivers call this function to create new MIDIDevice objects corresponding to the hardware that is present.
- MIDI
Device ⚠Dispose MIDIDriverandMIDIServices - Drivers may call this function to dispose MIDIDevice objects which have not yet been added to the system via MIDISetupAddDevice. Once a device has been added to the system with MIDISetupAddDevice, the driver must not use this call to destroy it; it must use MIDISetupRemoveDevice to do so.
- MIDI
Device ⚠GetEntity MIDIServices - Returns one of a given device’s entities.
- MIDI
Device ⚠GetNumber OfEntities MIDIServices - Returns the number of entities in a given device.
- MIDI
Device ⚠List AddDevice MIDIDriverandMIDIServices - Add a device to a device list.
- MIDI
Device ⚠List Dispose MIDIDriverandMIDIServices - Dispose a device list, but not the contained devices.
- MIDI
Device ⚠List GetDevice MIDIDriverandMIDIServices - Return one of the devices in a device list.
- MIDI
Device ⚠List GetNumber OfDevices MIDIDriverandMIDIServices - Returns the number of devices in a device list.
- MIDI
Device ⚠NewEntity MIDIServicesandMIDISetupandobjc2-core-foundation - Drivers call this function to specify one of the entities that comprise a device.
- MIDI
Device ⚠Remove Entity MIDIServicesandMIDISetup - Drivers may call this function to remove one of a device’s entities.
- MIDI
Driver ⚠Enable Monitoring MIDIDriver - A driver may make this call to have MIDIServer pass it every outgoing MIDI packet, to all destinations in the system (not just those controlled by itself).
- MIDI
Endpoint ⚠Dispose MIDIServices - Disposes a virtual source or destination your client created.
- MIDI
Endpoint ⚠GetEntity MIDIServices - Returns an endpoint’s entity.
- MIDI
Endpoint ⚠GetRef Cons MIDIDriverandMIDIServices - Obtain the refCons assigned to the endpoints
- MIDI
Endpoint ⚠SetRef Cons MIDIDriverandMIDIServices - Drivers need an efficient way to translate from a MIDIEndpoint (source or destination) to their own internal data structures corresponding to that endpoint. This function provides a way for the driver to assign its own refCons to endpoints.
- MIDI
Entity ⚠AddOr Remove Endpoints MIDIServicesandMIDISetup - Drivers and configuration editors may call this function to add to or remove an entity’s endpoints.
- MIDI
Entity ⚠GetDestination MIDIServices - Returns one of a given entity’s destinations.
- MIDI
Entity ⚠GetDevice MIDIServices - Returns an entity’s device.
- MIDI
Entity ⚠GetNumber OfDestinations MIDIServices - Returns the number of destinations in a given entity.
- MIDI
Entity ⚠GetNumber OfSources MIDIServices - Returns the number of sources in a given entity.
- MIDI
Entity ⚠GetSource MIDIServices - Returns one of a given entity’s sources.
- MIDI
Event ⚠List Add Deprecated MIDIServices - MIDI
Event ⚠List ForEach Event Deprecated MIDIMessagesandMIDIServices - MIDI
Event ⚠List Init Deprecated MIDIServices - MIDI
Event ⚠Packet Sysex Bytes ForGroup Deprecated MIDIServicesandobjc2-core-foundation - MIDI
External ⚠Device Create MIDIServicesandMIDISetupandobjc2-core-foundation - Create a new external MIDI device.
- MIDI
Flush ⚠Output MIDIServices - Unschedules previously-sent packets.
- MIDI
GetDestination ⚠MIDIServices - Returns one of the destinations in the system.
- MIDI
GetDevice ⚠MIDIServices - Returns one of the devices in the system.
- MIDI
GetDriver ⚠Device List MIDIDriverandMIDIServices - Returns the list of devices which are in the current MIDISetup and which were created/owned by the specified driver.
- MIDI
GetDriverIO ⚠RunLoop MIDIDriverandobjc2-core-foundation - Drivers typically need to receive asynchronous I/O completion callbacks on a high-priority thread. To save drivers from the trouble of creating their own threads for this purpose, and to make efficient use of system resources, the MIDIServer provides a thread which drivers may use.
- MIDI
GetExternal ⚠Device MIDIServices - Returns one of the external devices in the system.
- MIDI
GetNumber ⚠OfDestinations MIDIServices - Returns the number of destinations in the system.
- MIDI
GetNumber ⚠OfDevices MIDIServices - Returns the number of devices in the system.
- MIDI
GetNumber ⚠OfExternal Devices MIDIServices - Returns the number of external MIDI devices in the system.
- MIDI
GetNumber ⚠OfSources MIDIServices - Returns the number of sources in the system.
- MIDI
GetSerial ⚠Port Drivers Deprecated MIDISetupandobjc2-core-foundation - Returns a list of installed MIDI drivers for serial port MIDI devices.
- MIDI
GetSerial ⚠Port Owner Deprecated MIDISetupandobjc2-core-foundation - Returns the MIDI driver that owns a serial port.
- MIDI
GetSource ⚠MIDIServices - Returns one of the sources in the system.
- MIDI
Input ⚠Port Create Deprecated MIDIServicesandobjc2-core-foundation - Creates an input port through which the client may receive incoming MIDI messages from any MIDI source.
- MIDI
Input ⚠Port Create With Block Deprecated MIDIServicesandblock2andobjc2-core-foundation - Creates an input port through which the client may receive incoming MIDI messages from any MIDI source.
- MIDI
Input ⚠Port Create With Protocol MIDIServicesandblock2andobjc2-core-foundation - Creates an input port through which the client may receive incoming MIDI messages from any MIDI source.
- MIDI
Object ⚠Find ByUniqueID MIDIServices - Locates a device, external device, entity, or endpoint by its uniqueID.
- MIDI
Object ⚠GetData Property MIDIServicesandobjc2-core-foundation - Gets an object’s data-type property.
- MIDI
Object ⚠GetDictionary Property MIDIServicesandobjc2-core-foundation - Gets an object’s dictionary-type property.
- MIDI
Object ⚠GetInteger Property MIDIServicesandobjc2-core-foundation - Gets an object’s integer-type property.
- MIDI
Object ⚠GetProperties MIDIServicesandobjc2-core-foundation - Gets all of an object’s properties.
- MIDI
Object ⚠GetString Property MIDIServicesandobjc2-core-foundation - Gets an object’s string-type property.
- MIDI
Object ⚠Remove Property MIDIServicesandobjc2-core-foundation - Removes an object’s property.
- MIDI
Object ⚠SetData Property MIDIServicesandobjc2-core-foundation - Sets an object’s data-type property.
- MIDI
Object ⚠SetDictionary Property MIDIServicesandobjc2-core-foundation - Sets an object’s dictionary-type property.
- MIDI
Object ⚠SetInteger Property MIDIServicesandobjc2-core-foundation - Sets an object’s integer-type property.
- MIDI
Object ⚠SetString Property MIDIServicesandobjc2-core-foundation - Sets an object’s string-type property.
- MIDI
Output ⚠Port Create MIDIServicesandobjc2-core-foundation - Creates an output port through which the client may send outgoing MIDI messages to any MIDI destination.
- MIDI
Packet ⚠List Add Deprecated MIDIServices - MIDI
Packet ⚠List Init Deprecated MIDIServices - MIDI
Port ⚠Connect Source MIDIServices - Establishes a connection from a source to a client’s input port.
- MIDI
Port ⚠Disconnect Source MIDIServices - Closes a previously-established source-to-input port connection.
- MIDI
Port ⚠Dispose MIDIServices - Disposes a MIDIPort object.
- MIDI
Received ⚠Deprecated MIDIServices - Distributes incoming MIDI from a source to the client input ports which are connected to that source.
- MIDI
Received ⚠Event List MIDIServices - Distributes incoming MIDI from a source to the client input ports which are connected to that source.
- MIDI
Restart ⚠MIDIServices - Stops and restarts MIDI I/O.
- MIDI
Send ⚠Deprecated MIDIServices - Sends MIDI to a destination.
- MIDI
Send ⚠Event List MIDIServices - Sends MIDI to a destination.
- MIDI
Send ⚠Sysex MIDIServices - Sends a single system-exclusive event, asynchronously.
- MIDI
SendUMP ⚠Sysex MIDIServices - Sends a single UMP system-exclusive event, asynchronously.
- MIDI
SendUMP ⚠Sysex8 MIDIServices - Sends single system-exclusive 8-bit event, asynchronously.
- MIDI
SetSerial ⚠Port Owner Deprecated MIDISetupandobjc2-core-foundation - Specifies the MIDI driver that owns a serial port.
- MIDI
Setup ⚠AddDevice MIDIServicesandMIDISetup - Adds a driver-owner MIDI device to the current MIDISetup
- MIDI
Setup ⚠AddExternal Device MIDIServicesandMIDISetup - Adds an external MIDI device to the current MIDISetup
- MIDI
Setup ⚠Create Deprecated MIDIServicesandMIDISetup - Interrogates drivers, to discover what hardware is present.
- MIDI
Setup ⚠Dispose Deprecated MIDIServicesandMIDISetup - Dispose a MIDISetup object.
- MIDI
Setup ⚠From Data Deprecated MIDIServicesandMIDISetupandobjc2-core-foundation - Create a MIDISetup object from an XML stream.
- MIDI
Setup ⚠GetCurrent Deprecated MIDIServicesandMIDISetup - Return the system’s current MIDISetup.
- MIDI
Setup ⚠Install Deprecated MIDIServicesandMIDISetup - Install a MIDISetup as the system’s current state.
- MIDI
Setup ⚠Remove Device MIDIServicesandMIDISetup - Removes a driver-owned MIDI device from the current MIDISetup
- MIDI
Setup ⚠Remove External Device MIDIServicesandMIDISetup - Removes an external MIDI device from the current MIDISetup
- MIDI
Setup ⚠ToData Deprecated MIDIServicesandMIDISetupandobjc2-core-foundation - Create an XML representation of a MIDISetup object.
- MIDI
Source ⚠Create Deprecated MIDIServicesandobjc2-core-foundation - Creates a virtual source in a client.
- MIDI
Source ⚠Create With Protocol MIDIServicesandobjc2-core-foundation - Creates a virtual source in a client.
- MIDI
Thru ⚠Connection Create MIDIServicesandMIDIThruConnectionandobjc2-core-foundation - Creates a thru connection.
- MIDI
Thru ⚠Connection Dispose MIDIServicesandMIDIThruConnection - Disposes a thru connection.
- MIDI
Thru ⚠Connection Find MIDIThruConnectionandobjc2-core-foundation - Returns all of the persistent thru connections created by a client.
- MIDI
Thru ⚠Connection GetParams MIDIServicesandMIDIThruConnectionandobjc2-core-foundation - Obtains a thru connection’s MIDIThruConnectionParams.
- MIDI
Thru ⚠Connection Params Initialize Deprecated MIDIServicesandMIDIThruConnection - MIDI
Thru ⚠Connection SetParams MIDIServicesandMIDIThruConnectionandobjc2-core-foundation - Alters a thru connection’s MIDIThruConnectionParams.
Type Aliases§
- MIDICI
DeviceID MIDIMessages - Some MIDI-CI messages use a CI device ID, which is either a UMP group or a reserved 7-bit value
- MIDICI
Device Manager Dictionary Key MIDICIDeviceManagerandobjc2-foundation - Apple’s documentation
- MIDICI
Discovery Response Block Deprecated MIDICapabilityInquiryandblock2andobjc2andobjc2-foundation - Apple’s documentation
- MIDICI
InitiatiorMUID MIDICapabilityInquiryandobjc2-foundation - Apple’s documentation
- MIDICIMUID
MIDIMessages - The unique MIDI-CI negotiation identifier (MUID) used for a MIDICIResponder connection. Per the MIDI-CI specification, this is a randomly assigned unsigned 28-bit integer.
- MIDICI
Profile Changed Block Deprecated MIDICapabilityInquiryandMIDIMessagesandblock2andobjc2 - Apple’s documentation
- MIDICI
Profile Specific Data Block Deprecated MIDICapabilityInquiryandMIDIMessagesandblock2andobjc2andobjc2-foundation - Apple’s documentation
- MIDICI
Profile State List MIDICapabilityInquiryandobjc2andobjc2-foundation - Apple’s documentation
- MIDICI
Property Exchange RequestID MIDIUMPCI - The request ID associated with a Property Exchange request.
- MIDICI
Session Disconnect Block Deprecated MIDICapabilityInquiryandblock2andobjc2andobjc2-foundation - Apple’s documentation
- MIDI
Channel Number MIDIMessages - MIDI Channel, 0~15 (channels 1 through 16, respectively). Per the MIDI-CI specification, this is always a single nibble, 0x0~0xF.
- MIDI
Client Ref MIDIServices - An object maintaining per-client state.
- MIDI
Completion Proc MIDIServices - A function called when a system-exclusive event has been completely sent.
- MIDI
Completion ProcUMP MIDIServices - A function called when a UMP system-exclusive or system-exclusive 8-bit event has been completely sent.
- MIDI
Device List Ref MIDIDriverandMIDIServices - A MIDIDeviceListRef is a list of MIDIDeviceRef’s. The devices are not owned by the list (i.e., disposing the list does not dispose the devices it references).
- MIDI
Device Ref MIDIServices - A MIDI device or external device, containing entities.
- MIDI
Driver Ref MIDIDriver - Points to a pointer to a MIDIDriverInterface, a CFPlugIn structure (defined in MIDIDriver.h) containing function pointers for the driver’s methods. Only the MIDIServer may call a driver’s methods.
- MIDI
Endpoint Ref MIDIServices - A MIDI source or destination, owned by an entity.
- MIDI
Entity Ref MIDIServices - A MIDI entity, owned by a device, containing endpoints.
- MIDI
Event Visitor MIDIMessagesandMIDIServices - A callback function which receives a single MIDIUniversalMessage.
- MIDI
Message_ 32 MIDIMessages - Apple’s documentation
- MIDI
Notify Block MIDIServicesandblock2 - A callback block for notifying clients of state changes.
- MIDI
Notify Proc MIDIServices - A callback function for notifying clients of state changes.
- MIDI
Object Ref MIDIServices - The base class of many CoreMIDI objects.
- MIDI
Port Ref MIDIServices - A MIDI connection port owned by a client.
- MIDI
Read Block Deprecated MIDIServicesandblock2 - A block receiving MIDI input.
- MIDI
Read Proc Deprecated MIDIServices - A function receiving MIDI input.
- MIDI
Receive Block MIDIServicesandblock2 - A block receiving MIDI input.
- MIDI
Setup Ref MIDIServicesandMIDISetup - Derives from MIDIObjectRef, does not have an owner object.
- MIDI
Thru Connection Ref MIDIServicesandMIDIThruConnection - An opaque reference to a play-through connection.
- MIDI
Time Stamp MIDIServices - A host clock time.
- MIDIU
Integer2 MIDIMessages - MIDI unsigned integer types
- MIDIU
Integer4 MIDIMessages - 2 bits usable; allowed values 0x0~0x3
- MIDIU
Integer7 MIDIMessages - 4 bits usable; allowed values 0x0~0xF
- MIDIU
Integer14 MIDIMessages - 7 bits usable; allowed values 0x0~0x7F
- MIDIU
Integer28 MIDIMessages - 14 bits usable; allowed values 0x0~0x3FFF;
- MIDIUMP
Endpoint Manager Dictionary Key MIDIUMPEndpointManagerandobjc2-foundation - Apple’s documentation
- MIDIUMP
Function BlockID MIDIMessagesandMIDIUMPCI - The device-unique Function Block ID.
- MIDIUMP
Group Number MIDIMessages - Type for all UMP Groups
- MIDI
UniqueID MIDIServices - A unique identifier for a MIDIObjectRef.
Unions§
- MIDICI
ProfileID MIDIMessagesandMIDIUMPCI - A C-style struct containing the profile ID.