Crate objc2_core_midi

Crate objc2_core_midi 

Source
Expand description

§Bindings to the CoreMIDI framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

MIDI2DeviceInfoMIDIUMPEndpoint and objc2
An NSObject containing basic information about a MIDI 2.0 device. Used by MIDIUMPEndpointPair and MIDICIDevice.
MIDI2DeviceManufacturerMIDIUMPCI
Apple’s documentation
MIDI2DeviceRevisionLevelMIDIUMPCI
Apple’s documentation
MIDICICategoryOptionsMIDIMessages and MIDIUMPCI
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
MIDICIDeviceMIDICIDevice and objc2
An object representing a MIDI-CI Device.
MIDICIDeviceIdentificationMIDICapabilityInquiry
Apple’s documentation
MIDICIDeviceInfoDeprecatedMIDICapabilityInquiry and objc2
Apple’s documentation
MIDICIDeviceManagerMIDICIDeviceManager and objc2
A singleton object that performs system-wide MIDI-CI Device bookkeeping.
MIDICIDeviceTypeMIDIUMPCI
Apple’s documentation
MIDICIDiscoveredNodeDeprecatedMIDICapabilityInquiry and objc2
Apple’s documentation
MIDICIDiscoveryManagerDeprecatedMIDICapabilityInquiry and objc2
Apple’s documentation
MIDICIManagementMessageTypeMIDIMessages and MIDIUMPCI
MIDI-CI Management sub-ID values.
MIDICIProcessInquiryMessageTypeMIDIMessages and MIDIUMPCI
MIDI-CI Process Inquiry sub-ID values.
MIDICIProfileMIDICapabilityInquiry and objc2
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.
MIDICIProfileIDManufacturerSpecificMIDIMessages and MIDIUMPCI
A C-style struct containing a Manufacturer Specific profile ID.
MIDICIProfileIDStandardMIDIMessages and MIDIUMPCI
A C-style struct containing a standard profile ID.
MIDICIProfileMessageTypeMIDIMessages and MIDIUMPCI
MIDI-CI Profile message sub-ID values.
MIDICIProfileStateMIDICapabilityInquiry and objc2
Apple’s documentation
MIDICIProfileTypeMIDIUMPCI
MIDI-CI Profile variants.
MIDICIPropertyExchangeMessageTypeMIDIMessages and MIDIUMPCI
MIDI-CI Property Exchange Message sub-ID values.
MIDICIResponderDeprecatedMIDICapabilityInquiry and objc2
Apple’s documentation
MIDICISessionDeprecatedMIDICapabilityInquiry and objc2
Apple’s documentation
MIDICVStatusMIDIMessages
Apple’s documentation
MIDIControlTransformMIDIThruConnection
Describes a transformation of MIDI control change events.
MIDIDriverInterfaceMIDIDriver and MIDIServices and objc2-core-foundation
The COM-style interface to a MIDI driver.
MIDIEventListMIDIServices
A variable-length list of MIDIEventPackets.
MIDIEventPacketMIDIServices
A series of simultaneous MIDI events in UMP format.
MIDIIOErrorNotificationMIDIServices
Apple’s documentation
MIDIMessageTypeMIDIMessages
Apple’s documentation
MIDIMessage_64MIDIMessages
Apple’s documentation
MIDIMessage_96MIDIMessages
Apple’s documentation
MIDIMessage_128MIDIMessages
Apple’s documentation
MIDINetworkConnectionMIDINetworkSession and objc2
Apple’s documentation
MIDINetworkConnectionPolicyMIDINetworkSession and objc2
Apple’s documentation
MIDINetworkHostMIDINetworkSession and objc2
Apple’s documentation
MIDINetworkSessionMIDINetworkSession and objc2
Apple’s documentation
MIDINoteAttributeMIDIMessages
Apple’s documentation
MIDINotificationMIDIServices
A message describing a system state change.
MIDINotificationMessageIDMIDIServices
Signifies the type of a MIDINotification.
MIDIObjectAddRemoveNotificationMIDIServices
A message describing the addition or removal of an object.
MIDIObjectPropertyChangeNotificationMIDIServices and objc2-core-foundation
A message describing the addition or removal of an object.
MIDIObjectTypeMIDIServices
Signifies the type of a MIDIObject.
MIDIPacketMIDIServices
A collection of simultaneous MIDI events.
MIDIPacketListMIDIServices
A list of MIDI events being received from, or being sent to, one endpoint.
MIDIPerNoteManagementOptionsMIDIMessages
Apple’s documentation
MIDIProgramChangeOptionsMIDIMessages
Apple’s documentation
MIDIProtocolIDMIDIServices
Specifies a MIDI protocol variant.
MIDISysExStatusMIDIMessages
Apple’s documentation
MIDISysexSendRequestMIDIServices
A request to transmit a system-exclusive event.
MIDISysexSendRequestUMPMIDIServices
A request to transmit a UMP system-exclusive event.
MIDISystemStatusMIDIMessages
Apple’s documentation
MIDIThruConnectionEndpointMIDIServices and MIDIThruConnection
Describes a source or destination in a MIDIThruConnection.
MIDIThruConnectionParamsMIDIServices and MIDIThruConnection
Describes a set of MIDI routings and transformations.
MIDITransformMIDIThruConnection
Describes how a single type of MIDI event is transformed.
MIDITransformControlTypeMIDIThruConnection
Specifies how control numbers are interpreted.
MIDITransformTypeMIDIThruConnection
Values specifying a type of MIDI transformation, as found in the transform member of MIDITransform.
MIDIUMPCIObjectBackingTypeMIDIUMPCI
The underlying transport / backing device type variants.
MIDIUMPCIProfileMIDIUMPCIProfile and objc2
An object representing Capability Inquiry Profile on a MIDICIDevice.
MIDIUMPEndpointMIDIUMPEndpoint and objc2
An object representating a UMP Endpoint.
MIDIUMPEndpointManagerMIDIUMPEndpointManager and objc2
A singleton object that performs system-wide UMP Endpoint bookkeeping.
MIDIUMPFunctionBlockMIDIUMPFunctionBlock and objc2
An object representing a Function Block.
MIDIUMPFunctionBlockDirectionMIDIMessages
Function Block direction types
MIDIUMPFunctionBlockMIDI1InfoMIDIMessages
MIDI 1.0 speed information for Function Blocks
MIDIUMPFunctionBlockUIHintMIDIMessages
UI hint types for Function Blocks
MIDIUMPMutableEndpointMIDIUMPEndpoint and MIDIUMPMutableEndpoint and objc2
A mutable MIDIUMPEndpoint object.
MIDIUMPMutableFunctionBlockMIDIUMPFunctionBlock and MIDIUMPMutableFunctionBlock and objc2
A mutable Function Block object created by the client process.
MIDIUMPProtocolOptionsMIDIMessages and MIDIUMPEndpoint
The UMP protocols that can be supported by a UMP endpoint.
MIDIUniversalMessageMIDIMessages
A representation of all possible messages stored in a Universal MIDI packet.
MIDIUtilityStatusMIDIMessages
Apple’s documentation
MIDIValueMapMIDIThruConnection
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.
UMPStreamMessageFormatMIDIMessages
Stream Message Format
UMPStreamMessageStatusMIDIMessages
Apple’s documentation

