<!--
{
  "availability" : [
    "iOS: 12.0.0 - 18.0.0",
    "iPadOS: 12.0.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.14.0 - 15.0.0",
    "visionOS: 1.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDICISession/enable(_:onChannel:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:objc(cs)MIDICISession(im)enableProfile:onChannel:error:"
  },
  "title" : "enable(_:onChannel:)"
}
-->

# enable(_:onChannel:)

Performs an asynchronous request to enable a profile for a specific MIDI channel number.

```
func enable(_ profile: MIDICIProfile, onChannel channel: MIDIChannelNumber) throws
```

## Parameters

`profile`

The profile to enable.

`channel`

The MIDI channel number.

---

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)