---
title: AVMIDIPolyPressureEvent
framework: avfaudio
role: symbol
role_heading: Class
path: avfaudio/avmidipolypressureevent
---

# AVMIDIPolyPressureEvent

An object that represents a MIDI poly or key pressure event.

## Declaration

```swift
class AVMIDIPolyPressureEvent
```

## Topics

### Creating a Poly Pressure Event

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

### Configuring a Poly Pressure Event

- [key](avfaudio/avmidipolypressureevent/key.md)
- [pressure](avfaudio/avmidipolypressureevent/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)
- [AVMIDIChannelPressureEvent](avfaudio/avmidichannelpressureevent.md)
- [AVMIDIProgramChangeEvent](avfaudio/avmidiprogramchangeevent.md)
- [AVMIDIPitchBendEvent](avfaudio/avmidipitchbendevent.md)
- [AVMIDIControlChangeEvent](avfaudio/avmidicontrolchangeevent.md)
