<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDISendEventList(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:@F@MIDISendEventList"
  },
  "title" : "MIDISendEventList(_:_:_:)"
}
-->

# MIDISendEventList(_:_:_:)

Sends MIDI events to a destination.

```
func MIDISendEventList(_ port: MIDIPortRef, _ dest: MIDIEndpointRef, _ evtlist: UnsafePointer<MIDIEventList>) -> OSStatus
```

## Parameters

`port`

The output port through which to send MIDI events.

`dest`

The destination to receive the events.

`evtlist`

The MIDI events to send.

## Return Value

An `OSStatus` result code.

## Discussion

The system schedules events with future timestamps for future delivery. It performs any needed MIDI merging.

---

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)