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

# MIDIPacketList

A list of MIDI events the system sends to or receives from an endpoint.

```
struct MIDIPacketList
```

## Topics

### Inspecting a Packet List

[`numPackets`](/documentation/CoreMIDI/MIDIPacketList/numPackets)

The number of MIDI packets in the list.

[`packet`](/documentation/CoreMIDI/MIDIPacketList/packet)

An open-ended array of variable-length MIDI packets.



---

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)