<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVMusicEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMusicEvent"
  },
  "title" : "AVMusicEvent"
}
-->

# AVMusicEvent

A base class for the events you associate with a music track.

```
class AVMusicEvent
```

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherited By

[`AVMIDIMetaEvent`](/documentation/AVFAudio/AVMIDIMetaEvent)

[`AVExtendedNoteOnEvent`](/documentation/AVFAudio/AVExtendedNoteOnEvent)

[`AVExtendedTempoEvent`](/documentation/AVFAudio/AVExtendedTempoEvent)

[`AVMusicUserEvent`](/documentation/AVFAudio/AVMusicUserEvent)

[`AVParameterEvent`](/documentation/AVFAudio/AVParameterEvent)

[`AVAUPresetEvent`](/documentation/AVFAudio/AVAUPresetEvent)

[`AVMIDINoteEvent`](/documentation/AVFAudio/AVMIDINoteEvent)

[`AVMIDIChannelEvent`](/documentation/AVFAudio/AVMIDIChannelEvent)

[`AVMIDISysexEvent`](/documentation/AVFAudio/AVMIDISysexEvent)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)