---
title: channel
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avmidinoteevent/channel
---

# channel

The MIDI channel.

## Declaration

```swift
var channel: UInt32 { get set }
```

## See Also

### Configuring a MIDI Note Event

- [key](avfaudio/avmidinoteevent/key.md)
- [velocity](avfaudio/avmidinoteevent/velocity.md)
- [duration](avfaudio/avmidinoteevent/duration.md)
