<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/MusicTrack",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@T@MusicTrack"
  },
  "title" : "MusicTrack"
}
-->

# MusicTrack

A music track consists of a series of music events, each timestamped using units of beats.

```
typealias MusicTrack = OpaquePointer
```

## Discussion

A music track (of type `MusicTrack`) has properties which may be inspected and assigned, including support for looping, muting/soloing, and time-stamp interpretation. You can iterate through the events in a music track, and can perform various editing operations on them.

A music track is a component of a music sequence (of type [`MusicSequence`](/documentation/AudioToolbox/MusicSequence)), which in turn is played by a music player (of type [`MusicPlayer`](/documentation/AudioToolbox/MusicPlayer)).

---

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)