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

# MIDITransform

The transformation of a single type of MIDI event.

```
struct MIDITransform
```

## Topics

### Configuring a Transform

[`param`](/documentation/CoreMIDI/MIDITransform/param)

An argument to the transformation method (see description of MIDITransformType).

[`transform`](/documentation/CoreMIDI/MIDITransform/transform)

The type of transformation to apply to the event values.

### Initializers

[`init()`](/documentation/CoreMIDI/MIDITransform/init())

[`init(transform:param:)`](/documentation/CoreMIDI/MIDITransform/init(transform:param:))

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

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)