<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/MIDINoteMessage/init(channel:note:velocity:releaseVelocity:duration:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "s:So15MIDINoteMessageV7channel4note8velocity15releaseVelocity8durationABs5UInt8V_A3ISftcfc"
  },
  "title" : "init(channel:note:velocity:releaseVelocity:duration:)"
}
-->

# init(channel:note:velocity:releaseVelocity:duration:)

```
init(channel: UInt8, note: UInt8, velocity: UInt8, releaseVelocity: UInt8, duration: Float32)
```

---

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)