Constants§

kMIDIIDNotUniqueMIDIServices
Apple’s documentation
kMIDIInvalidClientMIDIServices
Apple’s documentation
kMIDIInvalidPortMIDIServices
Apple’s documentation
kMIDIInvalidUniqueIDMIDIServices
Apple’s documentation
kMIDIMessageSendErrMIDIServices
Apple’s documentation
kMIDINoConnectionMIDIServices
Apple’s documentation
kMIDINoCurrentSetupMIDIServices
Apple’s documentation
kMIDINotPermittedMIDIServices
Apple’s documentation
kMIDIObjectNotFoundMIDIServices
Apple’s documentation
kMIDIServerStartErrMIDIServices
Apple’s documentation
kMIDISetupFormatErrMIDIServices
Apple’s documentation
kMIDIThruConnection_MaxEndpointsMIDIThruConnection
Apple’s documentation
kMIDIUnknownEndpointMIDIServices
Apple’s documentation
kMIDIUnknownErrorMIDIServices
Apple’s documentation
kMIDIUnknownPropertyMIDIServices
Apple’s documentation
kMIDIWrongEndpointTypeMIDIServices
Apple’s documentation
kMIDIWrongPropertyTypeMIDIServices
Apple’s documentation
kMIDIWrongThreadMIDIServices
Apple’s documentation

