---
title: AVMIDIChannelPressureEvent
framework: avfaudio
role: symbol
role_heading: Class
path: avfaudio/avmidichannelpressureevent
---

# AVMIDIChannelPressureEvent

An object that represents a MIDI channel pressure message.

## Declaration

```swift
class AVMIDIChannelPressureEvent
```

## Overview

Overview The effect of this message depends on the AVMusicTrack destination audio unit, and the capabilities of the destination’s loaded instrument.

## Topics

### Creating a Pressure Event

- [init(channel:pressure:)](avfaudio/avmidichannelpressureevent/init(channel:pressure:).md)

### Configuring a Pressure Event

- [pressure](avfaudio/avmidichannelpressureevent/pressure.md)

## Relationships

### Inherits From

- [AVMIDIChannelEvent](avfaudio/avmidichannelevent.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

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