---
title: timeResolution
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avmusictrack/timeresolution
---

# timeResolution

The time resolution value for the sequence, in ticks (pulses) per quarter note.

## Declaration

```swift
var timeResolution: Int { get }
```

## Discussion

Discussion If you use a MIDI file to construct the containing sequence, the resolution is the contents of the file. If you want to keep a time resolution when writing a new file, retrieve this value and then specify it when writing to an audio sequencer. It doesn’t affect the rendering or notion of time of the sequence — only it’s MIDI file representation. By default, the framework sets this value to 480 when creating the sequence manually, or to a value from a MIDI file if you use it to create the sequence. You can only retrieve this value from the tempo track.

## See Also

### Configuring Music Track Properties

- [isMuted](avfaudio/avmusictrack/ismuted.md)
- [isSoloed](avfaudio/avmusictrack/issoloed.md)
- [offsetTime](avfaudio/avmusictrack/offsettime.md)
- [usesAutomatedParameters](avfaudio/avmusictrack/usesautomatedparameters.md)