Statics§

MIDICIDeviceObjectKeyMIDICIDeviceManager and objc2-foundation
Value is an MIDIUMPEndpoint.
MIDICIDeviceWasAddedNotificationMIDICIDeviceManager and objc2-foundation
A notification posted when a MIDI-CI Device has been added to the subsystem.
MIDICIDeviceWasRemovedNotificationMIDICIDeviceManager and objc2-foundation
A notification posted when a MIDI-CI Device has been removed or has had its MUID invalidated.
MIDICIProfileObjectKeyMIDICIDeviceManager and objc2-foundation
Value is an MIDIUMPCIProfile
MIDICIProfileWasRemovedNotificationMIDICIDeviceManager and objc2-foundation
A notification posted when a MIDI-CI Device has been removed.
MIDICIProfileWasUpdatedNotificationMIDICIDeviceManager and objc2-foundation
A notification posted when a MIDI-CI Device has been enabled/disabled or updated.
MIDIChannelsWholePortMIDICapabilityInquiry and MIDIMessages
An outdated MIDI-CI constant indicating “the whole port”, i.e. all channels.
MIDINetworkBonjourServiceTypeMIDINetworkSession and objc2-foundation
Apple’s documentation
MIDINetworkNotificationContactsDidChangeMIDINetworkSession and objc2-foundation
Apple’s documentation
MIDINetworkNotificationSessionDidChangeMIDINetworkSession and objc2-foundation
Apple’s documentation
MIDIUMPEndpointObjectKeyMIDIUMPEndpointManager and objc2-foundation
Value is a MIDIUMPEndpoint
MIDIUMPEndpointWasAddedNotificationMIDIUMPEndpointManager and objc2-foundation
A notification posted when a MIDI UMP Endpoint has been added to the subsystem.
MIDIUMPEndpointWasRemovedNotificationMIDIUMPEndpointManager and objc2-foundation
A notification posted when a MIDI UMP Endpoint has been removed from the subsystem.
MIDIUMPEndpointWasUpdatedNotificationMIDIUMPEndpointManager and objc2-foundation
A notification posted when an UMP endpoint updates its stream configuration or changes the state of one of its Function Blocks.
MIDIUMPFunctionBlockObjectKeyMIDIUMPEndpointManager and objc2-foundation
Value is a MIDIUMPFunctionBlock
MIDIUMPFunctionBlockWasUpdatedNotificationMIDIUMPEndpointManager and objc2-foundation
A notification posted when a Function Block is updated.
kMIDI1UPMaxSysexSizeMIDIMessages
Apple’s documentation
kMIDICIPropertyExchangeBadRequestIDMIDIUMPCI
Returned when MIDI-CI Property Messages were not dispatched due to an error.
kMIDIDeviceIDFunctionBlockMIDIMessages
Device ID used for to/from Function Block; also used when Function Blocks are not supported.
kMIDIDeviceIDUMPGroupMIDIMessages
Device ID value used to specify that a message is to/from a UMP group.
kMIDIDriverPropertyUsesSerialMIDIDriver and objc2-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.
kMIDIObjectType_ExternalMaskMIDIServices
Apple’s documentation
kMIDIPropertyAdvanceScheduleTimeMuSecMIDIServices and objc2-core-foundation
device/entity/endpoint property, integer
kMIDIPropertyAssociatedEndpointMIDIServices and objc2-core-foundation
constant kMIDIPropertyAssociatedEndpoint
kMIDIPropertyCanRouteMIDIServices and objc2-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.
kMIDIPropertyConnectionUniqueIDMIDIServices and objc2-core-foundation
device/entity/endpoint property, integer or CFDataRef
kMIDIPropertyDeviceIDMIDIServices and objc2-core-foundation
device/entity property, integer
kMIDIPropertyDisplayNameMIDIServices and objc2-core-foundation
device/entity/endpoint property, string.
kMIDIPropertyDriverDeviceEditorAppMIDIServices and objc2-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.
kMIDIPropertyDriverOwnerMIDIServices and objc2-core-foundation
device/entity/endpoint property, string
kMIDIPropertyDriverVersionMIDIServices and objc2-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.
kMIDIPropertyFactoryPatchNameFileDeprecatedMIDIServices and objc2-core-foundation
device/entity/endpoint property, CFData containing AliasHandle.
kMIDIPropertyImageMIDIServices and objc2-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.
kMIDIPropertyIsBroadcastMIDIServices and objc2-core-foundation
entity/endpoint property, integer
kMIDIPropertyIsDrumMachineMIDIServices and objc2-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).
kMIDIPropertyIsEffectUnitMIDIServices and objc2-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).
kMIDIPropertyIsEmbeddedEntityMIDIServices and objc2-core-foundation
entity/endpoint property, integer
kMIDIPropertyIsMixerMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity mixes external audio signals, controlled by MIDI messages.
kMIDIPropertyIsSamplerMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity plays audio samples in response to MIDI note messages.
kMIDIPropertyManufacturerMIDIServices and objc2-core-foundation
device/endpoint property, string
kMIDIPropertyMaxReceiveChannelsMIDIServices and objc2-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”.
kMIDIPropertyMaxSysExSpeedMIDIServices and objc2-core-foundation
device/entity/endpoint property, integer
kMIDIPropertyMaxTransmitChannelsMIDIServices and objc2-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.
kMIDIPropertyModelMIDIServices and objc2-core-foundation
device/endpoint property, string
kMIDIPropertyNameMIDIServices and objc2-core-foundation
device/entity/endpoint property, string
kMIDIPropertyNameConfigurationDeprecatedMIDIServices and objc2-core-foundation
device/entity/endpoint property, CFDictionary
kMIDIPropertyNameConfigurationDictionaryMIDIServices and objc2-core-foundation
device/entity/endpoint property, CFDictionary
kMIDIPropertyOfflineMIDIServices and objc2-core-foundation
device/entity/endpoint property, integer
kMIDIPropertyPanDisruptsStereoMIDIServices and objc2-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).
kMIDIPropertyPrivateMIDIServices and objc2-core-foundation
device/entity/endpoint property, integer
kMIDIPropertyProtocolIDMIDIServices and objc2-core-foundation
constant kMIDIPropertyProtocolID
kMIDIPropertyReceiveChannelsMIDIServices and objc2-core-foundation
endpoint property, integer
kMIDIPropertyReceivesBankSelectLSBMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI bank select LSB messages (control 32).
kMIDIPropertyReceivesBankSelectMSBMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI bank select MSB messages (control 0).
kMIDIPropertyReceivesClockMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI beat clock messages.
kMIDIPropertyReceivesMTCMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI Time Code messages.
kMIDIPropertyReceivesNotesMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI Note On messages.
kMIDIPropertyReceivesProgramChangesMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity responds to MIDI program change messages.
kMIDIPropertySingleRealtimeEntityMIDIServices and objc2-core-foundation
device property, integer
kMIDIPropertySupportsGeneralMIDIMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity implements the General MIDI specification.
kMIDIPropertySupportsMMCMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity implements the MIDI Machine Control portion of the MIDI specification.
kMIDIPropertySupportsShowControlMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device implements the MIDI Show Control specification.
kMIDIPropertyTransmitChannelsMIDIServices and objc2-core-foundation
endpoint property, integer
kMIDIPropertyTransmitsBankSelectLSBMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI bank select LSB messages (control 32).
kMIDIPropertyTransmitsBankSelectMSBMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI bank select MSB messages (control 0).
kMIDIPropertyTransmitsClockMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI beat clock messages.
kMIDIPropertyTransmitsMTCMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI Time Code messages.
kMIDIPropertyTransmitsNotesMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI note messages.
kMIDIPropertyTransmitsProgramChangesMIDIServices and objc2-core-foundation
device/entity property, integer (0/1). Indicates whether the device or entity transmits MIDI program change messages.
kMIDIPropertyUMPActiveGroupBitmapMIDIServices and objc2-core-foundation
constant kMIDIPropertyUMPActiveGroupBitmap
kMIDIPropertyUMPCanTransmitGrouplessMIDIServices and objc2-core-foundation
constant kMIDIPropertyUMPCanTransmitGroupless
kMIDIPropertyUniqueIDMIDIServices and objc2-core-foundation
devices, entities, endpoints all have unique ID’s, integer
kMIDIPropertyUserPatchNameFileDeprecatedMIDIServices and objc2-core-foundation
device/entity/endpoint property, CFData containing AliasHandle
kMIDIUInteger2MaxMIDIMessages
28 bits usable; allowed values 0x0~0xFFFFFFF;
kMIDIUInteger4MaxMIDIMessages
Apple’s documentation
kMIDIUInteger7MaxMIDIMessages
Apple’s documentation
kMIDIUInteger14MaxMIDIMessages
Apple’s documentation
kMIDIUInteger28MaxMIDIMessages
Apple’s documentation

