---
title: AVMusicTimeStampEndOfTrack
framework: avfaudio
role: symbol
role_heading: Global Variable
path: avfaudio/avmusictimestampendoftrack
---

# AVMusicTimeStampEndOfTrack

A timestamp you use to access all events in a music track through a beat range.

## Declaration

```swift
var AVMusicTimeStampEndOfTrack: Double { get }
```

## Discussion

Discussion Pass this value as the length of an AVBeatRange to indicate an end time beyond the last event in the track. This makes it possible to specify a beat range that includes all events starting at a particular time, up to and including the last event.

## See Also

### Handling Beat Range

- [beats(forHostTime:error:)](avfaudio/avaudiosequencer/beats(forhosttime:error:).md)
- [beats(forSeconds:)](avfaudio/avaudiosequencer/beats(forseconds:).md)
- [AVBeatRange](avfaudio/avbeatrange-swift.typealias.md)
