---
title: AVMIDIChannelEvent
framework: avfaudio
role: symbol
role_heading: Class
path: avfaudio/avmidichannelevent
---

# AVMIDIChannelEvent

A base class for all MIDI messages that operate on a single MIDI channel.

## Declaration

```swift
class AVMIDIChannelEvent
```

## Topics

### Configuring a Channel Event

- [channel](avfaudio/avmidichannelevent/channel.md)

## Relationships

### Inherits From

- [AVMusicEvent](avfaudio/avmusicevent.md)

### Inherited By

- [AVMIDIChannelPressureEvent](avfaudio/avmidichannelpressureevent.md)
- [AVMIDIControlChangeEvent](avfaudio/avmidicontrolchangeevent.md)
- [AVMIDIPitchBendEvent](avfaudio/avmidipitchbendevent.md)
- [AVMIDIPolyPressureEvent](avfaudio/avmidipolypressureevent.md)
- [AVMIDIProgramChangeEvent](avfaudio/avmidiprogramchangeevent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Handling MIDI Channel Events

- [AVMIDIChannelPressureEvent](avfaudio/avmidichannelpressureevent.md)
- [AVMIDIProgramChangeEvent](avfaudio/avmidiprogramchangeevent.md)
- [AVMIDIPolyPressureEvent](avfaudio/avmidipolypressureevent.md)
- [AVMIDIPitchBendEvent](avfaudio/avmidipitchbendevent.md)
- [AVMIDIControlChangeEvent](avfaudio/avmidicontrolchangeevent.md)
