<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDIEndpointRef",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:@T@MIDIEndpointRef"
  },
  "title" : "MIDIEndpointRef"
}
-->

# MIDIEndpointRef

A MIDI source or destination an entity owns.

```
typealias MIDIEndpointRef = MIDIObjectRef
```

## Discussion

An endpoint object derives from [`MIDIObjectRef`](/documentation/CoreMIDI/MIDIObjectRef). It’s owned by a [`MIDIEntityRef`](/documentation/CoreMIDI/MIDIEntityRef), unless it’s a virtual endpoint, in which case it has no owner. An entity may have any number of MIDI endpoints, which contain sources and destinations of 16-channel MIDI streams.

---

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