Traits§

MIDICIProfileResponderDelegateDeprecatedMIDICapabilityInquiry and objc2
Apple’s documentation

Functions§

MIDIBluetoothDriverActivateAllConnectionsMIDIBluetoothConnection
Promotes all active CoreBluetooth connections to peripherals’ Bluetooth LE MIDI service into online MIDI devices capable of I/O.
MIDIBluetoothDriverDisconnectMIDIBluetoothConnection and objc2-core-foundation
Disconnects the Bluetooth MIDI driver from a BLE MIDI peripheral.
MIDIClientCreateMIDIServices and objc2-core-foundation
Creates a MIDIClient object.
MIDIClientCreateWithBlockMIDIServices and block2 and objc2-core-foundation
Creates a MIDIClient object.
MIDIClientDisposeMIDIServices
Disposes a MIDIClient object.
MIDIDestinationCreateDeprecatedMIDIServices and objc2-core-foundation
Creates a virtual destination in a client.
MIDIDestinationCreateWithBlockDeprecatedMIDIServices and block2 and objc2-core-foundation
Creates a virtual destination in a client.
MIDIDestinationCreateWithProtocolMIDIServices and block2 and objc2-core-foundation
Creates a virtual destination in a client.
MIDIDeviceAddEntityDeprecatedMIDIServices and MIDISetup and objc2-core-foundation
Drivers call this function to specify one of the entities that comprise a device.
MIDIDeviceCreateMIDIDriver and MIDIServices and objc2-core-foundation
Drivers call this function to create new MIDIDevice objects corresponding to the hardware that is present.
MIDIDeviceDisposeMIDIDriver and MIDIServices
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.
MIDIDeviceGetEntityMIDIServices
Returns one of a given device’s entities.
MIDIDeviceGetNumberOfEntitiesMIDIServices
Returns the number of entities in a given device.
MIDIDeviceListAddDeviceMIDIDriver and MIDIServices
Add a device to a device list.
MIDIDeviceListDisposeMIDIDriver and MIDIServices
Dispose a device list, but not the contained devices.
MIDIDeviceListGetDeviceMIDIDriver and MIDIServices
Return one of the devices in a device list.
MIDIDeviceListGetNumberOfDevicesMIDIDriver and MIDIServices
Returns the number of devices in a device list.
MIDIDeviceNewEntityMIDIServices and MIDISetup and objc2-core-foundation
Drivers call this function to specify one of the entities that comprise a device.
MIDIDeviceRemoveEntityMIDIServices and MIDISetup
Drivers may call this function to remove one of a device’s entities.
MIDIDriverEnableMonitoringMIDIDriver
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).
MIDIEndpointDisposeMIDIServices
Disposes a virtual source or destination your client created.
MIDIEndpointGetEntityMIDIServices
Returns an endpoint’s entity.
MIDIEndpointGetRefConsMIDIDriver and MIDIServices
Obtain the refCons assigned to the endpoints
MIDIEndpointSetRefConsMIDIDriver and MIDIServices
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.
MIDIEntityAddOrRemoveEndpointsMIDIServices and MIDISetup
Drivers and configuration editors may call this function to add to or remove an entity’s endpoints.
MIDIEntityGetDestinationMIDIServices
Returns one of a given entity’s destinations.
MIDIEntityGetDeviceMIDIServices
Returns an entity’s device.
MIDIEntityGetNumberOfDestinationsMIDIServices
Returns the number of destinations in a given entity.
MIDIEntityGetNumberOfSourcesMIDIServices
Returns the number of sources in a given entity.
MIDIEntityGetSourceMIDIServices
Returns one of a given entity’s sources.
MIDIEventListAddDeprecatedMIDIServices
MIDIEventListForEachEventDeprecatedMIDIMessages and MIDIServices
MIDIEventListInitDeprecatedMIDIServices
MIDIEventPacketSysexBytesForGroupDeprecatedMIDIServices and objc2-core-foundation
MIDIExternalDeviceCreateMIDIServices and MIDISetup and objc2-core-foundation
Create a new external MIDI device.
MIDIFlushOutputMIDIServices
Unschedules previously-sent packets.
MIDIGetDestinationMIDIServices
Returns one of the destinations in the system.
MIDIGetDeviceMIDIServices
Returns one of the devices in the system.
MIDIGetDriverDeviceListMIDIDriver and MIDIServices
Returns the list of devices which are in the current MIDISetup and which were created/owned by the specified driver.
MIDIGetDriverIORunLoopMIDIDriver and objc2-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.
MIDIGetExternalDeviceMIDIServices
Returns one of the external devices in the system.
MIDIGetNumberOfDestinationsMIDIServices
Returns the number of destinations in the system.
MIDIGetNumberOfDevicesMIDIServices
Returns the number of devices in the system.
MIDIGetNumberOfExternalDevicesMIDIServices
Returns the number of external MIDI devices in the system.
MIDIGetNumberOfSourcesMIDIServices
Returns the number of sources in the system.
MIDIGetSerialPortDriversDeprecatedMIDISetup and objc2-core-foundation
Returns a list of installed MIDI drivers for serial port MIDI devices.
MIDIGetSerialPortOwnerDeprecatedMIDISetup and objc2-core-foundation
Returns the MIDI driver that owns a serial port.
MIDIGetSourceMIDIServices
Returns one of the sources in the system.
MIDIInputPortCreateDeprecatedMIDIServices and objc2-core-foundation
Creates an input port through which the client may receive incoming MIDI messages from any MIDI source.
MIDIInputPortCreateWithBlockDeprecatedMIDIServices and block2 and objc2-core-foundation
Creates an input port through which the client may receive incoming MIDI messages from any MIDI source.
MIDIInputPortCreateWithProtocolMIDIServices and block2 and objc2-core-foundation
Creates an input port through which the client may receive incoming MIDI messages from any MIDI source.
MIDIObjectFindByUniqueIDMIDIServices
Locates a device, external device, entity, or endpoint by its uniqueID.
MIDIObjectGetDataPropertyMIDIServices and objc2-core-foundation
Gets an object’s data-type property.
MIDIObjectGetDictionaryPropertyMIDIServices and objc2-core-foundation
Gets an object’s dictionary-type property.
MIDIObjectGetIntegerPropertyMIDIServices and objc2-core-foundation
Gets an object’s integer-type property.
MIDIObjectGetPropertiesMIDIServices and objc2-core-foundation
Gets all of an object’s properties.
MIDIObjectGetStringPropertyMIDIServices and objc2-core-foundation
Gets an object’s string-type property.
MIDIObjectRemovePropertyMIDIServices and objc2-core-foundation
Removes an object’s property.
MIDIObjectSetDataPropertyMIDIServices and objc2-core-foundation
Sets an object’s data-type property.
MIDIObjectSetDictionaryPropertyMIDIServices and objc2-core-foundation
Sets an object’s dictionary-type property.
MIDIObjectSetIntegerPropertyMIDIServices and objc2-core-foundation
Sets an object’s integer-type property.
MIDIObjectSetStringPropertyMIDIServices and objc2-core-foundation
Sets an object’s string-type property.
MIDIOutputPortCreateMIDIServices and objc2-core-foundation
Creates an output port through which the client may send outgoing MIDI messages to any MIDI destination.
MIDIPacketListAddDeprecatedMIDIServices
MIDIPacketListInitDeprecatedMIDIServices
MIDIPortConnectSourceMIDIServices
Establishes a connection from a source to a client’s input port.
MIDIPortDisconnectSourceMIDIServices
Closes a previously-established source-to-input port connection.
MIDIPortDisposeMIDIServices
Disposes a MIDIPort object.
MIDIReceivedDeprecatedMIDIServices
Distributes incoming MIDI from a source to the client input ports which are connected to that source.
MIDIReceivedEventListMIDIServices
Distributes incoming MIDI from a source to the client input ports which are connected to that source.
MIDIRestartMIDIServices
Stops and restarts MIDI I/O.
MIDISendDeprecatedMIDIServices
Sends MIDI to a destination.
MIDISendEventListMIDIServices
Sends MIDI to a destination.
MIDISendSysexMIDIServices
Sends a single system-exclusive event, asynchronously.
MIDISendUMPSysexMIDIServices
Sends a single UMP system-exclusive event, asynchronously.
MIDISendUMPSysex8MIDIServices
Sends single system-exclusive 8-bit event, asynchronously.
MIDISetSerialPortOwnerDeprecatedMIDISetup and objc2-core-foundation
Specifies the MIDI driver that owns a serial port.
MIDISetupAddDeviceMIDIServices and MIDISetup
Adds a driver-owner MIDI device to the current MIDISetup
MIDISetupAddExternalDeviceMIDIServices and MIDISetup
Adds an external MIDI device to the current MIDISetup
MIDISetupCreateDeprecatedMIDIServices and MIDISetup
Interrogates drivers, to discover what hardware is present.
MIDISetupDisposeDeprecatedMIDIServices and MIDISetup
Dispose a MIDISetup object.
MIDISetupFromDataDeprecatedMIDIServices and MIDISetup and objc2-core-foundation
Create a MIDISetup object from an XML stream.
MIDISetupGetCurrentDeprecatedMIDIServices and MIDISetup
Return the system’s current MIDISetup.
MIDISetupInstallDeprecatedMIDIServices and MIDISetup
Install a MIDISetup as the system’s current state.
MIDISetupRemoveDeviceMIDIServices and MIDISetup
Removes a driver-owned MIDI device from the current MIDISetup
MIDISetupRemoveExternalDeviceMIDIServices and MIDISetup
Removes an external MIDI device from the current MIDISetup
MIDISetupToDataDeprecatedMIDIServices and MIDISetup and objc2-core-foundation
Create an XML representation of a MIDISetup object.
MIDISourceCreateDeprecatedMIDIServices and objc2-core-foundation
Creates a virtual source in a client.
MIDISourceCreateWithProtocolMIDIServices and objc2-core-foundation
Creates a virtual source in a client.
MIDIThruConnectionCreateMIDIServices and MIDIThruConnection and objc2-core-foundation
Creates a thru connection.
MIDIThruConnectionDisposeMIDIServices and MIDIThruConnection
Disposes a thru connection.
MIDIThruConnectionFindMIDIThruConnection and objc2-core-foundation
Returns all of the persistent thru connections created by a client.
MIDIThruConnectionGetParamsMIDIServices and MIDIThruConnection and objc2-core-foundation
Obtains a thru connection’s MIDIThruConnectionParams.
MIDIThruConnectionParamsInitializeDeprecatedMIDIServices and MIDIThruConnection
MIDIThruConnectionSetParamsMIDIServices and MIDIThruConnection and objc2-core-foundation
Alters a thru connection’s MIDIThruConnectionParams.

