---
title: "init(channel:enabledProfiles:disabledProfiles:)"
framework: coremidi
role: symbol
role_heading: Initializer
path: "coremidi/midiciprofilestate/init(channel:enabledprofiles:disabledprofiles:)"
---

# init(channel:enabledProfiles:disabledProfiles:)

Creates a new profile state object for the specified MIDI channel and profiles.

## Declaration

```swift
init(channel midiChannelNum: MIDIChannelNumber, enabledProfiles enabled: [MIDICIProfile], disabledProfiles disabled: [MIDICIProfile])
```

## Parameters

- `midiChannelNum`: The MIDI channel.
- `enabled`: The enabled MIDI-CI profles.
- `disabled`: The disabled MIDI-CI profles.

## See Also

### Creating a Profile State

- [init(enabledProfiles:disabledProfiles:)](coremidi/midiciprofilestate/init(enabledprofiles:disabledprofiles:).md)