Type Aliases§

MIDICIDeviceIDMIDIMessages
Some MIDI-CI messages use a CI device ID, which is either a UMP group or a reserved 7-bit value
MIDICIDeviceManagerDictionaryKeyMIDICIDeviceManager and objc2-foundation
Apple’s documentation
MIDICIDiscoveryResponseBlockDeprecatedMIDICapabilityInquiry and block2 and objc2 and objc2-foundation
Apple’s documentation
MIDICIInitiatiorMUIDMIDICapabilityInquiry and objc2-foundation
Apple’s documentation
MIDICIMUIDMIDIMessages
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.
MIDICIProfileChangedBlockDeprecatedMIDICapabilityInquiry and MIDIMessages and block2 and objc2
Apple’s documentation
MIDICIProfileSpecificDataBlockDeprecatedMIDICapabilityInquiry and MIDIMessages and block2 and objc2 and objc2-foundation
Apple’s documentation
MIDICIProfileStateListMIDICapabilityInquiry and objc2 and objc2-foundation
Apple’s documentation
MIDICIPropertyExchangeRequestIDMIDIUMPCI
The request ID associated with a Property Exchange request.
MIDICISessionDisconnectBlockDeprecatedMIDICapabilityInquiry and block2 and objc2 and objc2-foundation
Apple’s documentation
MIDIChannelNumberMIDIMessages
MIDI Channel, 0~15 (channels 1 through 16, respectively). Per the MIDI-CI specification, this is always a single nibble, 0x0~0xF.
MIDIClientRefMIDIServices
An object maintaining per-client state.
MIDICompletionProcMIDIServices
A function called when a system-exclusive event has been completely sent.
MIDICompletionProcUMPMIDIServices
A function called when a UMP system-exclusive or system-exclusive 8-bit event has been completely sent.
MIDIDeviceListRefMIDIDriver and MIDIServices
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).
MIDIDeviceRefMIDIServices
A MIDI device or external device, containing entities.
MIDIDriverRefMIDIDriver
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.
MIDIEndpointRefMIDIServices
A MIDI source or destination, owned by an entity.
MIDIEntityRefMIDIServices
A MIDI entity, owned by a device, containing endpoints.
MIDIEventVisitorMIDIMessages and MIDIServices
A callback function which receives a single MIDIUniversalMessage.
MIDIMessage_32MIDIMessages
Apple’s documentation
MIDINotifyBlockMIDIServices and block2
A callback block for notifying clients of state changes.
MIDINotifyProcMIDIServices
A callback function for notifying clients of state changes.
MIDIObjectRefMIDIServices
The base class of many CoreMIDI objects.
MIDIPortRefMIDIServices
A MIDI connection port owned by a client.
MIDIReadBlockDeprecatedMIDIServices and block2
A block receiving MIDI input.
MIDIReadProcDeprecatedMIDIServices
A function receiving MIDI input.
MIDIReceiveBlockMIDIServices and block2
A block receiving MIDI input.
MIDISetupRefMIDIServices and MIDISetup
Derives from MIDIObjectRef, does not have an owner object.
MIDIThruConnectionRefMIDIServices and MIDIThruConnection
An opaque reference to a play-through connection.
MIDITimeStampMIDIServices
A host clock time.
MIDIUInteger2MIDIMessages
MIDI unsigned integer types
MIDIUInteger4MIDIMessages
2 bits usable; allowed values 0x0~0x3
MIDIUInteger7MIDIMessages
4 bits usable; allowed values 0x0~0xF
MIDIUInteger14MIDIMessages
7 bits usable; allowed values 0x0~0x7F
MIDIUInteger28MIDIMessages
14 bits usable; allowed values 0x0~0x3FFF;
MIDIUMPEndpointManagerDictionaryKeyMIDIUMPEndpointManager and objc2-foundation
Apple’s documentation
MIDIUMPFunctionBlockIDMIDIMessages and MIDIUMPCI
The device-unique Function Block ID.
MIDIUMPGroupNumberMIDIMessages
Type for all UMP Groups
MIDIUniqueIDMIDIServices
A unique identifier for a MIDIObjectRef.

Unions§

MIDICIProfileIDMIDIMessages and MIDIUMPCI
A C-style struct containing the profile ID.